[mapserver-users] Spatial Filter with WFS

Yewondwossen Assefa yassefa at dmsolutions.ca
Tue Nov 23 06:48:57 PST 2010


On 23/11/2010 9:00 AM, Rahkonen Jukka wrote:
> Y.A, a question for you:  I have thought that also the filters should 
> be presented as gml3 with WFS 1.1.0 and thus posList should be used 
> instead of coordinates. Am I wrong with this belief?  By the way, this 
> is how Geoserver 2.1 beta 1 writes out on multipolygon as gml3
>
Yes with wfs 1.1, It should be gml3. Note that the parsing of the gml 
tree is done through OGR and I believe OGR is flexible to read the 
different syntax for a <coordinates> tag. We do not schema validate the 
gml in MapServer and take as assumption that It is good, if it is parsed 
properly by OGR.
> <topp:the_geom>
> <gml:MultiSurface srsDimension="2" srsName="urn:x-ogc:def:crs:EPSG:4326">
> <gml:surfaceMember>
> <gml:Polygon>
> <gml:exterior>
> <gml:LinearRing>
> <gml:posList>
> 37.51099000000001 -88.071564 37.476273000000006 -88.087883 37.442852 
> -88.311707 37.40930899999999 -88.359177
> -Jukka Rahkonen-

  I was not aware of the MultiSurface  element. It is now added in svn 
(http://trac.osgeo.org/mapserver/ticket/3615)


regards,


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

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

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20101123/8fbb4473/attachment.htm>


More information about the MapServer-users mailing list