Skip to main content
Solved

Duplicate geometry in WFS

  • March 12, 2024
  • 3 replies
  • 77 views

Forum|alt.badge.img+1

Hi,
I have data from the WFS address, for parcels of land. I need to perform an additional check in which it will be checked if some of parcels are not duplicated. That is, I need to detect if there are two polygons, one on top of the other, in my layer in WFS in one place. Please give me some suggestions.

Best answer by nielsgerrits

"Matcher" will merge my geometry into one, and I want to not merge but only detect where a duplicate geometry error occurs

Certainly not. It only analyses the input. From the documentation:

Output Ports

Matched
All features matching another feature are output to the Matched port.

SingleMatched
A single copy of each set of matched features is sent to the SingleMatched port. The attributes on these features will be merged onto the single output feature.

NotMatched
All non-matching features are sent to the NotMatched port.

So, if you need unique geometries, you need the features from SingleMatched and NotMatched.

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

nielsgerrits
VIP
Forum|alt.badge.img+62

Multiple ways to do this, but one way is to use the Matcher.


Forum|alt.badge.img+1
  • Author
  • Participant
  • March 12, 2024

"Matcher" will merge my geometry into one, and I want to not merge but only detect where a duplicate geometry error occurs


nielsgerrits
VIP
Forum|alt.badge.img+62
  • Best Answer
  • March 12, 2024

"Matcher" will merge my geometry into one, and I want to not merge but only detect where a duplicate geometry error occurs

Certainly not. It only analyses the input. From the documentation:

Output Ports

Matched
All features matching another feature are output to the Matched port.

SingleMatched
A single copy of each set of matched features is sent to the SingleMatched port. The attributes on these features will be merged onto the single output feature.

NotMatched
All non-matching features are sent to the NotMatched port.

So, if you need unique geometries, you need the features from SingleMatched and NotMatched.