You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sedona.apache.org by "furqaankhan (via GitHub)" <gi...@apache.org> on 2023/07/10 16:07:26 UTC
[GitHub] [sedona] furqaankhan commented on a diff in pull request #889: [SEDONA-200] Add ST_CoordDim to Sedona
furqaankhan commented on code in PR #889:
URL: https://github.com/apache/sedona/pull/889#discussion_r1258483955
##########
common/src/main/java/org/apache/sedona/common/Functions.java:
##########
@@ -1045,4 +1045,18 @@ public static Double hausdorffDistance(Geometry g1, Geometry g2, double densityF
public static Double hausdorffDistance(Geometry g1, Geometry g2) throws Exception{
return GeomUtils.getHausdorffDistance(g1, g2, -1);
}
+
+ public static int coordDim(Geometry geom) {
Review Comment:
I was going to reuse nDims() func but I wasn't sure about coding standards.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@sedona.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org