geometry and projection with WFS

Kralidis,Tom [Burlington] Tom.Kralidis at EC.GC.CA
Wed Dec 21 10:12:30 EST 2005


Hi,

We're serving a WFS of data natively in EPSG:42304.  We would like to
serve as EPSG:4326.  We have set MAP/WEB/METADATA/"wfs_srs" "EPSG:4326".

When invoking a GetFeature request:

http://devgeo.cciw.ca/cgi-bin/mapserv/kyw?VERSION=1.0.0&SERVICE=WFS&REQU
EST=GetFeature&TYPENAME=canadwshed&Filter=<Filter><DWithin><PropertyName
>Geometry</PropertyName><gml:Point><gml:coordinates>-65.471193,45.429475
</gml:coordinates></gml:Point><Distance%20units='deg'>0</Distance></DWit
hin></Filter>&

...the feature is provided in EPSG:4326 as set in the mapfile, however
gml:featureMember/kyw:canadwshed/gml:boundedBy returns the bounded areas
in the native coordinates.  However,
gml:featureMember/kyw:canadwshed/gml:boundedBy/gml:Box/@srsName returns
EPSG:4326.

Could it be that mapgml.c is not reprojecting the boundedBy coordinates
at the layer level?  It is doing so for the geometry of the feature, as
well as the boundedBy of the response.

..Tom



More information about the mapserver-dev mailing list