What is the bug?
We have an invalid geometry in a shapefile, and when we read that shapefile using the GDAL version from the GDAL-master channel, that geometry is marked as valid.
Steps to reproduce the issue
test_isvalid.py
Steps in script:
- Demonstrate that the WKT is not valid.
- Create a GeoPackage using OGR and show that the geometry is still not valid.
- Create a shapefile using OGR and show that the geometry is now valid.
Versions and provenance
We tested against the gdal-master channel.
gdal 3.12.99 py313h6de05c7_2112 gdal-master
libgdal-core 3.12.99 h977623c_2112 gdal-master
GDAL 3.13.0beta1, released 2026/04/20
Operating system: Windows 11
Additional context
This bug was observed during a test of geofileops against GDAL-master.
What is the bug?
We have an invalid geometry in a shapefile, and when we read that shapefile using the GDAL version from the GDAL-master channel, that geometry is marked as valid.
Steps to reproduce the issue
test_isvalid.py
Steps in script:
Versions and provenance
We tested against the gdal-master channel.
gdal 3.12.99 py313h6de05c7_2112 gdal-master
libgdal-core 3.12.99 h977623c_2112 gdal-master
GDAL 3.13.0beta1, released 2026/04/20
Operating system: Windows 11
Additional context
This bug was observed during a test of geofileops against GDAL-master.