[OSM-newbies] newbie to JOSM
Ramey
zephyr at cryptotrope.com
Mon Jul 5 20:14:51 BST 2010
> Once in a very rare while I can get partial Landsat imagery to download and display, which leads me to believe I actually have figured out the webkit-image and path steps in the installation instructions (I am not very Terminal/Unix savvy), but I have never gotten the Yahoo imagery to display.
Hi,
Note that not all the WMS plugin imagery uses webkit-image, only the imagery with URLs that start with html:http, and Landsat isn't one of those.
I had this problem a couple months ago.[1] It turns out that MacOS X doesn't behave as you'd expect. The options are: install webkit-image in the default system path [2], install it elsewhere, and modify the default system path [3], or install it elsewhere and change your path.
I've chosen the last option. To do this you need to create the directory .MacOSX in your home directory, and in it create the file environment.plist. OSX will ignore any other profile files when trying to find webkit-image, so .profile or .bash_profile won't be consulted.
In the body of the environment.plist file have:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PATH</key>
<string>/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/me/bin</string>
</dict>
</plist>
assuming that /Users/me/bin is what you want to add to your path and you have X11 installed. Thanks to Dieter Muecke for pointing this out. You can find a little more information about it from Apple's "Command-Line Administration" guide.[4]
If you have any more problems, just ask.
Ramey
[1] http://lists.openstreetmap.org/pipermail/josm-dev/2010-April/004341.html (discussion continued the following month)
[2] default system path => /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin (if you have X11 installed, :/usr/X11/bin would be appended on the end)
[3] either add a line to /etc/paths or add a file with the additional path in /etc/paths.d
[4] http://images.apple.com/br/server/macosx/docs/Command_Line_Admin_v10.5.pdf
More information about the newbies
mailing list