Closed evetion closed 2 years ago
Well, the functions ogr_g_is3d
and similar ones don't return a boolean, but just the &
result. isempty
only worked because it's flag is 0x1
😓.
Implemented in https://github.com/yeesian/ArchGDAL.jl/pull/290
Leaving this open until #290 is merged.
Encountered in #290.
is3d
andismeasured
are missing which makes finding out which coordinate dimensions are implemented difficult. They're easily implemented though:However, a simple test gives the following:
Not sure if related, but looking at the source (https://github.dev/OSGeo/gdal/blob/9e9f8b294418e5f2670dacd5cacb5d6cdeabb797/ogr/ogr_geometry.h#L405), I can see that the is3d flag being set is 2 in this case.
Because of this oddity, I haven't yet implemented it.