Skip to main content
Solved

How to create a Polyline shapefile from CSV/excel data

  • Aug 25, 2021 8:08 AM UTC
  • 5 replies
  • 288 views

kburande
How to create a Polyline shapefile from CSV/excel data

Best answer by redgeographics

Ok, you can use 2 VertexCreators, one to create a point at the start easting/northing and a second one to add a point at the end easting/northing. That'll give you a 2-point line for every record in your Excel file. Potentially you can use a LineCombiner to join them into longer lines, but it looks like there's gaps between them.

View original
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

redgeographics
VIP
Forum|alt.badge.img+63

That really depends on how the data is stored in your source file, can you share an example?


kburande
  • Author
  • Aug 25, 2021 8:55 AM UTC

In my csv I have start and end easting(X) and northing(Y) also the lengths of pipes see the highlighted fields below


kburande
  • Author
  • Aug 25, 2021 8:56 AM UTC


redgeographics
VIP
Forum|alt.badge.img+63

Ok, you can use 2 VertexCreators, one to create a point at the start easting/northing and a second one to add a point at the end easting/northing. That'll give you a 2-point line for every record in your Excel file. Potentially you can use a LineCombiner to join them into longer lines, but it looks like there's gaps between them.


kburande
  • Author
  • Aug 25, 2021 11:00 AM UTC

Thanks a lot , that was very helpful!!😀