As of GDAL 3.1, there is read and write support for Flatgeobuf. It appears that there is no such support in Fiona.
Is adding a line to drvsupport.py all that would be needed, or would it be involved to add support here?
Ubuntu 18.04
'1.8.13.post1' from PyPI
GDAL 3.1.0 installed via Conda
It depends on the driver. Some drivers potentially work out of the box, but not all.
You can use the following pattern to enable not supported drivers, given they are included in the gdal installation Fiona is built against:
https://github.com/Toblerity/Fiona/blob/maint-1.8/docs/manual.rst#77unsupported-drivers
I was able to get reading to work fine just by following the instructions above:
import fiona
fiona.drvsupport.supported_drivers["FlatGeobuf"] = "rw"
src = fiona.open("file.fgb")
That's a good point! I didn't even think of trying to set that manually.
I'm removing this from the 1.8.14 milestone since https://github.com/Toblerity/Fiona/pull/924 looks pretty complicated. I did turn on read support in 0595442.
Resolved.
Most helpful comment
I was able to get reading to work fine just by following the instructions above: