Hi
Installing Scanaerial was a little bit tricky.
My configuration:
- Vista 32bit
- JOSM v3966
- Java 1.6.0_24
- Download and install Python 2.7 for Win32
- Download and install Ext_tool v25338
- Download scanaerial 1.0.1 and unzip to
C:\Users\User\AppData\Roaming\JOSM\plugins\scanaerial
- Run library_check.py from the command-line: ERRORs
- Installed Python Imaging Library 1.1.7 for Python 2.7 (Windows only)
- Installed pyproj 1.8.9 windows 32 bit for python 2.7
- Run library_check.py from the command-line: All fine
- Added command to Ext_tool:
C:\Users\User\AppData\Roaming\JOSM\plugins\scanaerial\scanaerial.py
{lat} {lon} {TZoom}
- Restart JOSM
When starting scanaerial I got the error:
---***---
C:\Users\User\AppData\Roaming\JOSM\plugins\scanaerial\scanaerial.py
35.310935780207984 -95.40269740494725 12.44126501880566
Cannot run program
"C:\Users\User\AppData\Roaming\JOSM\plugins\scanaerial\scanaerial.py"
(in directory "C:\Users\User\AppData\Roaming\JOSM\plugins\ext_tools"):
CreateProcess error=193, %1 ist keine zulässige Win32-Anwendung
[Ljava.lang.StackTraceElement;@1c058d6
---***---
([translation:] ... %1 is not a valid Win32-Application)
Quite the same in the command-window:
---***---
C:\Users\User\AppData\Roaming\JOSM\plugins\scanaerial\scanaerial.py
35.310935780207984 -95.40269740494725 12.44126501880566
java.io.IOException: Cannot run program
"C:\Users\User\AppData\Roaming\JOSM\plugins\scanaerial\scanaerial.py"
(in directory "C:\Users\User\AppData\Roaming\JOSM\plugins\ext_tools"):
CreateProcess error
=193, %1 ist keine zulõssige Win32-Anwendung
at java.lang.ProcessBuilder.start(Unknown Source)
...
---***---
When I enter the command directly at the command prompt it works perfect.
It looks like Ext_tool is unable to launch the Python-Script. After I
added the python.exe to the command it worked! :)
So for Windows you have to add Python to the Command in Ext_tool:
C:\Python27\python.exe
C:\Users\User\AppData\Roaming\JOSM\plugins\scanaerial\scanaerial.py
{lat} {lon} {TZoom}
As the documentation in the wiki is not very detailed, you might want to
add the above as a guide for Windows-Users.
Thanks for your help!
Am 12.04.2011 22:21, schrieb Komяpa:
>> Can anybody confirm, that Lakewalker is working? How does your URL look
>> like?
>
> Lakewalker is working; it's just NASA stopped providing their WMS
> service - there's only tiled access method to Landast now.
>
> Anyway, Lakewalker's method of tracing imagery is ugly (no
> multipolygon support, quite usually it goes to endless loops..) and
> works only for grayscale WMSes. Please try using something more mature
> like http://wiki.openstreetmap.org/wiki/Scanaerial instead.
>
___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev