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

Support Z coordinate in geometry classes #205

Open
Kirill888 opened this issue Feb 14, 2025 · 0 comments
Open

Support Z coordinate in geometry classes #205

Kirill888 opened this issue Feb 14, 2025 · 0 comments

Comments

@Kirill888
Copy link
Member

shapely and pyproj can operate on geometries/coordinates with XYZ coordinates, not just XY. odc-geo currently assumes that geometries have XY coordinates only. This should change to match capabilities of the underlying libraries.

It is required for an upcoming point cloud support.

At the very least we need to support

  • Creating points with 3d coords present (odc.geo.point, odc.geo.multipoint)
  • Geometry.to_crs(..) should work with XYZ geometries

since underlying libs support it already, the only concern I have is with type annotations, those will have to change and possibly have complicated "overload" functionalities defined.

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

1 participant