Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please enable third elevation value for Points #272

Closed
EugeneNaloiko opened this issue Jun 18, 2024 · 1 comment
Closed

Please enable third elevation value for Points #272

EugeneNaloiko opened this issue Jun 18, 2024 · 1 comment

Comments

@EugeneNaloiko
Copy link

According to GeoJSON standard the Points are [x, y] or [x, y, z]. Elevation, in meters, https://datatracker.ietf.org/doc/rfc7946/ is an optional third number.

@macdrevx
Copy link
Member

Thanks for the feature request. I'm going to merge this into the existing tracking issue #252.

Could you say more about your use case?

I don't think we have a clear idea yet of how we'd model the optional z. Would we extend Point with another property of type Double?? Would we add an entire parallel set of geometry types that all have z coordinates? How would this impact interactions with GEOS? Would we need to restrict certain operations to only work with [x, y] or [x, y, z]?

It's definitely a capability worth investigating, but it would take some work to figure out how to do it without making the existing developer experience worse for folks who only need [x, y]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants