-
-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhancement to support GeoDataFrame, Geometry coercion, and CRS (Feat…
…ure/1108) (#1392) * Enhance Geometry DataType with coerce method that allows parsing of shapely, wkt, wkb, and geojson dict (#1108) Signed-off-by: Derin Walters <[email protected]> * Proper exception capture (#1108) Signed-off-by: Derin Walters <[email protected]> * pydanticize the GeoDataFrame type and allow for setting crs either via GeoSeries/Geometry or GeoDataFrame (#1108) Signed-off-by: Derin Walters <[email protected]> * implement Geometry CRS annotation and check (#1108) Signed-off-by: Derin Walters <[email protected]> * Removed the Geometry dtype because it was kinda stupid to add in the first place since we only use in Pandas/GeoPandas engine. Add more GeoPandas tests. (#1108) Signed-off-by: Derin Walters <[email protected]> * Because of course I changed a comment and forgot to run formatter before committing (#1108) Signed-off-by: Derin Walters <[email protected]> * documentation comments again (#1108) Signed-off-by: Derin Walters <[email protected]> * Fix issue with multiple-CRS and missing the desired CRS coercion, and add test to cover (#1108) Signed-off-by: Derin Walters <[email protected]> * Add to/from formats to GeoDataFrame to feature-match DataFrame, parameterized Geometry, and a bunch of tests to improve coverage (#1108) Signed-off-by: Derin Walters <[email protected]> * If-else import for typing Annotated (#1108) Signed-off-by: Derin Walters <[email protected]> * switch from dataframe equals to pd.testing.assert_frame_equal due to wonky behavior in python 3.8 (#1108) Signed-off-by: Derin Walters <[email protected]> * black formatter (#1108) Signed-off-by: Derin Walters <[email protected]> * Refactor geopandas tests for clarity, add tests for coverage, and remove the GeoDataFrame from_records due to not understanding its purpose well (#1108) Signed-off-by: Derin Walters <[email protected]> * pytest.raises exception message match fix that did not come up in nox (#1108) Signed-off-by: Derin Walters <[email protected]> --------- Signed-off-by: Derin Walters <[email protected]>
- Loading branch information
1 parent
de0ec5f
commit a54d4db
Showing
6 changed files
with
1,343 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.