Re: [josm-dev] WMSPlugin Update

2010-09-02 Thread Iván Sánchez Ortega
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

Re: [josm-dev] WMSPlugin Update

2010-09-02 Thread Ian Dees
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]

Re: [josm-dev] WMSPlugin Update

2010-09-02 Thread Petr Dlouhý
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

Re: [josm-dev] WMSPlugin Update

2010-09-02 Thread Dirk Stöcker
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

Re: [josm-dev] WMSPlugin Update

2010-09-02 Thread Jean-Guilhem Cailton
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 :

Re: [josm-dev] WMSPlugin Update

2010-09-02 Thread Ian Dees
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,

Re: [josm-dev] WMSPlugin Update

2010-09-02 Thread Ian Dees
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

Re: [josm-dev] WMSPlugin Update

2010-09-01 Thread Iván Sánchez Ortega
El día Wednesday 01 September 2010 06:32:22, Ian Dees dijo: I've made some changes to the wmsplugin so that discovering available layers at a particular WMS URL is a lot easier. So it can query GetCapabilities at last? Hooray! I'm eager to try that out :-) -- Iván Sánchez Ortega

Re: [josm-dev] WMSPlugin Update

2010-09-01 Thread Ian Dees
On Wed, Sep 1, 2010 at 10:13 AM, Dirk Stöcker openstreet...@dstoecker.dewrote: On Wed, 1 Sep 2010, Iván Sánchez Ortega wrote: El día Wednesday 01 September 2010 06:32:22, Ian Dees dijo: I've made some changes to the wmsplugin so that discovering available layers at a particular WMS URL is

Re: [josm-dev] WMSPlugin Update

2010-09-01 Thread Dirk Stöcker
On Wed, 1 Sep 2010, Ian Dees wrote: My update does check the available CRS from GetCapabilities for each layer and will flag a layer as unusable if it doesn't match the current projection set in JOSM's preferences. I like your idea better, though: prompt the user to change the projection so

Re: [josm-dev] WMSPlugin Update

2010-09-01 Thread Dirk Stöcker
On Tue, 31 Aug 2010, Ian Dees wrote: 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? Depending on the degree

Re: [josm-dev] WMSPlugin Update

2010-09-01 Thread Iván Sánchez Ortega
El día Wednesday 01 September 2010 17:20:53, Ian Dees dijo: My update does check the available CRS from GetCapabilities for each layer and will flag a layer as unusable if it doesn't match the current projection set in JOSM's preferences. Wait a second there. So what if I query a epsg:4326

Re: [josm-dev] WMSPlugin Update

2010-09-01 Thread Ian Dees
2010/9/1 Iván Sánchez Ortega i...@sanchezortega.es El día Wednesday 01 September 2010 17:20:53, Ian Dees dijo: My update does check the available CRS from GetCapabilities for each layer and will flag a layer as unusable if it doesn't match the current projection set in JOSM's preferences.

Re: [josm-dev] WMSPlugin Update

2010-09-01 Thread Dirk Stöcker
On Wed, 1 Sep 2010, Ian Dees wrote: Unless the plugin is stretching or reprojecting the image locally somehow, the WMS plugin will have to send the GetMap WMS request with an SRS set to whatever the projection is in JOSM (which causes the server to send back an image in the right projection).

Re: [josm-dev] WMSPlugin Update

2010-09-01 Thread Iván Sánchez Ortega
El día Wednesday 01 September 2010 18:25:51, Dirk Stöcker dijo: No it uses EPSG:4326 when Mercator is selected. The distortion resulting from that is very low due to the tile mechanism and working at high zoom levels. This silently assume Mercator is EPSG:4326 should also exist in the future

Re: [josm-dev] WMSPlugin Update

2010-09-01 Thread Ian Dees
2010/9/1 Iván Sánchez Ortega i...@sanchezortega.es El día Wednesday 01 September 2010 18:25:51, Dirk Stöcker dijo: No it uses EPSG:4326 when Mercator is selected. The distortion resulting from that is very low due to the tile mechanism and working at high zoom levels. This silently

Re: [josm-dev] WMSPlugin Update

2010-09-01 Thread Ian Dees
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: Hi list, I've made some changes to the wmsplugin so that discovering available layers at a particular WMS