-
Notifications
You must be signed in to change notification settings - Fork 62
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
Add description and images for ST_Touches #148
Conversation
@@ -2,7 +2,7 @@ | |||
layout: docs | |||
title: ST_Touches | |||
category: h2spatial/predicates | |||
description: | |||
description: Return true if the geometry A touches the geometry B |
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.
Return true if Geometry A touches Geometry B
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.
I know, the Javadoc says this too
Any example where |
|
||
##### Remarks | ||
* `ST_Touches` can only be used to determine the relation between pairs listed here : `(POLYGON, POLYGON)`, `(POLYGON, LINESTRING)`, `(POLYGON, POINT)`, `(LINESTRING, LINESTRING)` and `(LINESTRING, POINT)`. The relation `(POINT, POINT)` is excluded. | ||
* `GEOMETRYCOLLECTION`s are not taken into account. |
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.
Sure?
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.
Yes I confirm. Since JTS 1.13, GeometryCollections are not allowed. I made a test on JTS and on H2GIS.
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.
OK thanks!
So do you want to include an example where |
Great! |
Add description and images for ST_Touches
Add description and images for ST_Touches
TODO : add some unit tests for this function
See #108.