Re: [josm-dev] WMSPlugin Update
Hi, this looks nice. I have some problems/feature requests: 1) There should be configure button for yet-added WMS services. 2) It doesn't allow me to select layers saying it does not support any of JOSMs projection (tested on http://geoportal2.uhul.cz/cgi-bin/oprl.asp? and http://wms.cuzk.cz/wms.asp?) 3) It has problems with encoding (in case of http://geoportal2.uhul.cz/cgi-bin/oprl.asp?). On Thu, 02 Sep 2010 05:32:25 +0200, Ian Dees ian.d...@gmail.com wrote: I checked in the changes a few minutes ago and released the plugin to dist. Let me know if anyone has any problems. On Tue, Aug 31, 2010 at 11:26 PM, Ian Dees ian.d...@gmail.com wrote: ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev -- Petr Dlouhý ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev
Re: [josm-dev] WMSPlugin Update
On Wed, 1 Sep 2010, Ian Dees wrote: I checked in the changes a few minutes ago and released the plugin to dist. Let me know if anyone has any problems. Your supported projections check is to easy. The projections containing preferences have much more projections. For these projections you need to call getPreferencesFromCode() and when this succeeds, then that code is supported. For the others toCode() is correct. Ciao -- http://www.dstoecker.eu/ (PGP key available) ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev
Re: [josm-dev] WMSPlugin Update
Hi, 1) How could a MapServer-style WMS URL that includes a map=... parameter be specified ? Like, for an example from http://wiki.openstreetmap.org/wiki/WikiProject_Haiti/Imagery_and_data_sources : http://maps.nypl.org/mapserv?map=/var/lib/maps/src/relief/haiti.maplayers=geoeyeSERVICE=WMSVERSION=1.1.1REQUEST=GetMapLAYERS=geoeyeSTYLES=EXCEPTIONS=application%2Fvnd.ogc.se_inimageFORMAT=image/jpegSRS=EPSG:4326; where http://maps.nypl.org/mapserv?map=/var/lib/maps/src/relief/haiti.map; has a role equivalent to http://sample.com/wms?; 2) If I try http://onearth.jpl.nasa.gov/wms.cgi?, I get That layer does not support any of JOSMs projections, so you can not use it. This message will not show again, whether JOSM is in epsg:4326 or Mercator epsg:3857. (Usually, for me, Landsat wms was working transparently in both projections, which is nice). This is with version 22937 of wmsplugin, which I get after updating to josm-latest and updating the plugins twice. Thanks, Jean-Guilhem Le 02/09/2010 05:32, Ian Dees a écrit : I checked in the changes a few minutes ago and released the plugin to dist. Let me know if anyone has any problems. On Tue, Aug 31, 2010 at 11:26 PM, Ian Deesian.d...@gmail.com wrote: Hi list, I've made some changes to the wmsplugin so that discovering available layers at a particular WMS URL is a lot easier. What's the best way to have people test this and then get it published so that an update gets pushed out to users? Thanks! Ian ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev
Re: [josm-dev] WMSPlugin Update
Both of these issues should be fixed now. For (1), I removed most of the validity checks for the URL. For (2), I fixed the projection checks to match what Dirk suggested. Let me know if you find anything else. On Thu, Sep 2, 2010 at 5:34 AM, Jean-Guilhem Cailton j...@arkemie.comwrote: Hi, 1) How could a MapServer-style WMS URL that includes a map=... parameter be specified ? Like, for an example from http://wiki.openstreetmap.org/wiki/WikiProject_Haiti/Imagery_and_data_sources: http://maps.nypl.org/mapserv?map=/var/lib/maps/src/relief/haiti.maplayers=geoeyeSERVICE=WMSVERSION=1.1.1REQUEST=GetMapLAYERS=geoeyeSTYLES=EXCEPTIONS=application%2Fvnd.ogc.se_inimageFORMAT=image/jpegSRS=EPSG:4326; where http://maps.nypl.org/mapserv?map=/var/lib/maps/src/relief/haiti.map; has a role equivalent to http://sample.com/wms?; 2) If I try http://onearth.jpl.nasa.gov/wms.cgi?, I get That layer does not support any of JOSMs projections, so you can not use it. This message will not show again, whether JOSM is in epsg:4326 or Mercator epsg:3857. (Usually, for me, Landsat wms was working transparently in both projections, which is nice). This is with version 22937 of wmsplugin, which I get after updating to josm-latest and updating the plugins twice. Thanks, Jean-Guilhem Le 02/09/2010 05:32, Ian Dees a écrit : I checked in the changes a few minutes ago and released the plugin to dist. Let me know if anyone has any problems. On Tue, Aug 31, 2010 at 11:26 PM, Ian Deesian.d...@gmail.com wrote: Hi list, I've made some changes to the wmsplugin so that discovering available layers at a particular WMS URL is a lot easier. What's the best way to have people test this and then get it published so that an update gets pushed out to users? Thanks! Ian ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev
Re: [josm-dev] WMSPlugin Update
2010/9/2 Ian Dees ian.d...@gmail.com 2010/9/2 Iván Sánchez Ortega i...@sanchezortega.es El día Thursday 02 September 2010 05:32:25, Ian Dees dijo: Let me know if anyone has any problems. Hhhhmmm. It fails for http://orto.wms.itacyl.es/WMS? (a orthoimage WMS we can use to trace on top of). Console output says [Fatal Error] capabilities_1_1_1.dtd:1:58: No more pseudo attributes are allowed.. And the GetCapabilities document seems allright to me: http://orto.wms.itacyl.es/WMS?request=GetCapabilities Yikes, that's some crazy-looking XML they give back. I've never seen a DOCTYPE specified like that. I imagine the XML parser is trying to do something with that and failing. I'll have to debug a bit when I get back in front of the code. I just pushed a new version of the plugin that should solve most of these problems. Can you try your URLs again after updating? ___ josm-dev mailing list josm-dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/josm-dev