Skip to main content
Solved

How to create a Polyline shapefile from CSV/excel data

  • August 25, 2021
  • 5 replies
  • 180 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.

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
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3700 replies
  • August 25, 2021

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


kburande
  • Author
  • 3 replies
  • August 25, 2021

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
  • 3 replies
  • August 25, 2021


redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3700 replies
  • Best Answer
  • August 25, 2021

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
  • 3 replies
  • August 25, 2021

Thanks a lot , that was very helpful!!😀