Opened 3 years ago
Closed 20 months ago
#5479 closed defect (fixed)
Incorrect URL for USGS imagery service
| Reported by: | Nakor | Owned by: | iandees |
|---|---|---|---|
| Priority: | normal | Component: | Core imagery |
| Version: | latest | Keywords: | |
| Cc: |
Description
I tried to use the new very nice feature for WMS layers with USGS imagery in California. The service URL is:
http://imsortho.cr.usgs.gov/WMS_Capabilities/USGS_EDC_Ortho_California/capabilities_1_1_1.xml
The layers are retrieved fine but if I choose the San Francisco layers the URL is constructed as:
http://imsortho.cr.usgs.gov/WMS_Capabilities/USGS_EDC_Ortho_California/capabilities_1_1_1.xml?FORMAT=image/jpeg&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&Layers=SanFranciscoCA_0.3m_Color_Jun_2009_01,SanFranciscoCA_0.3m_Color_Jun_2009_02,SanFranciscoCA_0.3m_Color_Jun_2009_03&
Attachments (0)
Change History (3)
comment:1 Changed 3 years ago by iandees
- Owner changed from team to iandees
- Status changed from new to assigned
comment:2 Changed 3 years ago by iandees
comment:3 Changed 20 months ago by simon04
- Resolution set to fixed
- Status changed from assigned to closed
Seems to be fixed in the meanwhile (tested with r4453).
When using the URL http://imsortho.cr.usgs.gov/WMS_Capabilities/USGS_EDC_Ortho_California/capabilities_1_1_1.xml? (note the ? at the end), JOSM determines the following:
GetCapabilities specifies a different service URL: http://imsortho.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Ortho_California?



I'll take a peek at this, but a temporary workaround to allow you to use the new interface would be to replace the Service URL with:
http://imsortho.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Ortho_California?VERSION=1.1.1&SERVICE=WMS&REQUEST=GetCapabilities
It looks like they cached the GetCapabilities response to a static XML document and inserted redirects.