Select to view content in your preferred language

Drawing separate lines from points with the same ID number

299
3
Jump to solution
09-11-2024 02:00 AM
Labels (2)
fred7
by
Regular Contributor

Hello,

I have CSV file with ship track points that I import to Arcgis Pro. I would like to make points to lines, based on ID-number. But these polylines must be separated by ID number, not connected.

For example, in CSV file I have 

ID;Time;Speed;Latitude;Longitude

E1; 2024.1.1 15:00; 3.3; 58.313254623; 23.654234

E1; 2024.1.1 17:00; 3.3; 58.32456245; 23.65324324

E33; 2024.1.1 11:00; 3.3; 58.353453; 23.6534534

E1; 2024.1.1 12:00; 3.3; 58.5345345; 23.6523454234

E33; 2024.1.1 19:00; 3.3; 58.3324243; 23.65234

How do I draw separate polylines that connect same ID points sorted by Time.
So far I have managed to draw the polylines but the polyline is connected. For example after ID="E1" last value the polylines connects to new ID (for example ID="2"). So the ship tracks crosses land, because different ID ships are located in different harbours. But I would like the polylines to be separated.

For example, if one ship travels from one harbour to another. Then the polylines is also from one harbour to another. 

0 Kudos
1 Solution

Accepted Solutions
DanPatterson
MVP Esteemed Contributor
0 Kudos
3 Replies
DanPatterson
MVP Esteemed Contributor
0 Kudos
fred7
by
Regular Contributor

Thank you! I put Line Grouping Field = ID, Sort Field = Time, but still I get ship tracks (polylines) over land...

0 Kudos
DanPatterson
MVP Esteemed Contributor

an image of what you are referring to would help, as well as a list of the points that make up the sequence might help


... sort of retired...
0 Kudos