[gdal-dev] 2.5D vs Z in ogrConstants

Even Rouault even.rouault at spatialys.com
Fri Jun 19 16:52:49 PDT 2026


Le 20/06/2026 à 01:37, Greg Troxel via gdal-dev a écrit :
> tl;dr:
>
>    Why is "3D-ness" variantly written "25D" and "Z", in wkbPoint*
>    constants?  Is this just a historical accident?

yes. The 25D stuff in GDAL for the non-curve geometry types precedes ISO 
standardization of the Z encoding. When we added support for curve 
geometry types, we used the ISO Z naming and numeric encoding, but 
didn't dare touching existing enumeration values. A potential GDAL 4.0 
clean-up topic for brave people

Even

-- 
http://www.spatialys.com
My software is free, but my time generally not.



More information about the gdal-dev mailing list