GDAL.jl
GDAL.jl copied to clipboard
GeoParquet driver broken
Since https://github.com/JuliaPackaging/Yggdrasil/pull/5848, GDAL_jll comes with (Geo)Arrow and (Geo)Parquet support. Loading GeoArrow files seems to work fine, but GeoParquet is only partially working.
Here is a minimal reproducer. The dataset opens fine, we can get the only layer and ask for it's name, but as soon as we try to get the first feature, it crashes Julia with an EXCEPTION_ACCESS_VIOLATION and no further details.
using GDAL
path = "/vsicurl/https://github.com/opengeospatial/geoparquet/raw/v1.0.0-beta.1/examples/example.parquet"
dataset = GDAL.gdalopenex(path, GDAL.GDAL_OF_VECTOR, C_NULL, C_NULL, C_NULL)
layer = GDAL.gdaldatasetgetlayer(dataset, 0)
GDAL.ogr_l_getname(layer) # -> "example"
feature = GDAL.ogr_l_getnextfeature(layer) # segfault