Select to view content in your preferred language

Create Composite Line

1775
3
09-27-2010 04:15 PM
KeithSandell
Regular Contributor
Does anyone know of an out-of-the-box tool or ArcScript that takes completely dissimilar lines (at least two or more) and creates a composite line that's length and geometry is based on a statistical (average, mean, etc.) measurement of the input line values?

Similar to a best-fit line for a group of points, but this output would be a best fit for lines and not necessarily be a straight-line, i.e. if the inputs had many vertices then the output would have a similar number of vertices.

I've attached a crude picture of what I am trying to accomplish. The Red lines are the inputs and the Black line is the hypothetical output.

This seems like it could be a very complicated undertaking and I don't want to reinvent the wheel if someone has already thought through this, or any thoughts about how I could best go about accomplishing this, thanks?
0 Kudos
3 Replies
KeithSandell
Regular Contributor
...there is an effective and theoretically justified solution...


Bill,

Wow! Your solution sounds like it is the cat's meow and certaintly sounds sound, but a little above my "current" level. No different from my past 4 years in GIS...there is always something new to learn. Thanks for the great info.

I'll look into this!
0 Kudos
ammarafaneh
Emerging Contributor
hi,

Im sorry i cant help you but you might be able to help me !
you mentioned that you dont want a best fit straight line for a group of points... I DO !
do you know how can i do that ???
i have a shape file with a lot of points in it and i wanna graph a best fit line for a selected group of them... i'll really appreciate it if you can help me

Regards,
Ammar
0 Kudos
ammarafaneh
Emerging Contributor
thanx whuber
i know how to do it mathematically i actually use linear regression
i wanted to do it in ArcGIS .. code or tool or something like that
0 Kudos