Skip to main content
Solved

Duplicate geometry in WFS


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

desubaran wrote:

"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.

 

View original
Did this help you find an answer to your question?

3 replies

nielsgerrits
VIP
Forum|alt.badge.img+53

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+53
  • Best Answer
  • March 12, 2024
desubaran wrote:

"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.

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings