-
Notifications
You must be signed in to change notification settings - Fork 154
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
Deprecate shapefile reader #872
Deprecate shapefile reader #872
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Codecov ReportBase: 92.55% // Head: 92.58% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## branch-23.02 #872 +/- ##
================================================
+ Coverage 92.55% 92.58% +0.02%
================================================
Files 24 24
Lines 1008 1011 +3
================================================
+ Hits 933 936 +3
Misses 75 75
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
/merge |
Description
cuSpatial's C++-based shapefile reader is limited. It can only load polygons (not multipolygons). It was written before cuSpatial supported GeoArrow data format and before it could ingest data from GeoPandas directly. It is better to use GeoPandas or other libraries to load data into cuSpatial. Dropping
read_polygon_shapefile
and its C++ implementation allows dropping the libcuspatial dependency on GDAL, which may help with publishing PIP wheels, which is a priority.This PR simply adds deprecation warnings / decorators to the Python and C++
read_polygon_shapefile
functions and documentation, and updates the Python user guide to mention deprecation.The plan is to remove these functions and tests that depend on them in 23.04.
Checklist