tanto / geopapurls

OGC WMS to Geopaparazzi mapurls generator
GNU General Public License v2.0
2 stars 0 forks source link

USGS topo map #2

Closed moovida closed 10 years ago

moovida commented 10 years ago

I have troubles in visualizing the usgs topo map.

The map is visualized in the admin page, and the produced mapurl shows this: http://mapurls.geopaparazzi.eu/mapurls/177/

Using the url inside there doesn't work:

http://basemap.nationalmap.gov/arcgis/services/USGSTopo/MapServer/WmsServer??SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=0&SRS=EPSG:4326&FORMAT=image/png&BBOX=-103.579101,41.5743613,-103.53515625,41.607228&WIDTH=256&HEIGHT=256

while the following does: http://basemap.nationalmap.gov/arcgis/services/USGSTopo/MapServer/WmsServer?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&TRANSPARENT=TRUE&STYLES=&LAYERS=0&SRS=EPSG:4326&FORMAT=image/png&BBOX=-103.579101,41.5743613,-103.53515625,41.607228&WIDTH=256&HEIGHT=256

Any idea why?

giohappy commented 10 years ago

I'm going to fix both the problems that affect this service: 1 - the GetMapUrl has an extra slash. (/WmsServer??SERVICE....) 2 - The URL provided by our service doesn't set the STYLES request parameter, which I though it was optional while it is required. I will fix it ASAP. Thanks! ;)

moovida commented 10 years ago

Ah, so it is the style parameter, which is needed even if empty? Thanks for fixing. Cheers

giohappy commented 10 years ago

Fixed in 86da4262b8e192bf8f8ff4da1df5741d697965b5