Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeoParquet driver broken #146

Open
visr opened this issue Feb 1, 2023 · 0 comments
Open

GeoParquet driver broken #146

visr opened this issue Feb 1, 2023 · 0 comments
Labels

Comments

@visr
Copy link
Member

visr commented Feb 1, 2023

Since JuliaPackaging/Yggdrasil#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
@visr visr added the build label Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant