[gdal-dev] allow gml driver to check supported version

Martin Landa landa.martin at gmail.com
Wed Jul 15 05:38:06 PDT 2015


Hi all,

VFR format is read in GDAL using GML driver together with GFS files
which are part of GDAL distribution (data/ruian_vf_ob_v1.gfs
data/ruian_vf_st_uvoh_v1.gfs  data/ruian_vf_st_v1.gfs
data/ruian_vf_v1.gfs). What is missing is version check to inform user
that GDAL doesn't support the newest version (which is now VFR 1.6).
This information is stored in VFR header, see example bellow.

<vf:Hlavicka><vf:VerzeVFR>1.6</vf:VerzeVFR><vf:TypZaznamu>Platne</vf:TypZaznamu>...</vf:Hlavicka>.

Would be possible to customize GML driver to support such feature? I
would like to add message like:

Input VFR file is version 1.6, GDAL doesn't support VFR version 1.5

Thanks, Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the gdal-dev mailing list