<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Convert 3D points to 3D lines (elevation data and river cross sections) in 3D Questions</title>
    <link>https://community.esri.com/t5/3d-questions/convert-3d-points-to-3d-lines-elevation-data-and/m-p/142488#M865</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that your csv file contains a semi colon as field separator and a comma as decimal sign. I changed it to the standard comma as field separator and point as decimal sign and it seems to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/115980_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I will attach the resulting files to the thread. The code is the same (although I am reading a copy of the csv file). I have attached the code as .py file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jul 2015 12:43:39 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2015-07-08T12:43:39Z</dc:date>
    <item>
      <title>Convert 3D points to 3D lines (elevation data and river cross sections)</title>
      <link>https://community.esri.com/t5/3d-questions/convert-3d-points-to-3d-lines-elevation-data-and/m-p/142483#M860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;Dear Xander and others,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;I am very interested by your topic. I am also trying to convert 3D points into 3D lines. The data is elevation points on river cross sections. I tried this procedure based on standard tools: &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;1) “Split Line At Point”: lines = cross sections; points = elevation surveys&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;2) “Spatial Join”: target features = split segments; join features = elevation surveys, to match point attributes (Z, order of the points, etc) with split segments&lt;/SPAN&gt;&lt;/P&gt;&lt;H1 style="text-align: justify;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: black; font-weight: normal;"&gt;3) “Feature To 3D By Attribute” on join split segments&lt;/SPAN&gt;&lt;/H1&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;4) “Dissolve”: aggregate split segments based on cross section IDs &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;This procedure does not work well. “Split Line at Point” fails to take points spaced of a few centimeters. However it is not a major problem since it can permit to smooth elevation points. The main problem is “Spatial Join” does not match correctly segments with points: most of the time the same point attribute is given to two successive segments surrounding the point, so that approximately half the point information of the data set is missing. Finally the dissolved lines do not align with points. See the ArcScene capture: colored segments are join split segments, red lines are dissolved lines, and black points are elevation surveys.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;&lt;IMG alt="captureCS.jpg" class="image-1 jive-image" height="324" src="https://community.esri.com/legacyfs/online/115877_captureCS.jpg" style="width: 518px; height: 324.168px;" width="518" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;So I would be very interested by using your Python code! However I am a very (very) beginner of Python and I am not sure how to use it. It tried to adjust the code: &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;&lt;IMG alt="capturecode.jpg" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/115878_capturecode.jpg" style="height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-left: 5.0pt; margin-bottom: .0001pt; text-align: justify; text-indent: -5.0pt;"&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;But I get error messages. Please could you provide me assistance?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;Thank you in advance for your reply. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 15:27:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/convert-3d-points-to-3d-lines-elevation-data-and/m-p/142483#M860</guid>
      <dc:creator>fannyarnaud1</dc:creator>
      <dc:date>2015-07-07T15:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Convert 3D points to 3D lines (elevation data and river cross sections)</title>
      <link>https://community.esri.com/t5/3d-questions/convert-3d-points-to-3d-lines-elevation-data-and/m-p/142484#M861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/2034"&gt;Timothy Hales&lt;/A&gt;​, can you branch this question into a new discussion (question) or upgrade my permissions to the other places too? Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/152381"&gt;fanny arnaud&lt;/A&gt; , I will ask Timothy to branch this to a new question, since I don't have rights to do this. When you include code could you please follow the instructions in this &lt;A href="https://community.esri.com/migration-blogpost/1070"&gt;Posting Code blocks in the new GeoNet&lt;/A&gt; . This way the code can be copied and used. Is it also possible to attach some sample data? This allows me (and others) to more efficiently adapt the code and/or advise you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards, Xander&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Edit: the thread with the original code is located here: &lt;/EM&gt;&lt;A href="https://community.esri.com/thread/159617"&gt;Convert 3D points to 3D lines (underground well data)&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 22:28:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/convert-3d-points-to-3d-lines-elevation-data-and/m-p/142484#M861</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2015-07-07T22:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Convert 3D points to 3D lines (elevation data and river cross sections)</title>
      <link>https://community.esri.com/t5/3d-questions/convert-3d-points-to-3d-lines-elevation-data-and/m-p/142485#M862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;​ and &lt;A href="https://community.esri.com/migrated-users/152381"&gt;fanny arnaud&lt;/A&gt;​ I have branched this reply to a new discussion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 02:44:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/convert-3d-points-to-3d-lines-elevation-data-and/m-p/142485#M862</guid>
      <dc:creator>TimothyHales</dc:creator>
      <dc:date>2015-07-08T02:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Convert 3D points to 3D lines (elevation data and river cross sections)</title>
      <link>https://community.esri.com/t5/3d-questions/convert-3d-points-to-3d-lines-elevation-data-and/m-p/142486#M863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some first comments:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;the image does not show all lines (lines 52 - 65 are missing)&lt;/LI&gt;&lt;LI&gt;on line 42, you have a closing bracket after "lineid" which should be removed (it is causing an incorrect syntax).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;def main():
&amp;nbsp;&amp;nbsp;&amp;nbsp; import csv
&amp;nbsp;&amp;nbsp;&amp;nbsp; import arcpy

