Opened 16 years ago

Closed 11 years ago

#3131 closed defect (irreproducible)

WMS tiles compressed vertically — at Version 7

Reported by: jreiser@… Owned by: team
Priority: minor Milestone:
Component: Core imagery Version: latest
Keywords: wms, distortion, esri, arcgis Cc:

Description (last modified by stoecker)

Change History (8)

comment:1 by Cobra, 16 years ago

Version: testedlatest

This also happens with other wms and with the newest version of josm (1951) and wmsplugin (16872).

comment:2 by stoecker, 16 years ago

Owner: changed from team to jreiser@…
Status: newneedinfo

Still there? Provide examples/screenshots.

This sounds like wrong projection is used.

by John Reiser <jreiser@…>, 16 years ago

Attachment: bug_screenshot.jpg added

Screenshot of the bug occuring using the DE WMS.

comment:3 by John Reiser <jreiser@…>, 16 years ago

Please see the attached screenshot. It seems the ESRI-generated WMS services have some issue with aspect. Loading a WMS layer from another service (ie USGS Topomaps) aligns correctly with the OSM data.

Screenshot of the bug occuring using the DE WMS.

comment:4 by stoecker, 16 years ago

Some questions:

  • What projection settings do you have in josm
  • What projection is used in the URL for ESRI request (srs= parameter)
  • What projection does the ESRI server support (find out using GetCapabilities).

comment:5 by John Reiser <jreiser@…>, 16 years ago

Switching to WGS84 Geographic does allow you to use the PA and DE WMSs in JOSM. Both of the URLs above use EPSG:4326. However, the NJ WMS works without issue in Mercator projection. The URL for the NJ WMS is: http://njwebmap.state.nj.us/njorthos?REQUEST=GetMap&SERVICE=WMS&layers=Natural2007&styles=&format=image/jpeg&srs=EPSG:4326&
It too uses EPSG:4326.

The NJ server returns the following available SRSs:
EPSG:3424 (NJ), EPSG:2959 (UTM 18N), EPSG:4269 (NAD 83), EPSG:4326 (WGS 84), EPSG:102711 (NJ)
While the DE server returns the following:
EPSG:102257, ESRI:102257, EPSG:2776, EPSG:4326, EPSG:4269, EPSG:4152, EPSG:26957

I guess my question is now, why does the NJ one work without a hitch and the others require switching the projection? What exactly is the Mercator projection JOSM uses? "Web Mercator"?

comment:6 by stoecker, 16 years ago

Owner: changed from jreiser@… to team
Status: needinfonew

Yes, JOSM uses Web Mercator. For cases of easy of use WMS plugin silently converts Web Mercator to EPSG:4326, which does introduce a slight error, but this should not be really relevant due to small tile sizes requested. The picture you get indicates some other calculation error somewhere (the error I mentioned above would be inside one tile and not at tile borders).

comment:7 by stoecker, 11 years ago

Description: modified (diff)
Resolution: irreproducible
Status: newclosed
Note: See TracTickets for help on using tickets.