<?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 Custom button for adding aerials in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/custom-button-for-adding-aerials/m-p/687956#M7438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would like to make a custom button in ArcGIS 10 that will automatically load aerial photo tiles for a given extent when I click on it.&amp;nbsp; For example, I would open a new project and zoom in to an area of interest, click the button, and the appropriate tiles would be added.&amp;nbsp; I have a polygon "index" shapefile with the names of each raster tile listed as an attribute.&amp;nbsp; I have limited code experience, so please let me know if this can be done.&amp;nbsp; Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jonathan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Oct 2012 17:28:03 GMT</pubDate>
    <dc:creator>jonathankoehler</dc:creator>
    <dc:date>2012-10-08T17:28:03Z</dc:date>
    <item>
      <title>Custom button for adding aerials</title>
      <link>https://community.esri.com/t5/mapping-questions/custom-button-for-adding-aerials/m-p/687956#M7438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would like to make a custom button in ArcGIS 10 that will automatically load aerial photo tiles for a given extent when I click on it.&amp;nbsp; For example, I would open a new project and zoom in to an area of interest, click the button, and the appropriate tiles would be added.&amp;nbsp; I have a polygon "index" shapefile with the names of each raster tile listed as an attribute.&amp;nbsp; I have limited code experience, so please let me know if this can be done.&amp;nbsp; Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jonathan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2012 17:28:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/custom-button-for-adding-aerials/m-p/687956#M7438</guid>
      <dc:creator>jonathankoehler</dc:creator>
      <dc:date>2012-10-08T17:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Custom button for adding aerials</title>
      <link>https://community.esri.com/t5/mapping-questions/custom-button-for-adding-aerials/m-p/687957#M7439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Actually, a similar 'legacy device' called an image catalog is still functional in ArcGIS 10.&amp;nbsp; No need for code, except for the initial setup...it is a table that performs as you describe 'fetching' the image tiles as you zoom/pan to a desired extent.&amp;nbsp; In fact, you don't even need to press a button to load the imagery.&amp;nbsp; Generally, at full extent, a default wireframe is drawn in place of the images (I think the default is to draw the wireframe at 9 tiles).&amp;nbsp; Much like a layer, you can override some of the default display properties.&amp;nbsp; For example, I usually set them to display at a certain scale.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This table is recognized by ArcMap as an image catalog when it contains the fields:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IMAGE, XMIN, YMIN, XMAX, YMAX&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And since you already have an fc with the names, you can simply set up a loop w/ Python code to extract the XY bounds and record them in the attribute table.&amp;nbsp; When finished, export the fc to table, then add it to your map!&amp;nbsp; If you need the code for the setup let me know (you only need it when you 1st build the catalog).&amp;nbsp; It is short work, just need to figure out where I put it...lol.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2012 23:53:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/custom-button-for-adding-aerials/m-p/687957#M7439</guid>
      <dc:creator>T__WayneWhitley</dc:creator>
      <dc:date>2012-10-08T23:53:49Z</dc:date>
    </item>
  </channel>
</rss>

