How to create multiple lines parallel to each other based on points

1434
5
Jump to solution
08-25-2016 04:41 PM
GoldenJiang
New Contributor II

I have massive points like this and I want to generate multiple lines parallel to each other: 

I tried `points to lines` but clearly the program is confused: 

Is there a way to create multiple lines based on track points? 

0 Kudos
1 Solution

Accepted Solutions
DanPatterson_Retired
MVP Esteemed Contributor

coordinates and measures are out of bounds is a totally different issue.  open a new dataframe and work with just that file to prevent muddying things up.  

So your data are messed up as well? what happened? if this is from a gps, then it looks like you had some signal loss or something? ergo the year 2000 entries.  How many have you got? just this one dataset or hundreds?  A lot of these issues should be fixed up at the gps collection stage by starting and ending tracks and download them as such.

So now, I have suggested several things, but you appear to be following a different path which I can't follow since the data revelation is occuring in increments.  Good luck

View solution in original post

5 Replies
DanPatterson_Retired
MVP Esteemed Contributor

What did you specify for the line field? Points To Line—Help | ArcGIS for Desktop 

If nothing, then it did as designed.... connect all the points.

You need a unique identifier to connect points to form one line from all the input points.

GoldenJiang
New Contributor II

Just added one important information: I have the time these samples are collected! 

0 Kudos
DanPatterson_Retired
MVP Esteemed Contributor

time is good... if it tells you when a particular endpoint has been reached.

You could also determine the bearing between sequential points... when the bearing does a 180ish, then you know you have reached the end of the sequence and a new one has begun.

Lots of possibilities... just depends on what you have in terms of data and your programming skills since out of the box stuff won't work.

But... if you want to cheat a bit. why don't you just cut the line north south a teensie bit on both ends to essentiall cut the string into many pieces.... then use the MultiPartToSinglePart tool and amazingly you will have all kinds of lines with the start and end points just a tad off... but these were gps points weren't they, so no big deal I suppose.  Quick, simple and a lot less work than some elaborate solution 

GoldenJiang
New Contributor II

Thanks Dan, I stick with the data and time that I am having, but as you can see, they are not uniform, which is probably why error `the coordinates or measures are out of bounds` occur.  Also I notice both Date and Time are string field.  Is there any way to connect them in time sequence so that `point to line` can run? 

0 Kudos
DanPatterson_Retired
MVP Esteemed Contributor

coordinates and measures are out of bounds is a totally different issue.  open a new dataframe and work with just that file to prevent muddying things up.  

So your data are messed up as well? what happened? if this is from a gps, then it looks like you had some signal loss or something? ergo the year 2000 entries.  How many have you got? just this one dataset or hundreds?  A lot of these issues should be fixed up at the gps collection stage by starting and ending tracks and download them as such.

So now, I have suggested several things, but you appear to be following a different path which I can't follow since the data revelation is occuring in increments.  Good luck