[gdal-dev] WCS driver

Ari Jolma ari.jolma at gmail.com
Tue Oct 24 07:07:51 PDT 2017


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?

And additional spice is that in WCS 1.1.0 ServiceIdentification is in 
namespace http://www.opengis.net/wcs/1.1/ows. :)

Ari


Even Rouault kirjoitti 24.10.2017 klo 12:45:
>
> > Is there any reason not to switch to libxml2 from minixml?
>
> >
>
> > I see only GMLAS driver uses libxml2 currently
>
> Ah, yes indirectly when it validates the data/gmlasconf.xml file 
> against data/gmlasconf.xsd, since CPLValidateXML() uses libxml2 
> underneath to do that (it could actually have an alternate 
> implementation using Xerces-C validation functionnalities.)
>
> > , and maybe OGR VRT.
>
> Same thing, OGR VRT, optionnaly, uses libxml2 to validate the .vrt 
> file against its schema.
>
> But minixml functionnality should be enough for WCS purposes, and 
> libxml2 and Xerces-C remain optional dependencies.
>
> Even
>
> -- 
>
> 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/583cdf40/attachment.html>


More information about the gdal-dev mailing list