Projection issues on WFS-Server

Yewondwossen Assefa assefa at DMSOLUTIONS.CA
Tue Mar 7 07:58:24 EST 2006


Hi There,

  Please have a look at documentation at 
http://mapserver.gis.umn.edu/docs/howto/wfs_server

  From what I can see, what is missing is a projection object on the 
layer with the epsg code that reflects the projection of your layer. 
Wiyth that addition, you should  get n appropriate latlon bounding box 
representing the extents of your layer.

Later,


Stephan Holl wrote:
> 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
> 


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------



More information about the mapserver-users mailing list