Opened 16 years ago
Closed 11 years ago
#3131 closed defect (irreproducible)
WMS tiles compressed vertically
| Reported by: | Owned by: | team | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Core imagery | Version: | latest | 
| Keywords: | wms, distortion, esri, arcgis | Cc: | 
Description (last modified by )
Tiles requested from an ESRI ArcGIS Server WMS service appear vertically compressed when added to JOSM via wmsplugin.
Two example WMS query strings: 
State of Delaware
http://datamil.delaware.gov/wmsconnector/com.esri.wms.Esrimap/DE_aerial07?SERVICE=WMS&REQUEST=GetMap&VERSION=1.1.1&LAYERS=1&STYLES=&FORMAT=image/jpeg&SRS=EPSG:4326&
Attachments (1)
Change History (8)
comment:1 by , 16 years ago
| Version: | tested → latest | 
|---|
comment:2 by , 16 years ago
| Owner: | changed from to | 
|---|---|
| Status: | new → needinfo | 
Still there? Provide examples/screenshots.
This sounds like wrong projection is used.
by , 16 years ago
| Attachment: | bug_screenshot.jpg added | 
|---|
Screenshot of the bug occuring using the DE WMS.
comment:3 by , 16 years ago
comment:4 by , 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 , 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 , 16 years ago
| Owner: | changed from to | 
|---|---|
| Status: | needinfo → new | 
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 , 11 years ago
| Description: | modified (diff) | 
|---|---|
| Resolution: | → irreproducible | 
| Status: | new → closed | 





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