参考:
https://gdal.org/drivers/vector/flatgeobuf.html
https://github.com/bjornharrtell/flatgeobuf
https://github.com/mapbox/geobuf
https://www.cnblogs.com/jyughynj/p/11567569.html
Simple translation of a single shapefile into a FlatGeobuf file. The file ‘filename.fgb’ will be created with the features from abc.shp and attributes from abc.dbf. The file filename.fgb
must not already exist, as it will be created.
% ogr2ogr -f FlatGeobuf filename.fgb abc.shp
Conversion of a Geopackage file with multiple layers:
% ogr2ogr -f FlatGeobuf my_fgb_dataset input.gpkg
id
原文:https://www.cnblogs.com/gispathfinder/p/13167445.html