On Wed, Sep 1, 2010 at 10:13 AM, Dirk Stöcker <[email protected]>wrote:
> 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 a lot easier. >>> >> >> So it can query GetCapabilities at last? Hooray! >> >> I'm eager to try that out :-) >> > > In that case the last missing point would be to have WMS plugin also parse > the projection and set (ask user) the JOSM projection accordingly. The > projection classes already support the "tell me if you know EPSG:xxx" > question, but it is not yet used. 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 that it matches the projection of the selected layer(s). Right now it would only support switching to 4326 I suppose, but in the future it could switch to other JOSM-supported projections. Is there a preferred method to call to set projection (so that the GUI is updated after the change)? _______________________________________________ josm-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/josm-dev

