Projection issues on WFS-Server

Stephan Holl holl at GDF-HANNOVER.DE
Tue Mar 7 00:07:49 PST 2006


Dear List,

I would like to publish a WFS-layer through mapserver 4.6.2, but the
XML-Document provides a wrong latlon boundingbox.

The mapfile-snippet looks like this:

MAP
  EXTENT -180 -90 180 90
  UNITS DD
  PROJECTION
     "init=epsg:4326"
  END
...

WEB
...
 METADATA
  "original_projection" "init=epsg:4326"
  "original_extents"  "-180,-90,180,90"
  "wfs_title"         "WFS-title"
  "wfs_onlineresource" "http://localhost/cgi-bin/wfs?"
  "wfs_srs"               "EPSG:4326"
  "wfs_abstract"         "WFS-abstract"
 END 
END
...


GetCapabilities
...
<SRS>EPSG:4326</SRS>
<LatLongBoundingBox minx="-2.5e+07" miny="-2.5e+07" maxx="2.5e+07"
maxy="2.5e+07"/>
...

This should be from my understanding
<LatLongBoundingBox minx="-180" miny="-90" maxx="180" maxy="90"/>

Perhaps you could provide a starting point where to look.

Thanks in advance

	Stephan



More information about the MapServer-users mailing list