Next question: Why this gives true for me? Create test data
ogr2ogr -f flatgeobuf test.fgb -lco SPATIAL_INDEX=NO kiinteistorekisterikartta.gpkg PalstanSijaintitiedot Python: from osgeo import ogr fgb_ds = ogr.Open("test.fgb") fgb_lyr = fgb_ds.GetLayer(0) fgb_lyr.TestCapability(ogr.OLCFastGetExtent) True -Jukka- Lähettäjä: Even Rouault <even.roua...@spatialys.com> Lähetetty: torstai 5. joulukuuta 2024 17.35 Vastaanottaja: Rahkonen Jukka <jukka.rahko...@maanmittauslaitos.fi>; 'gdal-dev@lists.osgeo.org' (gdal-dev@lists.osgeo.org) <gdal-dev@lists.osgeo.org> Aihe: Re: [gdal-dev] Where to find a FlatGeobuf test file? Jukka, in autotest/ relative file paths are relative to where the .py file is located, so here the test file is at https://github.com/OSGeo/gdal/tree/master/autotest/ogr/data/testfgb Even Le 05/12/2024 à 15:55, Rahkonen Jukka via gdal-dev a écrit : Hi, There is a FlatGeobuf test in here https://github.com/OSGeo/gdal/blob/436ae05694cf52526ef606853828b5ec9300d50d/autotest/ogr/ogr_flatgeobuf.py#L182 but I cannot find the file "data/testfgb/poly_no_index.fgb" anywhere. Is it created on-the-fly or what? -Jukka Rahkonen- _______________________________________________ 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<http://www.spatialys.com/> My software is free, but my time generally not. Butcher of all kinds of standards, open or closed formats. At the end, this is just about bytes.
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev