# How to define max and min in Collapse Dual Lines To Centerline Roads

1856
2
12-11-2016 11:01 AM
by
Occasional Contributor II

Hi,

I am having trouble in understanding the max and min in collapse dual lines to centerline. I have two lines running parallel to each other (representing roads in either direction). However, I am only interested in the centerline. I tried Collapse Dual Lines To Centerline. It seems to work for me but not always. the problem seems to be with stating correct values of max and min in the tool. I do no understand how to do this, because sometimes 40m max is good for me sometimes 70m. So one single value does not fix the whole network.

Strangely enough, if I want to do them independently (say selected roads), it is not possible. each time the tool saves the result as a new file. It would have been great if the corrections are saved in the same file.

My question is: how to understand a good value for max and min so that the whole network is fixed at once. I am always using the min value = zero. The help does not say anything except that both values should be positive and max is a compulsory value. This does not help much.

Any help to understand these max min values and to solve such problems would be great.

thank you

Srirama

Tags (3)
2 Replies
Regular Contributor II

If you think that one maximum value is not appropriate for whole roads. you can  do them independently as you said

if I want to do them independently (say selected roads), it is not possible. each time the tool saves the result as a new file.

and you can solve this problem using Append tool ( Append ) to make all result in one feature class/shape file.

Regular Contributor II

Maximum  width is the maximum distance for parallel lines in the same road (roads width) That tool will make center line .

note: may be you have two parallel roads and the distance between them lower than maximum value that you input, so the tool will draw a center line between two roads. and of course you don't want that.

So maximum value should to be Equal to maximum road width and Lower than the distance between two roads.

Minimum width is to define the distance that tool will ignore any parallel lines lower than that value.