Skip to main content
Hi,

 

 

I have contour lines that I want to join to create polygons. I am using the Snapper transformer followed by the AreaBuilder transformer.

 

 

However, it is difficult to set tolerances for the snapping tool because my input files are all so different.  Is there a way to work out the maximum distance between two ends of a line so then I can set the snapping tolerances differently depending on the length of the gap?

 

 

Thanks,
Hi, that could be done, working out maximum distance, but you need to have some critera to relate the lines. (elevations are not garanteed to be unique within a dataset. Unless it consists of some continuous one direction slope..))

 

Then u need to order the lines so u look for distance only to neighboor.

 

 

But if your contours are genereated with the contourgenerator..you can build areas like this 

 

( from a previous post)

 

 

 


Reply