Re: Is Fiona just a neat and nimble (and Pythonic) wrapper for GDAL, or does it contain non GDAL-functionality?
Thanks for your questions!
On Thu, Sep 8, 2022 at 9:45 AM Mads Skjern <mrvelle@...> wrote:
The latter. All data format details, geometry operations, cartographic transformations are performed by GDAL functions. But Fiona has its own C extension code, too. Geometry and Feature factories, for example.
No, Fiona relies on the OGR (GDAL) API when possible. Except in places like Feature factories, which have custom C code instead of, for example, making a GeoJSON structure and asking GDAL to deserialize it.
Fiona doesn't directly link other libraries like, for example, GEOS or PROJ. It uses GDAL's OSR* functions to work with spatial reference systems and OGR_G* functions to operate on geometries.