Skip to main content
Question

ChangeDetector Check Geometry vs Shape

  • August 10, 2021
  • 2 replies
  • 72 views

Forum|alt.badge.img

Hi,

If I Check Geometry in the ChangeDetector does comparing Shape in the Check Attributes do anything additional or are the Shape attributes compared as part of the Check Geometry?

Thanks,

David

2 replies

jkr_wrk
Influencer
Forum|alt.badge.img+35
  • August 11, 2021

When I create 2 points and connect them to a ChangeDetector I can not select the Shape attribute. This means that your Shape attribute probably contains a text or binary version of the Geometry. Checking this attribute in the Check Attributes will do a binary or text comparison. This for example means that LINESTRING(5 1,6 1) will not match LINESTRING(6 1,5 1) but Check geometry with Lenient Geometry Matching set to Yes will match as unchanged. So I would recommend to detect changes on the geometry and not on the text/binary version of the geometry. You can see the contents of the Shape attribute if you connect an Inspector to the Transformer (or prior Transformer).


Forum|alt.badge.img
  • Author
  • August 11, 2021

When I create 2 points and connect them to a ChangeDetector I can not select the Shape attribute. This means that your Shape attribute probably contains a text or binary version of the Geometry. Checking this attribute in the Check Attributes will do a binary or text comparison. This for example means that LINESTRING(5 1,6 1) will not match LINESTRING(6 1,5 1) but Check geometry with Lenient Geometry Matching set to Yes will match as unchanged. So I would recommend to detect changes on the geometry and not on the text/binary version of the geometry. You can see the contents of the Shape attribute if you connect an Inspector to the Transformer (or prior Transformer).

Thank you. I could not find an explanation in the documentation.