id summary reporter owner description type status priority milestone component version severity resolution keywords cc 3683 OGR produces invalid GML element name for a OGRGeometryCollection object Even Rouault Even Rouault "OGR currently writes , but this is not and has never been valid GML 2... The right element is . See http://schemas.opengeospatial.net/gml/2.1.2/geometry.xsd The error is also confirmed because PostGis got it right : {{{ ogrinfo PG:dbname=autotest -sql ""select AsGML(GeomFromText('GEOMETRYCOLLECTION (POINT(0 1))'))"" returns 0,1 }}} So it's time to fix things on the write side and validate against the GML schemas. I'll make the reading part tolerant to both old invalid syntax and new valid syntax. I'll probably backport only the fix for the reading part in 1.7 branch, but not the fix for the writing part" defect closed normal 1.7.3 OGR_SF unspecified normal fixed GML multigeometry geometrycollection warmerdam crschmidt