basemap
basemap copied to clipboard
wmsimage() documentation out of date?
Bug report coming to me from off-list:
I am currently trying the wmsimage() after installing the OWSLib. I have tried a few url services, for example:
from owslib.wms import WebMapService
wms = WebMapService('http://wms.jpl.nasa.gov/wms.cgi', version='1.1.1')
wms = WebMapService('http://motherlode.ucar.edu:8080/thredds/wms/fmrc/NCEP/NAM/CO
NUS_12km/NCEP-NAM-CONUS_12km-noaaport_best.ncd?')
But both give me a connection timeout error like this:
ConnectTimeout: HTTPConnectionPool(host='motherlode.ucar.edu', port=8080):
Max retries exceeded with url:
/thredds/wms/fmrc/NCEP/NAM/CONUS_12km/NCEP-NAM-CONUS_12km-noaaport_best.ncd
?service=WMS&request=GetCapabilities&version=1.1.1 (Caused by
ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection
object at 0x111303c18>, 'Connection to motherlode.ucar.edu timed out.
(connect timeout=30)'))
I have also tried "serverurl = 'http://osm.woc.noaa.gov/mapcache?'” but I get the following error:
<!DOCTYPE ServiceExceptionReport SYSTEM
"http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1">
<ServiceException>
<![CDATA[
received unsuitable wms request: no <grid> with suitable srs found for
layer osm
]]>
</ServiceException>
</ServiceExceptionReport>
I suspect the URLs for these services have changed since the documentation was last updated. Anybody happens to know what they should be now?