Skip to main content
Question

Matcher - extra vertex tolerance only available with lenient matching?


ebygomm
Influencer
Forum|alt.badge.img+31

It appears that the extra vertex tolerance parameter is not used unless lenient geometry matching is set to yes.

I'd like to match lines considering the direction but allowing for additional vertices within 0.05m of the line but it doesn't appear that there is a straightforward option for this?

I can extract the start coordinate and use that as an attribute in the matcher with lenient geometry turned on, but that removes the possibility of any tolerance at the start points.

Should Extra Vertex tolerance only be available if Lenient Geometry matching is turned on?

5 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

In my opinion: yes. Without lenient geometry you're looking for an exact match and what you're describing isn't an exact match.


ebygomm
Influencer
Forum|alt.badge.img+31
  • Author
  • Influencer
  • December 6, 2018
redgeographics wrote:

In my opinion: yes. Without lenient geometry you're looking for an exact match and what you're describing isn't an exact match.

So i need a little bit lenient but not too lenient option :-)


redgeographics
Celebrity
Forum|alt.badge.img+49
ebygomm wrote:

So i need a little bit lenient but not too lenient option :-)

Indeed! I'm wondering if there's an easy way to work around this issue. As you say, with checking start- and end-coordinates and the number of vertices you can get close to it but perhaps it'd be better if the Matcher would offer more control over what to allow, so instead of just the checkbox for lenient geometry break that up into small deviations, direction, # of vertices etc. If you make an idea out of it I'll vote for it :)


ebygomm
Influencer
Forum|alt.badge.img+31
  • Author
  • Influencer
  • December 6, 2018
redgeographics wrote:

Indeed! I'm wondering if there's an easy way to work around this issue. As you say, with checking start- and end-coordinates and the number of vertices you can get close to it but perhaps it'd be better if the Matcher would offer more control over what to allow, so instead of just the checkbox for lenient geometry break that up into small deviations, direction, # of vertices etc. If you make an idea out of it I'll vote for it :)

I've done some testing and keeping lenient geometry matching on but matching on a rounded x coordinate will match lines that are v. similar and in the same direction but leave lines running in the opposite direction which is what I want.

 

No need to consider the end coordinate or number of coordinates. The rounding of the x attribute effectively allows a tolerance on the start point (at least at the precision level I'm working at)


fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • December 6, 2018

The Matcher had a complete overhaul for FME 2019 and tolerance was a key part of that. Suggest you try out http://www.safe.com/beta if you dare!


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