<?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: Split Line by Point --change  output to original line feature class in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/split-line-by-point-change-output-to-original-line/m-p/1175559#M64589</link>
    <description>&lt;P&gt;Either run the split tool manually in ArcGIS Pro or output the result to a file geodatabase so you can see what it looks like. Compare the fields yourself and see if anything changes and make the field mappings accordingly. Alternatively, use the "NO_TEST"&amp;nbsp;&lt;SPAN&gt;schema_type option for Append:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;SPAN&gt;Fields from the input dataset do not need to match the fields of the target dataset. Any fields from the input datasets that do not match the fields of the target dataset will not be mapped to the target dataset unless the mapping is explicitly set in the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Field Map&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;parameter.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Thu, 19 May 2022 14:35:41 GMT</pubDate>
    <dc:creator>BlakeTerhune</dc:creator>
    <dc:date>2022-05-19T14:35:41Z</dc:date>
    <item>
      <title>Split Line by Point --change  output to original line feature class</title>
      <link>https://community.esri.com/t5/python-questions/split-line-by-point-change-output-to-original-line/m-p/1173736#M64546</link>
      <description>&lt;PRE&gt;arcpy.management.SplitLineAtPoint(in_features, point_features, &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;out_feature_class&lt;/FONT&gt;&lt;/STRONG&gt;, {search_radius})&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;The above code line outputs the split features to a new feature class or rewrites an existing feature class.&amp;nbsp; I want the split features to be output to the original SDE line feature class.&amp;nbsp; It seems not doable.&amp;nbsp; I got the feature class exists message.&lt;/P&gt;&lt;P&gt;I need to have split features in the original line feature class and delete the original feature after the feature is split.&amp;nbsp; If the split features have to be in another feature class then I have to add them back.&amp;nbsp; I am wondering if it is a better way to create new features based on the line's start/endpoints and the split point.&lt;/P&gt;&lt;P&gt;I'd like to know if there is a better way to do this.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 15:19:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/split-line-by-point-change-output-to-original-line/m-p/1173736#M64546</guid>
      <dc:creator>YinghongLi1</dc:creator>
      <dc:date>2022-05-13T15:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Split Line by Point --change  output to original line feature class</title>
      <link>https://community.esri.com/t5/python-questions/split-line-by-point-change-output-to-original-line/m-p/1173965#M64551</link>
      <description>&lt;P&gt;The obvious would be to edit the features that you need to change, but you obviously have many to do and this wouldn't be an option.&lt;/P&gt;&lt;P&gt;Overwriting anything without a backup is obviously not recommended, so creating a new featureclass would be best if editing isn't an option.&lt;/P&gt;</description>
      <pubDate>Sat, 14 May 2022 00:06:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/split-line-by-point-change-output-to-original-line/m-p/1173965#M64551</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-05-14T00:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Split Line by Point --change  output to original line feature class</title>
      <link>https://community.esri.com/t5/python-questions/split-line-by-point-change-output-to-original-line/m-p/1174228#M64562</link>
      <description>&lt;P&gt;If you are certain that replacing the original feature class is safe, try adding&amp;nbsp;&lt;FONT face="courier new,courier" color="#333333"&gt;arcpy.env.&lt;SPAN&gt;overwriteOutput = True &lt;/SPAN&gt;&lt;/FONT&gt;before you call the gp tool.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/2.8/arcpy/classes/env.htm" target="_blank"&gt;env—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 16:16:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/split-line-by-point-change-output-to-original-line/m-p/1174228#M64562</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2022-05-16T16:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Split Line by Point --change  output to original line feature class</title>
      <link>https://community.esri.com/t5/python-questions/split-line-by-point-change-output-to-original-line/m-p/1174250#M64564</link>
      <description>&lt;P&gt;I only want to add the split features to the original feature class -- the one contains feature to be split, not overwrite the feature class.&amp;nbsp; I want the split to behave like the split tool in ArcGIS Pro.&amp;nbsp; I guess it is not doable.&amp;nbsp; I may have to create two new features and insert them to the original feature class.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 16:51:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/split-line-by-point-change-output-to-original-line/m-p/1174250#M64564</guid>
      <dc:creator>YinghongLi1</dc:creator>
      <dc:date>2022-05-16T16:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Split Line by Point --change  output to original line feature class</title>
      <link>https://community.esri.com/t5/python-questions/split-line-by-point-change-output-to-original-line/m-p/1174264#M64565</link>
      <description>&lt;P&gt;If you add the split features to the original feature class, then you'll have duplicate features: the original lines and the split lines. If that what you want, just use &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/append.htm" target="_self"&gt;Append&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 17:26:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/split-line-by-point-change-output-to-original-line/m-p/1174264#M64565</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2022-05-16T17:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Split Line by Point --change  output to original line feature class</title>
      <link>https://community.esri.com/t5/python-questions/split-line-by-point-change-output-to-original-line/m-p/1175395#M64585</link>
      <description>&lt;P&gt;The reason I need to have new features and original feature coexist in the feature class is that I have to copy non-system attributes to the new features and length fields need to have the calculation done.&amp;nbsp; once I finish the processing of the attribute I can delete the original feature.&lt;/P&gt;&lt;P&gt;I tested append it worked.&amp;nbsp; However, the field mapping is a problem.&amp;nbsp; I do not know which line feature class is the editing layer so I can not hard-code the fields.&amp;nbsp; in theory, new features have same fields as the original one.&amp;nbsp; Do not know why the fields do not match.&amp;nbsp; Any suggestion?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 01:24:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/split-line-by-point-change-output-to-original-line/m-p/1175395#M64585</guid>
      <dc:creator>YinghongLi1</dc:creator>
      <dc:date>2022-05-19T01:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Split Line by Point --change  output to original line feature class</title>
      <link>https://community.esri.com/t5/python-questions/split-line-by-point-change-output-to-original-line/m-p/1175465#M64588</link>
      <description>&lt;P&gt;make a copy as suggested earlier, then append&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 08:18:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/split-line-by-point-change-output-to-original-line/m-p/1175465#M64588</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2022-05-19T08:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: Split Line by Point --change  output to original line feature class</title>
      <link>https://community.esri.com/t5/python-questions/split-line-by-point-change-output-to-original-line/m-p/1175559#M64589</link>
      <description>&lt;P&gt;Either run the split tool manually in ArcGIS Pro or output the result to a file geodatabase so you can see what it looks like. Compare the fields yourself and see if anything changes and make the field mappings accordingly. Alternatively, use the "NO_TEST"&amp;nbsp;&lt;SPAN&gt;schema_type option for Append:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;SPAN&gt;Fields from the input dataset do not need to match the fields of the target dataset. Any fields from the input datasets that do not match the fields of the target dataset will not be mapped to the target dataset unless the mapping is explicitly set in the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Field Map&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;parameter.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 19 May 2022 14:35:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/split-line-by-point-change-output-to-original-line/m-p/1175559#M64589</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2022-05-19T14:35:41Z</dc:date>
    </item>
  </channel>
</rss>

