<?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: XY to Line with Model Builder in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/xy-to-line-with-model-builder/m-p/399847#M13576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you post a picture of your model?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Sep 2013 14:25:27 GMT</pubDate>
    <dc:creator>TimWitt</dc:creator>
    <dc:date>2013-09-13T14:25:27Z</dc:date>
    <item>
      <title>XY to Line with Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/xy-to-line-with-model-builder/m-p/399846#M13575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When I attempt to tie the output of "XY to Line" to the next step, "Add Field", model builder simply stops after "XY to Line", thinking it's all done. It does not execute subsequent steps.&amp;nbsp; Is there something wrong with doing this?&amp;nbsp; It seems to work manually...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]27438[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is excerpted from a larger flow.&amp;nbsp; Two methods of geocoding produce two sets of X,Y points which I make into lines, then get the distance in miles for visualization and comparison purposes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 14:22:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/xy-to-line-with-model-builder/m-p/399846#M13575</guid>
      <dc:creator>JayPhiloon1</dc:creator>
      <dc:date>2013-09-13T14:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: XY to Line with Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/xy-to-line-with-model-builder/m-p/399847#M13576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you post a picture of your model?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 14:25:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/xy-to-line-with-model-builder/m-p/399847#M13576</guid>
      <dc:creator>TimWitt</dc:creator>
      <dc:date>2013-09-13T14:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: XY to Line with Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/xy-to-line-with-model-builder/m-p/399848#M13577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original post edited to show model.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 15:57:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/xy-to-line-with-model-builder/m-p/399848#M13577</guid>
      <dc:creator>JayPhiloon1</dc:creator>
      <dc:date>2013-09-13T15:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: XY to Line with Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/xy-to-line-with-model-builder/m-p/399849#M13578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you run the model and then go to Geoprocessing -&amp;gt; Results and see if there was any error in your model?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could also export your model and run it in python and see what error pops up there.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 16:22:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/xy-to-line-with-model-builder/m-p/399849#M13578</guid>
      <dc:creator>TimWitt</dc:creator>
      <dc:date>2013-09-13T16:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: XY to Line with Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/xy-to-line-with-model-builder/m-p/399850#M13579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Interactive I get:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Result Messages:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing: XYToLine \\somehost\GIS\geocode_test.gdb\Geocoding_Result_Model \\somehost\GIS\geocode_test.gdb\Geocoding_Result_Model_XYT LONGITUDE LATITUDE POINT_X POINT_Y GEODESIC scrssn_char "GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]];-400 -400 1111948722.22222;-100000 10000;-100000 10000;8.98315284119521E-09;0.001;0.001;IsHighPrecision"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start Time: Fri Sep 13 13:02:03 2013&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Succeeded at Fri Sep 13 13:02:04 2013 (Elapsed Time: 1.00 seconds)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Model Builder I get:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Executing (XY To Line): XYToLine \\somehost\GIS\geocode_test.gdb\Geocoding_Result_Model \\somehost\GIS\geocode_test.gdb\Geocoding_Result_Model_XYT LONGITUDE LATITUDE POINT_X POINT_Y GEODESIC scrssn_char "GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]];-400 -400 1111948722.22222;-100000 10000;-100000 10000;8.98315284119521E-09;0.001;0.001;IsHighPrecision"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Start Time: Fri Sep 13 12:29:21 2013&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Succeeded at Fri Sep 13 12:29:22 2013 (Elapsed Time: 1.00 seconds)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In python26 I get:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;... setup ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; # Process: XY To Line&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;... arcpy.XYToLine_management(Geocoding_Result_Model, Geocoding_Result_Model_XYT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;, "LONGITUDE", "LATITUDE", "POINT_X", "POINT_Y", "GEODESIC", "scrssn_char", "GEO&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.25722356&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]];-400 -400 1111948&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;722.22222;-100000 10000;-100000 10000;8.98315284119521E-09;0.001;0.001;IsHighPre&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cision")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "&amp;lt;stdin&amp;gt;", line 2, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "D:\Program Files (x86)\ArcGIS\Desktop10.0\arcpy\arcpy\management.py", li&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ne 2542, in XYToLine&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise e&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcgisscripting.ExecuteError: ERROR 000582: Error occurred during execution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;... rest of script...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, it looks like the command executed fine, and the python script continues to execute "Add Field" and "Calculate Field", as it should, with valid results.&amp;nbsp; (I have obfuscated the real path to the host in the text.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So what's the error being reported here?&amp;nbsp; Looks like an error that's not an error...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 17:16:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/xy-to-line-with-model-builder/m-p/399850#M13579</guid>
      <dc:creator>JayPhiloon1</dc:creator>
      <dc:date>2013-09-13T17:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: XY to Line with Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/xy-to-line-with-model-builder/m-p/399851#M13580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does this feature "Geocoding_Result_Model_XYT " already exist when you run your model or do you delete it each time before you run the model?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you don't, try and delete all features that will be created through your model and then run it in python again to see if you get an error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 17:26:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/xy-to-line-with-model-builder/m-p/399851#M13580</guid>
      <dc:creator>TimWitt</dc:creator>
      <dc:date>2013-09-13T17:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: XY to Line with Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/xy-to-line-with-model-builder/m-p/399852#M13581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For these tests I manually delete "Geocoding_Result_Model_XYT"&amp;nbsp; before running.&amp;nbsp; It definitely isn't there to start.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I should also note that in the results for Model Builder above I am trying to run the entire model but it terminates after XYToLine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 17:29:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/xy-to-line-with-model-builder/m-p/399852#M13581</guid>
      <dc:creator>JayPhiloon1</dc:creator>
      <dc:date>2013-09-13T17:29:43Z</dc:date>
    </item>
  </channel>
</rss>

