Skip to main content
Solved

How to create a Polyline shapefile from CSV/excel data


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
Did this help you find an answer to your question?

5 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

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


kburande
  • Author
  • 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
  • August 25, 2021


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

Thanks a lot , that was very helpful!!😀


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings