[gdal-dev] Documentation of .gfs file format

Even Rouault even.rouault at spatialys.com
Thu Oct 27 05:14:01 PDT 2022


Johannes,

yes sure I can help

Even

Le 26/10/2022 à 16:39, Johannes Echterhoff a écrit :
>
> 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.rouault at spatialys.com>
> *Gesendet:* Dienstag, 25. Oktober 2022 20:08
> *An:* Johannes Echterhoff <echterhoff at interactive-instruments.de>; 
> gdal-dev at 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 
> <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 
> <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
>     <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
>     <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 at lists.osgeo.org  <mailto:gdal-dev at lists.osgeo.org>
>
>     https://lists.osgeo.org/mailman/listinfo/gdal-dev  <https://lists.osgeo.org/mailman/listinfo/gdal-dev>
>
> -- 
> http://www.spatialys.com  <http://www.spatialys.com>
> My software is free, but my time generally not.

-- 
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20221027/0c6e8ad6/attachment.htm>


More information about the gdal-dev mailing list