Hello, I edited an empty shapefile using ShapefileFeatureTable.
However, when I checked the shapefile in QGIS, no geometry was displayed, even though the shapefile actually contains a polygon.
It looks like ShapefileFeatureTable does not update the extent of the shapefile, is that correct?
Here is the output of ogrinfo:
$ ogrinfo -al -so test.shp
INFO: Open of `test.shp'
using driver `ESRI Shapefile' successful.
Layer name: test
Metadata:
DBF_DATE_LAST_UPDATE=2025-12-17
Geometry: Polygon
Feature Count: 1
Extent: (0.000000, 0.000000) - (0.000000, 0.000000)
...
$ ogrinfo -al test.shp
INFO: Open of `test.shp'
using driver `ESRI Shapefile' successful.
Layer name: test
Metadata:
DBF_DATE_LAST_UPDATE=2025-12-17
Geometry: Polygon
Feature Count: 1
Extent: (0.000000, 0.000000) - (0.000000, 0.000000)
...
OGRFeature(test):0
level (Integer64) = 3
POLYGON ((139.757125 35.671236,139.757125 35.691236,
139.777125 35.691236,139.777125 35.671236,
139.757125 35.671236))