<?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 Efficient way of calculating overlaps between buffers on separate layers in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/efficient-way-of-calculating-overlaps-between/m-p/372510#M12803</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do a lot of catchment area analysis with ArcMap to calculate demand overlaps for a given resource given the known production capacity of various facilities and the known resources needed for that capacity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With the method I currently use I give the main facility I'm analysing in a region a buffer of, for example, 250km and then its surrounding/competing facilities buffers of, for example, 200km. I then take intersects of each of the buffers of the competing facilities with the buffer of the main facility and calculate the area of the intersect compared to that area of the competing facility buffer to work out a percentage overlap by using the measuring tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously this is slow and tedious especially when I have 50 or more points that I need to calculate intersects for and I'm sure there must be a quicker way of doing it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My first thought was to use VBA. I recently went on a VBA course for use with MS Office so I know how VBA itself works but am unfamiliar with any of the specific code that works with ArcMap. I was wondering if it would be possible to have a piece of code that takes all the buffers within a group layer with a preset name (e.g. "CompBuffers") and one by one calculate their overlaps with the buffer of the main facility in its own group layer, also with a preset name (e.g. "MainBuffer"), and then take those overlap percentages and display them as a table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would this be relatively easy to do and if so how would I get started with the VBA code? or is there an even easier solution to my problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is greatly appreciated,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Jan 2011 14:15:50 GMT</pubDate>
    <dc:creator>JohnNowak</dc:creator>
    <dc:date>2011-01-05T14:15:50Z</dc:date>
    <item>
      <title>Efficient way of calculating overlaps between buffers on separate layers</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/efficient-way-of-calculating-overlaps-between/m-p/372510#M12803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do a lot of catchment area analysis with ArcMap to calculate demand overlaps for a given resource given the known production capacity of various facilities and the known resources needed for that capacity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With the method I currently use I give the main facility I'm analysing in a region a buffer of, for example, 250km and then its surrounding/competing facilities buffers of, for example, 200km. I then take intersects of each of the buffers of the competing facilities with the buffer of the main facility and calculate the area of the intersect compared to that area of the competing facility buffer to work out a percentage overlap by using the measuring tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously this is slow and tedious especially when I have 50 or more points that I need to calculate intersects for and I'm sure there must be a quicker way of doing it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My first thought was to use VBA. I recently went on a VBA course for use with MS Office so I know how VBA itself works but am unfamiliar with any of the specific code that works with ArcMap. I was wondering if it would be possible to have a piece of code that takes all the buffers within a group layer with a preset name (e.g. "CompBuffers") and one by one calculate their overlaps with the buffer of the main facility in its own group layer, also with a preset name (e.g. "MainBuffer"), and then take those overlap percentages and display them as a table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would this be relatively easy to do and if so how would I get started with the VBA code? or is there an even easier solution to my problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is greatly appreciated,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 14:15:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/efficient-way-of-calculating-overlaps-between/m-p/372510#M12803</guid>
      <dc:creator>JohnNowak</dc:creator>
      <dc:date>2011-01-05T14:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient way of calculating overlaps between buffers on separate layers</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/efficient-way-of-calculating-overlaps-between/m-p/372511#M12804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Would this help? &lt;/SPAN&gt;&lt;A href="http://arcscripts.esri.com/details.asp?dbid=16700"&gt;http://arcscripts.esri.com/details.asp?dbid=16700&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 16:22:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/efficient-way-of-calculating-overlaps-between/m-p/372511#M12804</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2011-01-05T16:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient way of calculating overlaps between buffers on separate layers</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/efficient-way-of-calculating-overlaps-between/m-p/372512#M12805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Chris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That looks like it could be useful although from what I can gather it only measures the overlap of polygons on one layer where as I want to measure the overlap of polygons on different layers. Can it do this as well?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am also a bit new to both ArcGIS and Python, do you have a guide or know of a guide that shows how to get custom toolboxes like this one working in ArcMap 10. I tried indexing the toolbox but when I go to use it I just get an error saying that the script is missing, do I have to put these files in a specific location?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 07:03:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/efficient-way-of-calculating-overlaps-between/m-p/372512#M12805</guid>
      <dc:creator>JohnNowak</dc:creator>
      <dc:date>2011-01-06T07:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient way of calculating overlaps between buffers on separate layers</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/efficient-way-of-calculating-overlaps-between/m-p/372513#M12806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So yes, the operation only works on a single feature class. Maybe you could slam all your seperate layers into a single FC using the Merge tool?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try this: &lt;/SPAN&gt;&lt;A href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=An_overview_of_sharing_tools_and_toolboxes"&gt;http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=An_overview_of_sharing_tools_and_toolboxes&lt;/A&gt;&lt;SPAN&gt; and look at the subtopics as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 15:51:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/efficient-way-of-calculating-overlaps-between/m-p/372513#M12806</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2011-01-06T15:51:41Z</dc:date>
    </item>
  </channel>
</rss>

