<?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: How get Polyline length with arcpy? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-get-polyline-length-with-arcpy/m-p/1052293#M5981</link>
    <description>&lt;P&gt;You need an array of Point objects&lt;/P&gt;&lt;P&gt;See the code example in this link&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/classes/polyline.htm" target="_blank"&gt;Polyline—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Apr 2021 14:53:19 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2021-04-28T14:53:19Z</dc:date>
    <item>
      <title>How get Polyline length with arcpy?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-get-polyline-length-with-arcpy/m-p/1052275#M5980</link>
      <description>&lt;P&gt;How get Polyline length?&lt;/P&gt;&lt;P&gt;5275638.50297307 5308417.691663428&lt;BR /&gt;5275634.752936599 5308476.037372201&lt;BR /&gt;5275634.184976945 5308515.710878163&lt;BR /&gt;5275617.412332638 5308509.338851113&lt;BR /&gt;5275597.092486764 5308511.743163031&lt;BR /&gt;5275580.186472058 5308514.360920422&lt;BR /&gt;5275533.894758095 5308520.283088091&lt;BR /&gt;5275534.214086481 5308529.217629748&lt;BR /&gt;5275504.951189122 5308533.458738968&lt;BR /&gt;5275485.222822129 5308534.248161392&lt;BR /&gt;5275458.805185116 5308535.972561657&lt;/P&gt;&lt;P&gt;i try this code, but its show error&lt;/P&gt;&lt;P&gt;polyline = arcpy.Polyline(array)&lt;BR /&gt;polyline.getLength()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\arcobjects\arcobjects.py", line 1561, in getLength&lt;BR /&gt;return convertArcObjectToPythonObject(self._arc_object.GetLength(*gp_fixargs((method, units))))&lt;BR /&gt;ValueError: Опция GEODESIC не может быть использована с геометрией неизвестной системы координат.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 14:33:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-get-polyline-length-with-arcpy/m-p/1052275#M5980</guid>
      <dc:creator>Radzhabad</dc:creator>
      <dc:date>2021-04-28T14:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: How get Polyline length with arcpy?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-get-polyline-length-with-arcpy/m-p/1052293#M5981</link>
      <description>&lt;P&gt;You need an array of Point objects&lt;/P&gt;&lt;P&gt;See the code example in this link&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/classes/polyline.htm" target="_blank"&gt;Polyline—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 14:53:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-get-polyline-length-with-arcpy/m-p/1052293#M5981</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-04-28T14:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: How get Polyline length with arcpy?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-get-polyline-length-with-arcpy/m-p/1052294#M5982</link>
      <description>&lt;P&gt;Perhaps polyline.getLength('PLANAR', 'METERS') or&amp;nbsp;polyline.getLength('GEODESIC', 'METERS') etc.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 14:54:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-get-polyline-length-with-arcpy/m-p/1052294#M5982</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-04-28T14:54:01Z</dc:date>
    </item>
  </channel>
</rss>

