cuspatial icon indicating copy to clipboard operation
cuspatial copied to clipboard

Bounding box of a cuspatial.GeoDataFrame

Open thuydotm opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. I wish I could calculate bounding box of a cuspatial.GeoDataFrame directly with GPU.

Describe the solution you'd like Be able to do cuspatial.GeoDataFrame.total_bounds to get the bounding box of a geo data frame object.

Describe alternatives you've considered With GeoPandas, I can do .total_bounds to obtain this value.

Additional context https://geopandas.org/en/stable/docs/reference/api/geopandas.GeoSeries.total_bounds.html

thuydotm avatar Aug 08 '22 12:08 thuydotm

Heya, this is possible with the API as it exists, but it could be a lot easier. Are you wanting to do this on a heterogeneous dataframe with many different geometry types? Let me know and I can unlock the lower level features to get the min and maxes.

thomcom avatar Aug 11 '22 17:08 thomcom

This issue has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. This issue will be labeled inactive-90d if there is no activity in the next 60 days.

github-actions[bot] avatar Sep 10 '22 18:09 github-actions[bot]