[Mapserver-users] MapServer 3.6 WMS not calculating LatLonBoundingBox

Van Ulden, Joost jvanulde at nrcan.gc.ca
Tue Feb 17 14:43:28 EST 2004


Hi all,

In an effort to clean up some of our WMS services, I noticed that MapServer
3.6 WMS Server is not calculating the proper LatLonBoundingBox for the MAP,
or the LAYER.  We are using EPSG:42304 (LCC Canada) for the MAP.  Anyone
else have this problem?

GetCapabilities Snippet:

<Layer queryable="0">
  <Name>Stories</Name> 
  <Title>Stories</Title> 
  <SRS>EPSG:42304</SRS> 
  <LatLonBoundingBox minx="72.3487" miny="81.9785" maxx="72.5409"
maxy="82.0071" /> 
  <BoundingBox SRS="EPSG:42304" minx="501073" miny="5.55249e+006"
maxx="503164" maxy="5.55513e+006" /> 
</Layer>

Unless Whistler is on the other side of planet this doesn't look right.
Even if I specify the proper LatLonBoundingBox, MapServer ignores it and
calculates an incorrect one.

============================================
Joost van Ulden
Programmer/Analyst
Natural Resources Canada / Ressources naturelles Canada
Geological Survey of Canada / Commission geologique du Canada
101 - 605 Robson Street / 101 - 605 rue Robson
Vancouver, B.C. / Vancouver (C.-B.)
V6B 5J3
Office/Bureau:  604.666.7525
fax/telecopieur: 604.666.1124
jvanulde at nrcan.gc.ca
============================================



More information about the mapserver-users mailing list