<?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 Replace thousands of polylines in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/replace-thousands-of-polylines/m-p/575267#M18988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I have a complex problem. I have two feature polylines files, the first one displays the correct line (red line) and the other one the wrong one (blue line). I need to delete the blue line and replace it by the red line. This shouldn't be problem if you have only one line to be replaced, but I have over almost 3000 lines that needs to be replaced. So I tried to use the model builder and select the line through the 'Select layer by location' and set 'Within a distance' of 0.25 meters and then select and delete these features, but than also other intersecting lines are selected and deleted. Instead, I need only the parallel line to be selected and deleted. So, does anyone know another solution for my problem? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have added a snapshot of an example of lines.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jun 2011 13:30:48 GMT</pubDate>
    <dc:creator>MatthijsKok</dc:creator>
    <dc:date>2011-06-06T13:30:48Z</dc:date>
    <item>
      <title>Replace thousands of polylines</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/replace-thousands-of-polylines/m-p/575267#M18988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I have a complex problem. I have two feature polylines files, the first one displays the correct line (red line) and the other one the wrong one (blue line). I need to delete the blue line and replace it by the red line. This shouldn't be problem if you have only one line to be replaced, but I have over almost 3000 lines that needs to be replaced. So I tried to use the model builder and select the line through the 'Select layer by location' and set 'Within a distance' of 0.25 meters and then select and delete these features, but than also other intersecting lines are selected and deleted. Instead, I need only the parallel line to be selected and deleted. So, does anyone know another solution for my problem? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have added a snapshot of an example of lines.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 13:30:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/replace-thousands-of-polylines/m-p/575267#M18988</guid>
      <dc:creator>MatthijsKok</dc:creator>
      <dc:date>2011-06-06T13:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Replace thousands of polylines</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/replace-thousands-of-polylines/m-p/575268#M18989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Depending on how similar the blue and red lines are, you can try the following (some tools require ArcInfo Licensing):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Run the Feature Vertices To Points tool with MID option to get midpoints of the red lines - midPtsRed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Run Select By Location to select the blue lines by midPtsRed. The selected blue lines would be ones you want to delete.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Run the Feature Vertices To Points tool with MID option to get midpoints of the selected blue lines - midPtsSelBlue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Run Delete Features to delete the selected blue lines.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Run Select By Location to select the red lines by midPtsSelBlue. The selected red lines would be ones you want to replace the deleted blue lines.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Run Append or Merge Tool to combine the selected red lines with the remaining blue lines (if any).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope the above give you some leads; you may need to involve additional steps to get it right.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 15:46:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/replace-thousands-of-polylines/m-p/575268#M18989</guid>
      <dc:creator>DanLee</dc:creator>
      <dc:date>2011-06-06T15:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Replace thousands of polylines</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/replace-thousands-of-polylines/m-p/575269#M18990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Completely forgotten to thank you, this solution worked great for me!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you for your help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matthijs from the Netherlands&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 10:43:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/replace-thousands-of-polylines/m-p/575269#M18990</guid>
      <dc:creator>MatthijsKok</dc:creator>
      <dc:date>2011-06-22T10:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Replace thousands of polylines</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/replace-thousands-of-polylines/m-p/575270#M18991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Matthijs, you are very welcome! I am glad it worked for you.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I actually wondered if you have a data conflation or spatial adjustment task to do. I am interested in seeing the two "similar" datasets that you are working with. Do you mind sharing a sample area of the two datasets with me? You can attach a zip file to email:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="mailto:dlee@esri.com"&gt;dlee@esri.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 15:59:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/replace-thousands-of-polylines/m-p/575270#M18991</guid>
      <dc:creator>DanLee</dc:creator>
      <dc:date>2011-06-22T15:59:07Z</dc:date>
    </item>
  </channel>
</rss>

