Skip to content

Conversation

tswast
Copy link
Collaborator

@tswast tswast commented Oct 1, 2025

This commit implements 6 new GeoSeries scalar properties and methods:

  • is_empty
  • geom_type
  • is_ring
  • is_simple
  • is_valid
  • union

This change includes:

  • Defining the new operations in bigframes/operations/geo_ops.py.
  • Implementing the compilation logic for both Ibis and Polars backends.
  • Adding the new properties and methods to the GeoSeries class.
  • Adding unit tests for all new features.

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

This commit implements 6 new GeoSeries scalar properties and methods:
- `is_empty`
- `geom_type`
- `is_ring`
- `is_simple`
- `is_valid`
- `union`

This change includes:
- Defining the new operations in `bigframes/operations/geo_ops.py`.
- Implementing the compilation logic for both Ibis and Polars backends.
- Adding the new properties and methods to the `GeoSeries` class.
- Adding unit tests for all new features.
@product-auto-label product-auto-label bot added size: l Pull request size is large. api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. labels Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant