Skip to content

geom.Contains expected behavior #639

Closed Answered by peterstace
smallfish06 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @smallfish06,

what is boundary of point?

The boundary of a point is always the empty geometry.

But while running below code, result is false.

The Contains predicate is false because the 2nd condition (below) is not met.

At least one point of the interior of B lies on the interior of A. That is, they can't only intersect at their boundaries.

In particular, the interior of B (which is the point itself) doesn't lie on the interior of A (the rectangle). Instead, it lies on the boundary of A.


Hopefully that helps!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@smallfish06
Comment options

Answer selected by smallfish06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants