WFS GetFeature produces Not valid GML
Bart van den Eijnden (OSGIS)
bartvde at XS4ALL.NL
Mon Jul 3 01:35:19 PDT 2006
Are you able to check with Mapserver 4.8.3 and confirm the bug is also in
there? If so please file a bugzilla report with the necessary info to
reproduce.
Best regards,
Bart
> Hello,
>
> I Just noticed that Mapserver 4.6.2 is giving me invalid GML for a polygon
> with one inner ring.
>
> Here is a snippet of the GML code:
>
> <myns:msGeometry>
> <gml:MultiPolygon srsName="epsg:4283">
> </gml:MultiPolygon>
> </myns:msGeometry>
>
> The error is an empty MultiPolygon. There are no other errors produced by
> MapServer. I have also noticed that GML that is produced, only Filled
> Polygon (no inner rings) are declared under the Polygon element, while a
> Polygon with inner rings are declared as a Polygon under MultiPolygon.
> Anyone has any explaination for this? This does not conform to the OGC
> GML standard.
>
> I have also tried using ogr2ogr tool on the shapefile, and converted it to
> a GML. Upon inspection, the GML conforms to the OGC GML standard and the
> missing feature is declared correctly. I tried changing my map file to
> use a OGR connection to the GML file and I still get the same GML by
> Mapserver. Is this a known bug of Mapserver?
>
> I have also tried the same shapefile on GeoServer and GEOServer produced
> valid GML for the feature.
>
> If anyone can tell me why I can't get the GML to produce correctly please
> let me know. It would be a GREAT help if you are able help. Email me if
> you would like me to send the shape file and mapfile.
>
> Regards,
> John
> Send instant messages to your online friends
> http://au.messenger.yahoo.com
More information about the MapServer-users
mailing list