[postgis-users] RE: [postgis-devel] GML output

Frank Warmerdam warmerdam at pobox.com
Thu Sep 23 16:56:13 PDT 2004


Darko Androsevic wrote:
> The namespace prefix is arbitrary--it could be "tns". What's essential
> is that the prefix is bound to the correct namespace:
> 
> <tns:Polygon xmlns:tns="http://www.opengis.net/gml">
> ...
> </tns:Polygon>
> 
> 
> 
> We would recommend that even if you only support the geometry types defined
> in GML 2.x (Simple Features Model), you should still use GML 3.x
> representations with no deprecated parts. GML 2.x is history.

Darko,

It isn't arbitrary for half-baked GML readers like mine!  When aiming for
interoperability I would strong encourage GML writers to use the prefix
"gml:".  Of course, what you are saying is correct for readers that are
fully XML aware.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the postgis-users mailing list