Modify

Opened 16 years ago

Closed 16 years ago

#2050 closed defect (fixed)

ewms plugin does not take JOSM projection setting into account

Reported by: jaak@… Owned by: framm
Priority: major Milestone:
Component: Plugin Version: latest
Keywords: Cc:

Description

See longer description at http://wiki.openstreetmap.org/wiki/Talk:JOSM/Plugins/ewmsplugin#Other_projections

I see two technical issues here:

  1. (any proper) WMS getMap request should include projection parameter, this is missing here. E.g. with Estonian Lambert should be "SRS=EPSG%3A3301", with default longitude-latitude should be SRS=EPSG:4326 etc
  2. The request should be in same projection what is defined in JOSM properties. Currently it always sends longitude-latitude (expecting EPSG:4326).

There is one important special case: if JOSM uses Mercator, then some WMS servers actually accept also EPSG:4326 requests, and WMS server can do automatic simple affine transformation based on BBOX coordinates (actually just stretching in Y-axis), and the result happens to be nice and more or less correct, like converted to Mercator projection. I have found that MapServer does that, maybe some others also. Therefore the issue will not come out if you use Mercator projection. But with other (like Lambert) projections this basic conversion in WMS server side does not give good results, even if WMS server tries to do this, as these projections cannot be converted with basic affine transformation. Also if the server has e.g. aerial images then it can't accept EPSG:4326 to do explicit server-side reprojection.

Attachments (0)

Change History (2)

comment:1 by stoecker, 16 years ago

First step has been done. JOSM now knows the projection code of current projection.

comment:2 by stoecker, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in WMS 13600.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.