[gdal-dev] Wrong namespaces in GML 3.2 written by GDAL

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Thu Apr 27 10:10:39 PDT 2017

Hi Evan,

Oh yeah, a few lines later I can read
<xs:import namespace="http://www.opengis.net/gml/3.2" schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
<xs:import namespace="http://www.opengis.net/gmlsf/2.0" schemaLocation="http://schemas.opengis.net/gmlsfProfile/2.0/gmlsfLevels.xsd"/>

Sorry for the noise.


Even Rouault  wrote:
Re: [gdal-dev] Wrong namespaces in GML 3.2 written by GDAL

On jeudi 27 avril 2017 17:01:27 CEST Rahkonen Jukka (MML) wrote:

> Hi,


> With GML 3.2 output GDAL 2.2-dev writes into the schema


> xmlns:gml="http://www.opengis.net/gml/3.2"

> xmlns:gmlsf="http://www.opengis.net/gmlsf/2.0"


> The first one redirects to http://schemas.opengis.net/gml/3.2.1/gml.xsd.

> The latter one gives "Not found". I guess that the schema is nowadays in

> http://schemas.opengis.net/gmlsfProfile/2.0/


I think what GDAL writes currently is correct. There's no requirement for a namespace URI to be HTTP resolvable and point to a schema. This is just a conventional name.

Actually if you look at

http://schemas.opengis.net/gmlsfProfile/2.0/gmlsfLevels.xsd , you can see



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170427/acedb579/attachment-0001.html>

More information about the gdal-dev mailing list