Tim, I know. <br><br>I just want to add it automatically from my plugin, with Java, in a independent way that is not affected by future changes in the WMS plugin. <br><br>Is it your plugin? Sorry, I looked at svn history and saw Frederik was the only editor. Then, should I ask the plugin modifications to you?
<br><br>Regards,<br>Quico<br><br><div><span class="gmail_quote">On 3/12/07, <b class="gmail_sendername">tim (chippy)</b> <<a href="mailto:chippy2005@gmail.com">chippy2005@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Francisco,<br><br>You should be able to add in a new WMS server using the WMS<br>preferences tab in the latest wmsplugin plugin, which Frederik did a<br>lot of excellent work on.<br><a href="http://chippy2005.googlepages.com/wmsplugin.jar">
http://chippy2005.googlepages.com/wmsplugin.jar</a><br><br>using a similar format:<br><a href="http://onearth.jpl.nasa.gov/wms.cgi?request=GetMap">http://onearth.jpl.nasa.gov/wms.cgi?request=GetMap</a><br>&layers=global_mosaic&styles=&srs=EPSG:4326&format=image/png
<br><br>New servers added via the prefs appear as menu items under the WMS<br>menu, and are saved for later use.<br><br>some more info:<br><a href="http://thinkwhere.wordpress.com/2007/02/15/wmsplugin-josm-plugin-updated/">
http://thinkwhere.wordpress.com/2007/02/15/wmsplugin-josm-plugin-updated/</a><br><br>tim.<br><br>On 3/12/07, Francisco R. Santos <<a href="mailto:frsantos@gmail.com">frsantos@gmail.com</a>> wrote:<br>> Hi all,<br>
><br>> I discovered that Firefox has a feature to make a dump of the just recently<br>> loaded page to a PPM image file. So, I ported the Yahoo WMS server that<br>> Frederik made a couple of months ago as a java plugin for JOSM. You can find
<br>> a preliminary but working version at [1].<br>><br>> Installation:<br>> 1.- Download and install as any other JOSM plugin<br>> 2.- In the preferences, in the Yahoo tab, set the firefox path, the name of
<br>> a profile to use and the port the server will listen. Just click on "create"<br>> to create and configure this profile (a browser page will explain the<br>> changes made to the profile).<br>> 3.- Add a server to the WMS plugin with a similar URL to this:
<br>> <a href="http://localhost:8000/ymap?request=GetMap">http://localhost:8000/ymap?request=GetMap</a><br>> 4.- Enjoy<br>><br>> The creation of a new profile is needed as firefox requires some<br>> configuration parameters, the same way the perl script did, and it is best
<br>> to create a new profile instead of messing with the default one.<br>><br>> Any comments about bugs or features are appreciated.<br>><br>><br>><br>> Frederik: I would want to automagically configure the WMS plugin to add a
<br>> Yahoo WMS server. Could you add some methods to your plugin for this? One<br>> method to create/modify a new WMS server (will call it at plugin startup),<br>> and other to update the preferences gui (will call it when the user changes
<br>> the server port in the preferences dialog). Methods should not depend on<br>> wmsplugin classes, because I want to invoke them as  PluginProxy does, with<br>> reflection.<br>><br>> Nick: may  I have a SVN account to check in the code, please?
<br>><br>><br>> Regards,<br>> Quico<br>><br>> [1]: <a href="http://personales.ya.com/frsantos/ywms.jar">http://personales.ya.com/frsantos/ywms.jar</a><br>><br>> _______________________________________________
<br>> dev mailing list<br>> <a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>> <a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
</a><br>><br>><br></blockquote></div><br>