[gdal-dev] Parse GML without geometry

Steve.Toutant at inspq.qc.ca Steve.Toutant at inspq.qc.ca
Fri Dec 12 11:35:29 PST 2014


Hi,
I need to parse the GML returned by this query, to make a list of unique 
value of NA2DESC tag using python
http://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&REQUEST=GetFeature&version=1.1.0&Typename=continents&maxfeatures=10&propertyname=(NA2DESC) 

I could not make it with a XML parser yet. I consider using ogr API but 
can I use it even if there is no geometry?
If ogr api is a good option, any link to examples or tutorial would be 
appreciated since I never used the API.
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20141212/c5c7988c/attachment.html>


More information about the gdal-dev mailing list