-
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
FEAT: Add more POSTGIS operations #1987
Conversation
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.
hey @ian-r-rose I added some comments related to docstring.
I am working to fix all docstrings issues in the code and also add docstring checks inside CI.
for now for your code if you want to check you can run:
pydocstyle --convention=numpy PATH_OF_THE_FILE_YOU_WANT_TO_CHECK.py
probably first you need to fix an issue with setup.cfg:
diff --git a/setup.cfg b/setup.cfg
index 124f3c83..d00b8a63 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -14,7 +14,6 @@ exclude = build,dist,docs,versioneer.py,ibis/_version.py,.git,__pycache__,.tox,.
[pydocstyle]
ignore = D105,D107
inherit = false
-match = *.py
[isort]
line_length = 79
|
Thanks for taking a look @xmnlab, I've made the requested changes to the docstrings. |
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 @ian-r-rose ! thanks for working on that!
Follow up to #1787 and #1925 . This adds a number of new operations for the PostGIS backend:
ST_GeometryTypeST_GeometryNST_IsValidST_LineLocatePointST_LineMergeST_LineSubstringST_OrderingEqualsST_UnionThe last one requires special attention. That
ST_Unionis 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 variantunary_union. This is following the same choice made by GeoPandas.