Skip to main content

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?

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


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 :-)


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 :)


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)


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!


Reply