Support 3D geometries #2792
Replies: 3 comments
-
Thanks for raising this @kevinschaich. To what extent are you requesting support? Let's say the spectrum runs from "let people provide z coords but ignore them for calculations" all the way up to "fully incorporate altitude variations in to all functionality". Do you have a particular use case? Or are you getting errors when supplying a z coord? |
Beta Was this translation helpful? Give feedback.
-
E.g. bezierSpline ignores the z coordinate and returns two-dimensional coordinates. Other 2D functions could project points onto a plane and work inside it. |
Beta Was this translation helpful? Give feedback.
-
Ignore z coordinate would be a great first step. I imagine things get much more complicated if you're doing the actual operations – the GeoJSON spec says:
so that would mean the three coordinates are not in the same units ( Do all the functions share a common parser step at the beginning? If so, would be easy to just strip off the third coordinate and then pass that in. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to support 3D geometries with an optional
z
/altitude
/elevation
coordinate?This is now supported by the GeoJSON spec.
Beta Was this translation helpful? Give feedback.
All reactions