<?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: Intersect polygons and segments does not complete normally in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711182#M23586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah! I think they are not the same! I'll project them into the same system and try that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Jul 2017 17:07:34 GMT</pubDate>
    <dc:creator>EricMartin</dc:creator>
    <dc:date>2017-07-01T17:07:34Z</dc:date>
    <item>
      <title>Intersect polygons and segments does not complete normally</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711177#M23581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have shapefiles with segments (representing roads, but they're just regular polylines, not a&amp;nbsp;network dataset) and polygons (~14,000 polygons generated with service areas). I'm running intersect to get the segments (and their lengths) within each polygon. On the first run, I got errors, and the tool did not complete. I reduced the segments dataset (from lines representing the whole county to just those within the city) and ran "repair geometry," which did find some problems and fixed them. When I ran it again, the analysis took&amp;nbsp;12+ hours and completed. The table looked normal, but the resulting featureset was suspicious. It had exactly 64,000 segments in it, and only a few tiny segments mapped. The rest did not appear on the map. Repair geometry on the results featureset had no effect. I ran the analysis again from python. Again it took 12+ hours. This time there were exactly 70,000 segments in the results, and none of them mapped. &amp;nbsp;So, I don't have confidence that these are complete results.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran a similar analysis with the same polygons shapefile and another set of segments from the same road system; this one had many, many more segments, and the analysis completed normally. It took maybe four hours to run on my university's machine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems like maybe the analysis is maxing out the computing resources, causing ARCMap to choke and produce bad results. But why could it run the previous, much more complex analysis? Advice?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jul 2017 14:12:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711177#M23581</guid>
      <dc:creator>EricMartin</dc:creator>
      <dc:date>2017-07-01T14:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Intersect polygons and segments does not complete normally</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711178#M23582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;What version of ArcMap are you running on your machines? Make sure you check out the system requirements for that particular version just to be on the safer side.&lt;/LI&gt;&lt;LI&gt;Refer:&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;&lt;A class="link-titled" href="https://blogs.esri.com/esri/arcgis/2012/06/15/be-successful-overlaying-large-complex-datasets-in-geoprocessing/" title="https://blogs.esri.com/esri/arcgis/2012/06/15/be-successful-overlaying-large-complex-datasets-in-geoprocessing/"&gt;Be successful overlaying large, complex datasets in Geoprocessing | ArcGIS Blog&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A class="link-titled" href="https://blogs.esri.com/esri/arcgis/2010/07/23/dicing-godzillas-features-with-too-many-vertices/" title="https://blogs.esri.com/esri/arcgis/2010/07/23/dicing-godzillas-features-with-too-many-vertices/"&gt;Dicing Godzillas (features with too many vertices) | ArcGIS Blog&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the observation you have posted in your query, it is possible the issue may be with your data. Try to export all the line features in a feature class and execute the &lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/check-geometry.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/check-geometry.htm"&gt;Check Geometry—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;and then back up your data and execute the&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/repair-geometry.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/repair-geometry.htm"&gt;Repair Geometry—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you have completed this try to run the Intersect tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Shan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jul 2017 15:45:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711178#M23582</guid>
      <dc:creator>shan_sarkar</dc:creator>
      <dc:date>2017-07-01T15:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Intersect polygons and segments does not complete normally</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711179#M23583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. The version is 10.4.1. It's a university install on university machines run by the research computing people, so I assume it's going to be set up correctly and adequately for most normal and even moderately intensive uses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try your suggestions and report back. Thanks!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jul 2017 16:04:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711179#M23583</guid>
      <dc:creator>EricMartin</dc:creator>
      <dc:date>2017-07-01T16:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Intersect polygons and segments does not complete normally</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711180#M23584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://desktop.arcgis.com/en/system-requirements/10.4/arcgis-desktop-system-requirements.htm" title="https://desktop.arcgis.com/en/system-requirements/10.4/arcgis-desktop-system-requirements.htm"&gt;ArcGIS 10.4.x for Desktop system requirements—System Requirements | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.systemrequirementslab.com/client/standard/?apikey=50f41142-39b0-4061-97c2-ba7b7fe43d0e&amp;amp;refid=1186&amp;amp;item=10913" title="http://www.systemrequirementslab.com/client/standard/?apikey=50f41142-39b0-4061-97c2-ba7b7fe43d0e&amp;amp;refid=1186&amp;amp;item=10913"&gt;Can You Run It?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jul 2017 16:10:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711180#M23584</guid>
      <dc:creator>shan_sarkar</dc:creator>
      <dc:date>2017-07-01T16:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Intersect polygons and segments does not complete normally</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711181#M23585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you provide some information on the coordinate system of the files... and I am assuming that they are the same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jul 2017 16:32:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711181#M23585</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-07-01T16:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Intersect polygons and segments does not complete normally</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711182#M23586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah! I think they are not the same! I'll project them into the same system and try that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jul 2017 17:07:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711182#M23586</guid>
      <dc:creator>EricMartin</dc:creator>
      <dc:date>2017-07-01T17:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Intersect polygons and segments does not complete normally</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711183#M23587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I exported the line features to a new features class and checked the geometry. It was fine. (I had previously run repair on both the segments and the polygons.) I projected the polygons&amp;nbsp;so that shapefile was&amp;nbsp;in the same system as the line segments. As a precaution, I moved both shapefiles into the same file geodatabase. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again the intersect ran a long time--overnight. This time the results had 2048 features, and all the data in the table was blank. Nothing mapped.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Jul 2017 11:07:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711183#M23587</guid>
      <dc:creator>EricMartin</dc:creator>
      <dc:date>2017-07-02T11:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Intersect polygons and segments does not complete normally</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711184#M23588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Repeating my reply to another user so you'll see it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I doubt that the polygons are very complex. They are generated with service areas on a mostly sqare street grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I exported the line features to a new features class and checked the geometry. It was fine. (I had previously run repair on both the segments and the polygons.) I projected&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;the polygons&amp;nbsp;so that shapefile was&amp;nbsp;in the same system as the line segments. As a precaution, I moved both shapefiles into the same file geodatabase. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again the intersect ran a long time--overnight. This time the results had 2048 features, and all the data in the table was blank. Nothing mapped.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Jul 2017 11:09:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711184#M23588</guid>
      <dc:creator>EricMartin</dc:creator>
      <dc:date>2017-07-02T11:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Intersect polygons and segments does not complete normally</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711185#M23589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric...&lt;/P&gt;&lt;P&gt;If you created two feature classes in the same coordinate system in a file geodatabase AND you have sufficient memory, Intersect will dice the area automatically&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/supplement/tiled-processing-of-large-datasets.htm"&gt;http://desktop.arcgis.com/en/arcmap/latest/tools/supplement/tiled-processing-of-large-datasets.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You are either choking on memory, the location of the file (ie not on a local machine) or something else. &amp;nbsp;&lt;/P&gt;&lt;P&gt;Repeating for another overnighter without indicating how big the files are wouldn't be prudent.&amp;nbsp; If tiling the area manually by selecting a smaller area subset of the two for testing, doesn't reveal anything, you might want to contact tech support to see if there is anything that the suggestions and you haven't ruled out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Jul 2017 13:05:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711185#M23589</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-07-02T13:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Intersect polygons and segments does not complete normally</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711186#M23590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with&amp;nbsp;&lt;A href="https://community.esri.com/people/Dan_Patterson"&gt;Dan_Patterson&lt;/A&gt;&amp;nbsp;in fact that exactly what I had suggested in the first place.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Jul 2017 14:47:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711186#M23590</guid>
      <dc:creator>shan_sarkar</dc:creator>
      <dc:date>2017-07-02T14:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Intersect polygons and segments does not complete normally</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711187#M23591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your advice! I'm a little foggy on the architecture, since the program is running on a virtual machine somewhere. However, the files are stored on separate server. I have done these big calculations with files all over the place and never had problems like this. However, I'll try moving them to the "machine" where the program is running and see if that helps.&lt;/P&gt;&lt;P&gt;This morning I tried selecting only the first 1000 polygons, and that completed in 20 minutes or so. Extrapolating the results (segments in each polygon) from the first 1000 polygons gives a final result set of "only" ~2.5 million, which should not be a problem for maxing out the file limits, as I understand it.&lt;/P&gt;&lt;P&gt;The second&amp;nbsp;1000 polygons has been running for hours. Makes me wonder if there is a one or more problem polygon in there not detected by repair geometry.&lt;/P&gt;&lt;P&gt;I appreciate your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Jul 2017 14:47:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711187#M23591</guid>
      <dc:creator>EricMartin</dc:creator>
      <dc:date>2017-07-02T14:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Intersect polygons and segments does not complete normally</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711188#M23592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Shantonu. I did not understand what you were suggesting. Though I am using Desktop, it's running remote on a server somewhere. I don't have any control or information about the platform or computing resources for the machine upon which the software is running (without asking the administrators). My university has some pretty impressive research computing resources. I would be very surprised if this service as not adequate for very intensive use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Jul 2017 14:53:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711188#M23592</guid>
      <dc:creator>EricMartin</dc:creator>
      <dc:date>2017-07-02T14:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Intersect polygons and segments does not complete normally</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711189#M23593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would contact support.&amp;nbsp; As soon as you indicate you are running arcmap on some virtual machine with data somewhere else, you have introduced two bottlenecks on top of the fact that you are using arcmap with a large dataset and doing an intersect.&amp;nbsp; You may have reached the limits of your setup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Jul 2017 16:48:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711189#M23593</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-07-02T16:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Intersect polygons and segments does not complete normally</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711190#M23594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've done some hefty union operations in the past (I know this is about intersect but relevant to you). &amp;nbsp;I found that when you are running such tools, even if "only" a few thousand go in but millions of features come out you are best running this in the 64bit background environment, well it nailed it for me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as you have hinted you may have some dodgy geometries:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If it were me I would be sorting the the polygons by size to see if there are any unusually small polygons.&lt;/LI&gt;&lt;LI&gt;Zoom to the extent of the data, is it what you expected?&lt;/LI&gt;&lt;LI&gt;Do you have overlapping polygons?&lt;/LI&gt;&lt;LI&gt;You say they are simple, get a part count and prove&amp;nbsp;that. Do the same for your road dataset.&lt;/LI&gt;&lt;LI&gt;Another thing to check is the number of vertices in each feature, are there unusually large numbers of vertices?&lt;/LI&gt;&lt;LI&gt;How are you running this, as a python script, check the geoprocessor environment settings, e.g. some extent setting is not resetting.&lt;/LI&gt;&lt;LI&gt;If shapefiles are the input format make sure they have spatial index built and that they are the same coordinate system.&lt;/LI&gt;&lt;LI&gt;Check for logical situation that the service area actually intersects your network, from your description it is not possible to conclude that the polygons are generated from the same network.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the volume of data you are talking it should only take a few hours at most...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Duncan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 15:47:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/intersect-polygons-and-segments-does-not-complete/m-p/711190#M23594</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2017-07-05T15:47:22Z</dc:date>
    </item>
  </channel>
</rss>

