Even,
Thanks for the source code reference. That was quite useful to identify even 
more XML elements that can occur in a gfs file.
I’ll see what I can do about an xsd for gfs. Would you be willing to help me in 
this regard? That would mainly be clarification of schema specifics (like 
element types), as well as element semantics, where necessary.
Best regards,
Johannes

Von: Even Rouault <even.roua...@spatialys.com>
Gesendet: Dienstag, 25. Oktober 2022 20:08
An: Johannes Echterhoff <echterh...@interactive-instruments.de>; 
gdal-dev@lists.osgeo.org
Betreff: Re: [gdal-dev] Documentation of .gfs file format


Johannes,

You have a number of .gfs templates file in 
https://github.com/OSGeo/gdal/tree/master/data

Otherwise just read the code of GMLFeatureClass::InitializeFromXML() if you 
want to have the full view of what the GFS reader understand: 
https://github.com/OSGeo/gdal/blob/master/ogr/ogrsf_frmts/gml/gmlfeatureclass.cpp#L456
 which is the ultimate authoritative source. That said a .xsd file for .gfs 
could be useful, if that's something you'd be willing to contribute.

Even
Le 25/10/2022 à 15:16, Johannes Echterhoff a écrit :
Hello,

The documentation of the GML driver on https://gdal.org/drivers/vector/gml.html 
has two sections that describe the .gfs file format to some extent (section 
“Syntax of .gfs file by example” and section “Advanced .gfs syntax”). When 
looking for more information about the .gfs format, I came across 
https://github.com/OSGeo/gdal/issues/1138, where <precision> was mentioned as 
an additional element that can be used in .gfs files.

Is the .gfs. file format documented somewhere in full detail? I would like to 
write .gfs template files, and in order to do so, knowing all available 
elements, options, as well as syntax requirements would be great to know. So 
far, I only came across a number of examples – which certainly help – but I 
would like to consult an authoritative source, if there is one.

Best regards,
Johannes




_______________________________________________

gdal-dev mailing list

gdal-dev@lists.osgeo.org<mailto:gdal-dev@lists.osgeo.org>

https://lists.osgeo.org/mailman/listinfo/gdal-dev

--

http://www.spatialys.com

My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to