Hello,
I'm absolutely new to mapserver, so I downloaded the demo for the 4.x
version (I'm using Debian GNU/Linux).
The demo pages work ok, but when I do a GetCapabilities operation
(http://localhost/cgi-bin/mapserv?service=WMS&version=1.3&map=/var/www/workshop/itasca.map&request=GetCapabilities
- local intranet, sorry :( ), I get the attached XML document.
What I'm wondering is why the LatLonBoundingBox tags holds those values,
since they are supposed to be in 4326, if I read the WMS spec right.
Am I doing something wrong?
I looked the archives, and googled the internet, but I couldn't find any
help on this exact topic.
I would definitely appreciate if somebody could provide any kind of
help; would it be just pointers on what I have to do/fix.
Best regards,
Arnaud
<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE WMT_MS_Capabilities SYSTEM "http://schemas.opengeospatial.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.8.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG -->
<Service>
<Name>OGC:WMS</Name>
<Title>UMN MapServer Itasca Demo</Title>
<Abstract>This is a UMN MapServer application for Itasca County located in north central Minnesota.</Abstract>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost.localdomain/mapserver_demos/itasca/index.html?"/>
<AccessConstraints>none</AccessConstraints>
</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://localhost.localdomain/mapserver_demos/itasca/index.html?"/></Get>
<Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost.localdomain/mapserver_demos/itasca/index.html?"/></Post>
</HTTP>
</DCPType>
</GetCapabilities>
<GetMap>
<Format>image/gif</Format>
<Format>image/png</Format>
<Format>image/png; mode=24bit</Format>
<Format>image/jpeg</Format>
<Format>image/wbmp</Format>
<Format>image/tiff</Format>
<DCPType>
<HTTP>
<Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost.localdomain/mapserver_demos/itasca/index.html?"/></Get>
<Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost.localdomain/mapserver_demos/itasca/index.html?"/></Post>
</HTTP>
</DCPType>
</GetMap>
<GetFeatureInfo>
<Format>text/plain</Format>
<Format>application/vnd.ogc.gml</Format>
<DCPType>
<HTTP>
<Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost.localdomain/mapserver_demos/itasca/index.html?"/></Get>
<Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost.localdomain/mapserver_demos/itasca/index.html?"/></Post>
</HTTP>
</DCPType>
</GetFeatureInfo>
<DescribeLayer>
<Format>text/xml</Format>
<DCPType>
<HTTP>
<Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost.localdomain/mapserver_demos/itasca/index.html?"/></Get>
<Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost.localdomain/mapserver_demos/itasca/index.html?"/></Post>
</HTTP>
</DCPType>
</DescribeLayer>
<GetLegendGraphic>
<Format>image/gif</Format>
<Format>image/png</Format>
<Format>image/png; mode=24bit</Format>
<Format>image/jpeg</Format>
<Format>image/wbmp</Format>
<DCPType>
<HTTP>
<Get><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost.localdomain/mapserver_demos/itasca/index.html?"/></Get>
<Post><OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://localhost.localdomain/mapserver_demos/itasca/index.html?"/></Post>
</HTTP>
</DCPType>
</GetLegendGraphic>
</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>ITASCA</Name>
<Title>UMN MapServer Itasca Demo</Title>
<SRS>EPSG:26915</SRS>
<LatLonBoundingBox minx="388108" miny="5.20312e+06" maxx="500896" maxy="5.31024e+06" />
<ScaleHint min="0.498902848429637" max="773.299415065937" />
<Layer queryable="0" opaque="0" cascaded="0">
<Name>drgs</Name>
<Title>USGS 1:250,000 Digital Raster Graphic</Title>
<Abstract>Hibbing and Bemidji quadrangles. See http://deli.dnr.state.mn.us/metadata/full/drgncim1.html for more information.</Abstract>
<SRS>EPSG:26915</SRS>
<Style>
<Name>default</Name>
<Title>default</Title>
<LegendURL width="18" height="12">
<Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://localhost.localdomain/mapserver_demos/itasca/index.html?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=drgs&format=image/png"/>
</LegendURL>
</Style>
</Layer>
<!-- WARNING: This layer has its status set to DEFAULT and will always be displayed when doing a GetMap request even if it is not requested by the client. This is not in line with the expected behavior of a WMS server. Using status ON or OFF is recommended. -->
<Layer queryable="0" opaque="0" cascaded="0">
<Name>ctybdpy2</Name>
<Title>County Boundary</Title>
<Abstract>Itasca County boundary shapefile. See http://deli.dnr.state.mn.us/metadata/full/ctybdne2.html for more information.</Abstract>
<SRS>EPSG:26915</SRS>
<LatLonBoundingBox minx="189775" miny="4.81631e+06" maxx="761662" maxy="5.47241e+06" />
</Layer>
<Layer>
<Name>cities</Name>
<!-- WARNING: Mandatory metadata '..._GROUP_TITLE' was missing in this context. -->
<Title>cities</Title>
<Abstract>cities</Abstract>
<Layer queryable="1" opaque="0" cascaded="0">
<Name>mcd90py2</Name>
<Title>Minor Civil Divisions</Title>
<Abstract>Minor civil divisions for Itasca County (boundaries only).</Abstract>
<SRS>EPSG:26915</SRS>
<LatLonBoundingBox minx="393234" miny="5.20799e+06" maxx="495770" maxy="5.30537e+06" />
<Style>
<Name>default</Name>
<Title>default</Title>
<LegendURL width="18" height="12">
<Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://localhost.localdomain/mapserver_demos/itasca/index.html?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=mcd90py2&format=image/png"/>
</LegendURL>
</Style>
</Layer>
<Layer queryable="0" opaque="0" cascaded="0">
<Name>mcd90py2_anno</Name>
<Title>Minor Civil Divisions</Title>
<Abstract>Minor civil divisions for Itasca County (annotation only).</Abstract>
<SRS>EPSG:26915</SRS>
<LatLonBoundingBox minx="393234" miny="5.20799e+06" maxx="495770" maxy="5.30537e+06" />
</Layer>
</Layer>
<Layer queryable="0" opaque="0" cascaded="0">
<Name>twprgpy3</Name>
<Title>Township Boundaries</Title>
<Abstract>Pulic Land Survey (PLS) township boundaries for Itasca County. See http://deli.dnr.state.mn.us/metadata/full/twprgne2.html for more information.</Abstract>
<SRS>EPSG:26915</SRS>
<LatLonBoundingBox minx="393234" miny="5.20799e+06" maxx="495770" maxy="5.30537e+06" />
<Style>
<Name>default</Name>
<Title>default</Title>
<LegendURL width="18" height="12">
<Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://localhost.localdomain/mapserver_demos/itasca/index.html?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=twprgpy3&format=image/png"/>
</LegendURL>
</Style>
</Layer>
<Layer queryable="1" opaque="0" cascaded="0">
<Name>lakespy2</Name>
<Title>Lakes and Rivers</Title>
<Abstract>DLG lake and river polygons for Itasca County. See http://deli.dnr.state.mn.us/metadata/full/dlglkpy2.html for more information.</Abstract>
<SRS>EPSG:26915</SRS>
<LatLonBoundingBox minx="393234" miny="5.20817e+06" maxx="495403" maxy="5.30396e+06" />
<Style>
<Name>default</Name>
<Title>default</Title>
<LegendURL width="18" height="12">
<Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://localhost.localdomain/mapserver_demos/itasca/index.html?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=lakespy2&format=image/png"/>
</LegendURL>
</Style>
</Layer>
<Layer queryable="1" opaque="0" cascaded="0">
<Name>dlgstln2</Name>
<Title>Streams</Title>
<Abstract>DLG streams for Itasca County. See http://deli.dnr.state.mn.us/metadata/full/dlgstln2.html for more information.</Abstract>
<SRS>EPSG:26915</SRS>
<LatLonBoundingBox minx="393381" miny="5.20799e+06" maxx="495758" maxy="5.30537e+06" />
<Style>
<Name>default</Name>
<Title>default</Title>
<LegendURL width="18" height="12">
<Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://localhost.localdomain/mapserver_demos/itasca/index.html?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=dlgstln2&format=image/png"/>
</LegendURL>
</Style>
</Layer>
<Layer>
<Name>roads</Name>
<!-- WARNING: Mandatory metadata '..._GROUP_TITLE' was missing in this context. -->
<Title>roads</Title>
<Abstract>roads</Abstract>
<Layer queryable="0" opaque="0" cascaded="0">
<Name>ctyrdln3</Name>
<Title>County Roads</Title>
<Abstract>County roads (lines only). Derived from MNDOT roads layer, see http://deli.dnr.state.mn.us/metadata/full/dotrdln2.html for more information.</Abstract>
<SRS>EPSG:26915</SRS>
<LatLonBoundingBox minx="393588" miny="5.208e+06" maxx="495770" maxy="5.30511e+06" />
<ScaleHint min="0" max="149.670854528891" />
</Layer>
<Layer queryable="0" opaque="0" cascaded="0">
<Name>ctyrdln3_anno</Name>
<Title>County Roads</Title>
<Abstract>County roads (shields only). Derived from MNDOT roads layer, see http://deli.dnr.state.mn.us/metadata/full/dotrdln2.html for more information.</Abstract>
<SRS>EPSG:26915</SRS>
<LatLonBoundingBox minx="393588" miny="5.208e+06" maxx="495770" maxy="5.30511e+06" />
<ScaleHint min="0" max="149.670854528891" />
</Layer>
<Layer queryable="0" opaque="0" cascaded="0">
<Name>majrdln3</Name>
<Title>Highways</Title>
<Abstract>Highways- state, US and interstate (lines only). Derived from MNDOT roads layer, see http://deli.dnr.state.mn.us/metadata/full/dotrdln2.html for more information.</Abstract>
<SRS>EPSG:26915</SRS>
<LatLonBoundingBox minx="393732" miny="5.20809e+06" maxx="494784" maxy="5.30537e+06" />
<Style>
<Name>default</Name>
<Title>default</Title>
<LegendURL width="18" height="12">
<Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://localhost.localdomain/mapserver_demos/itasca/index.html?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=majrdln3&format=image/png"/>
</LegendURL>
</Style>
<ScaleHint min="0" max="299.341709057782" />
</Layer>
<Layer queryable="0" opaque="0" cascaded="0">
<Name>majrdln3_anno</Name>
<Title>Highways</Title>
<Abstract>Highways- state, US and interstate (shields only). Derived from MNDOT roads layer, see http://deli.dnr.state.mn.us/metadata/full/dotrdln2.html for more information.</Abstract>
<SRS>EPSG:26915</SRS>
<LatLonBoundingBox minx="393732" miny="5.20809e+06" maxx="494784" maxy="5.30537e+06" />
<ScaleHint min="0" max="299.341709057782" />
</Layer>
</Layer>
<Layer queryable="1" opaque="0" cascaded="0">
<Name>airports</Name>
<Title>Airports</Title>
<Abstract>Airport runways for Itasca County.</Abstract>
<SRS>EPSG:26915</SRS>
<LatLonBoundingBox minx="434634" miny="5.22872e+06" maxx="496393" maxy="5.29193e+06" />
<Style>
<Name>default</Name>
<Title>default</Title>
<LegendURL width="18" height="12">
<Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://localhost.localdomain/mapserver_demos/itasca/index.html?version=1.1.1&service=WMS&request=GetLegendGraphic&layer=airports&format=image/png"/>
</LegendURL>
</Style>
</Layer>
</Layer>
</Capability>
</WMT_MS_Capabilities>