&amp;nbsp;&amp;nbsp;&amp;nbsp; # input csv
&amp;nbsp;&amp;nbsp;&amp;nbsp; csv_path = r"C:\Users\Desktop\E0_L93.csv"
&amp;nbsp;&amp;nbsp;&amp;nbsp; fld_x = 'POINT_X'
&amp;nbsp;&amp;nbsp;&amp;nbsp; fld_y = 'POINT_Y'
&amp;nbsp;&amp;nbsp;&amp;nbsp; fld_z = 'Zc'
&amp;nbsp;&amp;nbsp;&amp;nbsp; fld_order = 'DistX'
&amp;nbsp;&amp;nbsp;&amp;nbsp; fld_lineid = 'numPT'

&amp;nbsp;&amp;nbsp;&amp;nbsp; # settings
&amp;nbsp;&amp;nbsp;&amp;nbsp; sr = arcpy.SpatialReference(2154) # lambert93
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.env.overwriteOutput = True

&amp;nbsp;&amp;nbsp;&amp;nbsp; # output featureclass (could also point to fc in fgdb)
&amp;nbsp;&amp;nbsp;&amp;nbsp; fc = r"C:\Users\Desktop\testE0_L93.shp"
&amp;nbsp;&amp;nbsp;&amp;nbsp; lineids = []
&amp;nbsp;&amp;nbsp;&amp;nbsp; dct = {}
&amp;nbsp;&amp;nbsp;&amp;nbsp; # read csv
&amp;nbsp;&amp;nbsp;&amp;nbsp; with open(csv_path, 'rb') as f:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reader = csv.reader(f)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cnt = 0
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for row in reader:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cnt += 1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if cnt == 1:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # header
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; header = row
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # read fields from data
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lineid = row[header.index(fld_lineid)]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x = float(row[header.index(fld_x)])
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; y = float(row[header.index(fld_y)])
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; z = float(row[header.index(fld_z)])

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # create point object with XYZ
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pnt = arcpy.Point(x, y, z)

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # read order and create string to sort on (lineid + order)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; order = row[header.index(fld_order)]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; srt = "{0}_{1}".format(lineid,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "{0}".format(round(float(order), 1)).zfill(8))

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # create nested dictionary with points per line
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if lineid in dct:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dct[lineid][srt] = pnt
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dct[lineid] = {}
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dct[lineid][srt] = pnt

&amp;nbsp;&amp;nbsp;&amp;nbsp; # create polylines
&amp;nbsp;&amp;nbsp;&amp;nbsp; lst_polylines = []
&amp;nbsp;&amp;nbsp;&amp;nbsp; for lineid, dct2 in dct.items():
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lst_pnt = []
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for srt, pnt in sorted(dct2.items()):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lst_pnt.append(pnt)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; polyline = arcpy.Polyline(arcpy.Array(lst_pnt), sr, True, False)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lst_polylines.append(polyline)

&amp;nbsp;&amp;nbsp;&amp;nbsp; # write polylines to output featureclass
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CopyFeatures_management(lst_polylines, fc)

if __name__ == '__main__':
&amp;nbsp;&amp;nbsp;&amp;nbsp; main()&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I don't know if this will work with your data...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:50:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/convert-3d-points-to-3d-lines-elevation-data-and/m-p/142486#M863</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2021-12-11T07:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Convert 3D points to 3D lines (elevation data and river cross sections)</title>
      <link>https://community.esri.com/t5/3d-questions/convert-3d-points-to-3d-lines-elevation-data-and/m-p/142487#M864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xander,&lt;/P&gt;&lt;P&gt;Thank you very much for your quick reply. I tried to use your code but I still received error messages (indentation). Here attached is a sample of my dataset if you want to have a look at it.&lt;/P&gt;&lt;P&gt;I am using ArcGIS 10.2.&lt;/P&gt;&lt;P&gt;XY coordinates are in Lambert 93 and Z in meters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 11:37:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/convert-3d-points-to-3d-lines-elevation-data-and/m-p/142487#M864</guid>
      <dc:creator>fannyarnaud1</dc:creator>
      <dc:date>2015-07-08T11:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Convert 3D points to 3D lines (elevation data and river cross sections)</title>
      <link>https://community.esri.com/t5/3d-questions/convert-3d-points-to-3d-lines-elevation-data-and/m-p/142488#M865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that your csv file contains a semi colon as field separator and a comma as decimal sign. I changed it to the standard comma as field separator and point as decimal sign and it seems to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/115980_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I will attach the resulting files to the thread. The code is the same (although I am reading a copy of the csv file). I have attached the code as .py file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 12:43:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/convert-3d-points-to-3d-lines-elevation-data-and/m-p/142488#M865</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2015-07-08T12:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Convert 3D points to 3D lines (elevation data and river cross sections)</title>
      <link>https://community.esri.com/t5/3d-questions/convert-3d-points-to-3d-lines-elevation-data-and/m-p/142489#M866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;great! the code works well with the standard csv format. Thank you very much.&lt;/P&gt;&lt;P&gt;Actually 3D lines are the first step of a procedure to create bathymetry mesh from cross sections (V. Merwade's tool). At the moment I have to solve installation bugs on a downgraded version of ArcGIS but I hope the tool will work well.&lt;/P&gt;&lt;P&gt;Thank you again for helping me with your code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 14:15:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/3d-questions/convert-3d-points-to-3d-lines-elevation-data-and/m-p/142489#M866</guid>
      <dc:creator>fannyarnaud1</dc:creator>
      <dc:date>2015-07-08T14:15:37Z</dc:date>
    </item>
  </channel>
</rss>

