From OpenStreetMap Wiki
Jump to navigation Jump to search


This is a trial of an alternative method for getting the image from firefox to josm in OS X:

  • Use the slightly modified plugin which is currently at:

  • Install into your firefox profile used for YWMS the firefox plugin (which is a very hacked down Screengrab!):

Try to use the YWMS plugin as normal - a firefox window should open and load up the yahoo! map.

There should be an globe icon at the bottom right of the window. Click on this to "SaveAsPng"

Save the file somewhere (without any spaces in the filename)

The plugin should detect this file being saved and automatically load up the image and close firefox.

Callum 15:39, 30 August 2007 (BST)

I tried for a while to run the Plugin through the installed in /Applications/ with little luck, the plugin required that Firefox wasn't running and it happened that the plugin failed to shut down the application after usage, resulting in next usage to return an error with "Firefox can only run once". It also quit firefox without warnings, so if I managed to open it (without the warning about running once) while browsing other pages, firefox could suddenly terminate. After changing to the firefox installation under ports the problem was solved, mainly because firefox in ports is only used by YWMS while I use the application installation for my daily browsing. --Skippern 21:03, 23 September 2008 (UTC)

Opera browser

Anyone tested other browsers? I tried it to get it work with Opera both on linux and XP but no success. Why firefox? I don't use firefox... -- User:Katpatuka 05:13, 26 November 2007

The plugin somehow uses firefox with a separate profile, and takes control of it in a weird way which I've never seen before, while it opens the images and snapshots a single image into JOSM. I imagine you'll struggle to make another browser do the same thing.
But would it be possible create a plugin which calls the Yahoo API directly within JOSM? That would make for a faster smoother experience as well as not requiring any browser. Some room for improvement.
...although it's reasonably nifty the way it works at the moment. Definately worth installing firefox just to use this plugin I would say.
-- Harry Wood 10:07, 26 November 2007 (UTC)


I tried this in Windows and got the same thing, so now I'm trying on Ubuntu Linux with FX3b3. Everything works fine for me up until the open window with the Yahoo! imagery. At that point, the plugin stops - it doesn't close firefox, and no image is loaded in JOSM. If I close FX manually, I get the "Server returned response code 500" error. Any ideas? Alexrudd 22:27, 17 February 2008 (UTC)

I have the same problem with Firefox 3 in Ubuntu Hardy. --Colin Marquardt 12:01, 1 March 2008 (UTC)
Aha! I just tried Firefox 2 and it worked fine. Apparently something has changed in the new version which breaks this plugin. I've had to install FX2 alongside 3 and use it. Alexrudd 03:26, 22 March 2008 (UTC)

Spaces in firefox location

Setting the filename of firefox can be a bit fiddly in MacOS, since it contains spaces -- escaping the space in the configuration dialog, and putting the whole path in quotes didn't seem to help -- had to make a symlink to it without any spaces in... Ojw 18:21, 13 April 2008 (UTC)


Here is a script to use gnome-web-photo instead of firefox:

gnome-web-photo --format ppm --mode photo $3 $tmp
convert $tmp -trim $tmp
pnmdepth 255 $tmp > $out
size=`identify $out`
size=`echo $size | cut -d ' ' -f 3`
width=`echo $size | cut -d 'x' -f 1`
height=`echo $size | cut -d 'x' -f 2`
echo "new_width=$width"
echo "new_height=$height"
rm $tmp

It still uses the javascript api (and in fact even the same rendering engine as firefox), so there should be no legal problems.

new plugin

I require a new plugin, or a separate WMS service, as my work computer is blocking local scripts to run in web browsers, blocking "not approved" applications from opening ports, and other stuff that prevents YWMS from working on my work computer. For 5 weeks at a time I am unable to access my personal computer on the internet, which effectively means I have to run JOSM on my work computer to have anything done. The opposite 5 week periods (where my personal computer can access internet) I don't have time to work with Yahoo! Areal or or other WMS data. I am running out of Landsat data to use in my area, I need better resolution. --Skippern 13:51, 2 December 2008 (UTC)

YWMS is not available on the site

This plugins is no longer available on the site. Somebody knows a place to download it. The news plugins generate an exception error on my computer. I have a red background in place of the yahoo map. The old version works properly.