Closed maxfreu closed 2 years ago
It looks like you can use getgeom
for this:
https://github.com/yeesian/ArchGDAL.jl/blob/e401e0079d97dac9d4755a4bc9dce345a9c5bf81/src/geointerface.jl#L69-L72
In the end I want to convert the polygons to their julia counterpart from Meshes.jl.
A completely renewed https://github.com/JuliaGeo/GeoInterface.jl/ was just released, with a pending PR in #290. If Meshes would also be open to add this interface (it has 0 dependencies), conversion could be a simple convert
.
Omg, just now I read that getgeom indexing starts at 0... And I wondered why I always get a NULL Geometry
. Shouldn't it simply raise an out of bounds error? Anyway, thanks for the hint & I'm looking forward to the new implementation!
That would probably be a good improvement, yes. I assume it would be a cheap check.
The initial issue has been solved, so I think this can be closed :)
I just don't get it (and can't find the relevant passage in the docs), please help:
In the end I want to convert the polygons to their julia counterpart from Meshes.jl.