-
Notifications
You must be signed in to change notification settings - Fork 590
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
PostGIS enhancements #1925
PostGIS enhancements #1925
Conversation
7ec2ca3
to
eec61a6
Compare
cd5b860
to
218dc1b
Compare
|
@cpcloud I've added a few tests exercising the ibis APIs, but I have not done any testing against the actual PostGIS backend, which will likely take more time, and will involve changes to the test data. If that's acceptable to you for the time-being, this should be good from my perspective. Otherwise I can add more tests next week. The CI failures seem to be unrelated, and afflicting master as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ian-r-rose looks pretty good.
I just added a comment.
I will take a look into the mock tests you commented
|
@ian-r-rose related to |
|
@xmnlab I think that makes sense -- it might take me a day or two to get to it. |
|
@ian-r-rose, great! I can work on that, I will open a PR for that and you can pick the commit from there. |
|
@ian-r-rose related to smoke test I am working on this PR #1928 |
|
@ian-r-rose Can you rebase and force push to pick up some changes that should make your builds pass? |
be5178c
to
7c32bf4
Compare
|
Rebased |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @ian-r-rose!
|
thanks @ian-r-rose for working on that! :) |
Follow up to #1787 and #1925 . This adds a number of new operations for the PostGIS backend: * `ST_GeometryType` * `ST_GeometryN` * `ST_IsValid` * `ST_LineLocatePoint` * `ST_LineMerge` * `ST_LineSubstring` * `ST_OrderingEquals` * `ST_Union` The last one requires special attention. That [`ST_Union`](http://postgis.net/docs/ST_Union.html) is available as both a value operation and a column aggregation operation. To avoid a name collision in the ibis APIs, I have named the aggregation variant `unary_union`. This is following the same choice made by [GeoPandas](h ttp://geopandas.org/reference.html#geopandas.GeoSeries.unary_union). Author: Ian Rose <ian.r.rose@gmail.com> Closes #1987 from ian-r-rose/more-postgis-ops and squashes the following commits: aa3de1d [Ian Rose] Work on docstring styles. 379156f [Ian Rose] Export new ops as part of the top-level expr api. dfba5de [Ian Rose] Add ST_Union functionality. 02ba505 [Ian Rose] Add some tests for the new functions. 259a477 [Ian Rose] Work on some additional geospatial operations and their implementation in postgis.
I still need to add some tests, but wanted to put this out for comment.