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

[python] Add spatial read to GeometryDataFrame #3733

Open
wants to merge 4 commits into
base: xan/geometry-dataframe-mq-read
Choose a base branch
from

Conversation

XanthosXanthopoulos
Copy link
Collaborator

@XanthosXanthopoulos XanthosXanthopoulos commented Feb 25, 2025

Issue and/or context: sc-52732

Changes:
Coordinate setter utils are now aware of SpatialDataFrame coordinate space. Also domain is expected to be a mapping between axis names and the axis domain for geometry columns.

Notes for Reviewer:
This PR adds spatial reads to GeometryDataFrame. The spatial ranges per axis are all grouped under the spatial column's name. When setting the coordinate ranges for each dimension the geometry column is identified by the added dtype metadata field on the arrow schema field.

@XanthosXanthopoulos XanthosXanthopoulos marked this pull request as ready for review February 25, 2025 14:31
)
if region_coord_space is not None:
raise ValueError(
"Cannot specify the output coordinate space when region transform i"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"Cannot specify the output coordinate space when region transform i"
"Cannot specify the output coordinate space when region transform "

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

Successfully merging this pull request may close these issues.

2 participants