0

I have a csv file containing a breakline points' coordinates and their elevation.

How can I create a 3d polyline from these points?

The CSV file looks like this:

  X              Y         z
384282.6    244807.4    22.1807
384376.4    244791.2    12.6306
384467.5    244773.5    12.634
384535.7    244745      12.5274
384593.4    244701.9    12.6257
  • What does your CSV file look like? Please include a few test rows from it in your question. – PolyGeo Dec 30 '15 at 7:50
  • It is just a simple csv file, contains three columns, x column ,y column and z column. – Mike Dec 30 '15 at 12:05
  • 1
    Please edit the question in response to comments requesting clarification. The answer to your question really does depend on the exact data format, so a data sample is not an unreasonable request. – Vince Dec 30 '15 at 12:41
  • 1
    Third-party links are not often followed. Please include five rows of the file in the question – Vince Dec 30 '15 at 15:21
3

Add XY Data to map (ensure to include Z-coordinate as well)

Export result to Shapefile or a Geodatabase Feature Class

Use Points to Line tool to convert the points to a polyline

Because you included Z-Coordinate the resulting polyline is a 3D polyline

Using your data, here is the result in ArcScene (exaggerated 10x): enter image description here

  • Thanks Jakub for your response. How can I add this breakline to a raster. I have a raster for the same area, I want to adjust the raster elevation along this breakline. – Mike Dec 31 '15 at 5:42
1

The ASCII 3D to Feature Class Tool can also be used for this task. Using the sample data above, it produces the output below. Set Output Feature Class Type to POLYLINE

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.