Skip to content

GeoParquet driver broken #146

@visr

Description

@visr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions