<?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: Flip Line Python script in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/flip-line-python-script/m-p/385702#M13189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/editing-toolbox/flip-line.htm"&gt;flip line geoprocessing tool&lt;/A&gt; apparently doesn't flip the addresses, just the geometry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jun 2017 17:05:34 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2017-06-15T17:05:34Z</dc:date>
    <item>
      <title>Flip Line Python script</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/flip-line-python-script/m-p/385701#M13188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class=""&gt;I have a shapefile with street centerlines with about 1600 segments that are flipped the wrong way.
I ran the Python code below and it worked but I need a way so that the address attributes do not
get flipped when the line is flipped. In the screen shot below you can see an example. 
I need the centerline for Dee Ave to be flipped so that the red (to) and the green (from) swap 
positions, which this script below did. The problem is that I do not want the address 
attributes (1914,1915,1802,1803) to be flipped since they will then be in the wrong position, 
I would need them to stay the way they are.

&lt;/SPAN&gt;&lt;/CODE&gt;&lt;CODE&gt;&lt;SPAN class=""&gt;&lt;IMG __jive_id="357236" alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/357236_example.png" style="width: 620px; height: 134px;" /&gt;

&lt;/SPAN&gt;&lt;/CODE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class=""&gt;from&lt;/SPAN&gt; &lt;SPAN class=""&gt;arcpy&lt;/SPAN&gt; &lt;SPAN class=""&gt;import&lt;/SPAN&gt; &lt;SPAN class=""&gt;env&lt;/SPAN&gt;&lt;SPAN class=""&gt;env&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;workspace&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;"C:/data/project.gdb"&lt;/SPAN&gt;&lt;SPAN class=""&gt;inFeatures&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;"streams"&lt;/SPAN&gt;&lt;SPAN class=""&gt;arcpy&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;FlipLine_edit&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;inFeatures&lt;/SPAN&gt;&lt;SPAN class=""&gt;)
&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;CODE&gt;&lt;SPAN class=""&gt;I appreciate anyone's help! Thank you!&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:24:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/flip-line-python-script/m-p/385701#M13188</guid>
      <dc:creator>ChristianGarcia2</dc:creator>
      <dc:date>2021-12-12T16:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Flip Line Python script</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/flip-line-python-script/m-p/385702#M13189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/editing-toolbox/flip-line.htm"&gt;flip line geoprocessing tool&lt;/A&gt; apparently doesn't flip the addresses, just the geometry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 17:05:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/flip-line-python-script/m-p/385702#M13189</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-06-15T17:05:34Z</dc:date>
    </item>
  </channel>
</rss>

