[gdal-dev] GML / NAS code redundancy

Martin Landa landa.martin at gmail.com
Tue Mar 18 10:33:21 PDT 2014


Hi Even,

2014-03-18 18:04 GMT+01:00 Even Rouault <even.rouault at mines-paris.org>:
> increase the szHeader size). Add in the GML registry your feature types and make
> them point to the same .gfs file that define all the feature types ! The only

I do not understand this part, point to the same GFS file? This file
is generated by OGR, why not to use available XSD for given format? I
tried registry file bellow

<gml_registry>
    <!-- VFR -->
    <namespace prefix="vf"
               uri="urn:cz:isvs:ruian:schemas:VymennyFormatTypy:v1
../ruian/xsd/vymenny_format/VymennyFormatTypy.xsd"
               useGlobalSRSName="true">
        <featureType elementName="Obec"
                 schemaLocation="/path/to/xsd/prvky_int/ObecIntTypy.xsd"/>
    </namespace>
</gml_registry>

where ObecIntTypy.xsd is taken from [1], but doesn't work. I would
expect that OGR reports 'Obec' layer with one feature in this case.

Martin

[1] http://www.cuzk.cz/Uvod/Produkty-a-sluzby/RUIAN/2-Poskytovani-udaju-RUIAN-ISUI-VDP/Vymenny-format-RUIAN/Vymenny-format-RUIAN-(VFR)/2013_08_30_vf_xsd.aspx

-- 
Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa


More information about the gdal-dev mailing list