[gdal-dev] WCS driver

Even Rouault even.rouault at spatialys.com
Tue Oct 24 10:23:53 PDT 2017


On mardi 24 octobre 2017 17:07:51 CEST Ari Jolma wrote:
> Whoa! How hard can XML be? I have a real Capabilities document (from
> well known company) which defines *both* default and ows namespace to
> http://www.opengis.net/ows/2.0.
> 
> Thus, to be sure, I need to look for *both* ows:ServiceIdentification
> and ServiceIdentification. Or maybe loop through all elements and check
> for both at each element?

If there's no ambiguity with elements having same names in different 
namespaces, you can just strip namespace prefixes from elements with
CPLStripXMLNamespace(psRoot, NULL, true)

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20171024/ab34497e/attachment-0001.html>


More information about the gdal-dev mailing list