WMS LatLonBoundingBox

Bart van den Eijnden bartvde at XS4ALL.NL
Fri Aug 20 06:06:05 EDT 2004


Hi list,

for raster layers I do not get a LatLonBoundingBox in the WMS capabilities
from Mapserver. I tried using the following METADATA on the LAYER level to
overrule the LatLonBoundingBox from the parent LAYER, but that didn't work
(it does not end up in the capabilities):

METADATA
  "wms_latlonboundingbox" "2.68506 49.54247 7.75847 54.61588"
END

How do I get a LatLonBoundingBox for a raster layer in my WMS capabilities
so that I am able to overrule the parent LAYER's LatLonBoundingBox?

Excerpt from capabilities:

Parent layer:

- <Layer queryable="0" opaque="0" noSubsets="0">
  <Name>Basispakket</Name>
  <Title>Basispakket WMS</Title>
  <SRS>EPSG:28992</SRS>
  <LatLonBoundingBox minx="3.79313" miny="51.5561" maxx="8.34752"
maxy="53.8367" />
  <BoundingBox SRS="EPSG:28992" minx="50000" miny="400000" maxx="350000"
maxy="650000" />

Raster layer (GDAL):

- <Layer queryable="0" opaque="0" noSubsets="0">
  <Name>lgn4</Name>
  <Title>lgn 4</Title>
  <Abstract>lgn 4</Abstract>
  <SRS>EPSG:28992</SRS>
  </Layer>

Thanks in advance.

Best regards,
Bart



More information about the mapserver-users mailing list