[Mapserver-users] WMS requests.
Swaminathan, Gayathri
gayathri at ou.edu
Mon Apr 5 13:06:31 PDT 2004
Bob:
Your request should be,
"http://dragonslayer.ci.stpaul.mn.us/cgi-bin/mapserv?map=/var/www/html/r
aster/horizons_wms.map&VERSION=1.1.1&REQUEST=GetMap&layer=<layername>"
For getting a specific layer.
Since all your layers are tied to scale(s), you think that can be a
problem?
Also can you include one layer with no scale set...and see if that comes
on?
Lemme know
Gayathri
> -----Original Message-----
> From: Bob Basques [mailto:bob.basques at ci.stpaul.mn.us]
> Sent: Monday, April 05, 2004 2:59 PM
> To: Swaminathan, Gayathri
> Subject: Re: [Mapserver-users] WMS requests.
>
>
> Swaminathan, Gayathri wrote:
>
> >Can you post also the WMS request you are trying?
> >Gayathri
> >
> >
> >
> According to this link:
>
> http://mapserver.gis.umn.edu/doc/wms-howto.html
>
> This should provide a default Map from the WMS service:
>
>
> http://dragonslayer.ci.stpaul.mn.us/cgi-bin/mapserv?map=/var/w
ww/html/raster/horizons_wms.map&VERSION=1.1.1> &REQUEST=GetMap
>
> (Intranet link)
>
> I also tried with "VERSION=1.1.0" instead, with the same results.
>
> As a follow on, I'm trying to coeect with ArcExplorer and their
> Interoperability extension and I'm getting an erro for the
> GetCapabilities also, but this may be an entirely differnt
> problem, as
> I'm not sure what piece of the URL is required for the WMS connection
> string in ArcExplorer.
>
>
> bobb
>
> Below is the result of the get capabilities request: like so
> I don't see
> any error in it.
>
> <?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
> <!DOCTYPE WMT_MS_Capabilities SYSTEM
> "http://schemas.opengis.net/wms/1.1.1/WMS_MS_Capabilities.dtd"
> [
> <!ELEMENT VendorSpecificCapabilities EMPTY>
> ]> <!-- end of DOCTYPE declaration -->
>
> <WMT_MS_Capabilities version="1.1.1">
>
> <!-- MapServer version 4.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER INPUT=EPPL7
> INPUT=GDAL INPUT=SHAPEFILE -->
>
> <Service>
> <Name>OGC:WMS</Name>
> <Title>WMS City of Saint Paul, Public Works Server</Title>
> <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="http://dragonslayer.ci.stpaul.mn.us/cgi-bin/mapser
> v?map=../html/raster/horizons_wms.map&&"/>
> </Service>
>
> <Capability>
> <Request>
> <GetCapabilities>
> <Format>application/vnd.ogc.wms_xml</Format>
> <DCPType>
> <HTTP>
> <Get><OnlineResource
> xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="http://dragonslayer.ci.stpaul.mn.us/cgi-bin/mapser
> v?map=../html/raster/horizons_wms.map&&"/></Get>
> <Post><OnlineResource
> xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="http://dragonslayer.ci.stpaul.mn.us/cgi-bin/mapser
> v?map=../html/raster/horizons_wms.map&&"/></Post>
> </HTTP>
> </DCPType>
> </GetCapabilities>
> <GetMap>
> <Format>image/png</Format>
> <Format>image/jpeg</Format>
> <Format>image/wbmp</Format>
> <Format>text/html</Format>
> <Format>image/tiff</Format>
> <DCPType>
> <HTTP>
> <Get><OnlineResource
> xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="http://dragonslayer.ci.stpaul.mn.us/cgi-bin/mapser
> v?map=../html/raster/horizons_wms.map&&"/></Get>
> <Post><OnlineResource
> xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="http://dragonslayer.ci.stpaul.mn.us/cgi-bin/mapser
> v?map=../html/raster/horizons_wms.map&&"/></Post>
> </HTTP>
> </DCPType>
> </GetMap>
> <GetFeatureInfo>
> <Format>text/plain</Format>
> <Format>text/html</Format>
> <Format>application/vnd.ogc.gml</Format>
> <DCPType>
> <HTTP>
> <Get><OnlineResource
> xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="http://dragonslayer.ci.stpaul.mn.us/cgi-bin/mapser
> v?map=../html/raster/horizons_wms.map&&"/></Get>
> <Post><OnlineResource
> xmlns:xlink="http://www.w3.org/1999/xlink"
> xlink:href="http://dragonslayer.ci.stpaul.mn.us/cgi-bin/mapser
> v?map=../html/raster/horizons_wms.map&&"/></Post>
> </HTTP>
> </DCPType>
> </GetFeatureInfo>
> </Request>
> <Exception>
> <Format>application/vnd.ogc.se_xml</Format>
> <Format>application/vnd.ogc.se_inimage</Format>
> <Format>application/vnd.ogc.se_blank</Format>
> </Exception>
> <VendorSpecificCapabilities />
> <UserDefinedSymbolization SupportSLD="1" UserLayer="0"
> UserStyle="1"
> RemoteWFS="0"/>
> <Layer>
> <Name>HORIZONS</Name>
> <Title>WMS City of Saint Paul, Public Works Server</Title>
> <SRS>EPSG:32615</SRS>
> <LatLonBoundingBox minx="540000" miny="135000" maxx="600000"
> maxy="175000" />
> <Layer>
> <Name>AERIAL</Name>
> <Title>AERIAL</Title>
> <Layer queryable="0" opaque="0" cascaded="0">
> <Name>L5</Name>
> <Title>HORIZONS L5</Title>
> <ScaleHint min="7.98294" max="15.9649" />
> </Layer>
> <Layer queryable="0" opaque="0" cascaded="0">
> <Name>L4</Name>
> <Title>HORIZONS L4</Title>
> <ScaleHint min="3.99172" max="7.98245" />
> </Layer>
> <Layer queryable="0" opaque="0" cascaded="0">
> <Name>L3</Name>
> <Title>HORIZONS L3</Title>
> <ScaleHint min="1.99611" max="3.99122" />
> </Layer>
> <Layer queryable="0" opaque="0" cascaded="0">
> <Name>L2</Name>
> <Title>HORIZONS L2</Title>
> <ScaleHint min="0.998305" max="1.99561" />
> </Layer>
> <Layer queryable="0" opaque="0" cascaded="0">
> <Name>L1</Name>
> <Title>HORIZONS L1</Title>
> <ScaleHint min="0.499402" max="0.997806" />
> </Layer>
> <Layer queryable="0" opaque="0" cascaded="0">
> <Name>L0</Name>
> <Title>HORIZONS L0</Title>
> <ScaleHint min="0.24995" max="0.498903" />
> </Layer>
> </Layer>
> <Layer queryable="0" opaque="0" cascaded="0">
> <Name>anno</Name>
> <Title>ANNO</Title>
> </Layer>
> </Layer>
> </Capability>
> </WMT_MS_Capabilities>
>
>
More information about the MapServer-users
mailing list