Solved

How to create a Polyline shapefile from CSV/excel data

  • 25 August 2021
  • 5 replies
  • 18 views

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

Best answer by redgeographics 25 August 2021, 11:07

View original

5 replies

Userlevel 5
Badge +25

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

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

Userlevel 5
Badge +25

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.

Thanks a lot , that was very helpful!!😀

Reply