[gdal-dev] WCS driver
Even Rouault
even.rouault at spatialys.com
Mon Oct 30 13:41:15 PDT 2017
On lundi 30 octobre 2017 10:54:56 CET Ari Jolma wrote:
> Ari Jolma kirjoitti 24.10.2017 klo 17:07:
> > 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.
>
> Seems that XML is actually much harder than that :)
>
> XML namespaces can be declared in any element and then they are in
> effect in that element and in all of its children unless they override
> the namespace declarations.
>
> For example Rasdaman seems to write XML like that.
>
> I'm wondering how much benefit there is from looking into the namespaces
> in WCS responses. Probably not much in practise. Not a lot of benefit
> from a lot of work if I implement those rules.
Yes, XML can be a pain.
Did you see my past suggestion of just stripping all namespace prefixes from elements with
CPLStripXMLNamespace(psRoot, NULL, TRUE) ?
I don't expect namespace ambiguities in the case of decoding WCS GetCapabilities or
GetCoverage responses.
--
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20171030/ead02a95/attachment.html>
More information about the gdal-dev
mailing list