<?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: How to clip map sheets to a Map Gird in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1726#M88</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so far i have this but no return on my clip&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;# Set the current workspace&lt;BR /&gt;arcpy.env.workspace = "Q:\\josephplessis\\GIS 307 Resource Managment\\Project\\Mapsheets\\soil"&lt;/P&gt;&lt;P&gt;#variables&lt;BR /&gt;R1 = "102I16"&lt;BR /&gt;R2 = "102I09"&lt;BR /&gt;R3 = "102I08"&lt;BR /&gt;R4 = "092L13"&lt;BR /&gt;R5 = "092L12"&lt;BR /&gt;R6 = "092L11"&lt;BR /&gt;R7 = "092L10"&lt;BR /&gt;R8 = "092L08"&lt;BR /&gt;R9 = "092L07"&lt;BR /&gt;R10 = "092L06"&lt;BR /&gt;R11 = "092L05"&lt;BR /&gt;R12 = "092L04"&lt;BR /&gt;R13 = "092L03"&lt;BR /&gt;R14 = "092L02"&lt;BR /&gt;R15 = "092L01"&lt;BR /&gt;R16 = "092E16"&lt;BR /&gt;R17 = "092E15"&lt;BR /&gt;R18 = "092E14"&lt;BR /&gt;R19 = "092E10"&lt;BR /&gt;R20 = "092E09"&lt;BR /&gt;R21 = "092E08"&lt;BR /&gt;R22 = "092E07"&lt;/P&gt;&lt;P&gt;# Local variables:&lt;BR /&gt;Output_Raster ="Q:\\josephplessis\\GIS 307 Resource Managment\\Project\\Geodatabases\\Grid_points.gdb\\gridlist.tif"&lt;/P&gt;&lt;P&gt;gridlist= R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,R13,R14,R15,R16,R17,R18,R19,R20,R21,R22&lt;/P&gt;&lt;P&gt;grid="Q:\\josephplessis\\GIS 307 Resource Managment\\Project\\Geodatabases\\Grid_points.gdb\\GRID"&lt;/P&gt;&lt;P&gt;arcpy.MakeFeatureLayer_management(grid, "gridlyr")&lt;BR /&gt;arcpy.SelectLayerByAttribute_management("gridlyr", "NEW_SELECTION", " NTS_SNRC = 'gridlist' " )&lt;BR /&gt;print gridlist&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# Get and print a list of TIFs from the workspace&lt;BR /&gt;rasters = arcpy.ListRasters("*", "TIF")&lt;BR /&gt;for raster in rasters:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; print(raster)&lt;/P&gt;&lt;P&gt;while raster==gridlist:&lt;BR /&gt; arcpy.Clip_management("raster", Output_Raster, "gridlist", "", "", "NONE", "NO_MAINTAIN_EXTENT")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Feb 2017 20:53:03 GMT</pubDate>
    <dc:creator>JosephPlessis</dc:creator>
    <dc:date>2017-02-06T20:53:03Z</dc:date>
    <item>
      <title>How to clip map sheets to a Map Gird</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1717#M79</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have multiple geo referenced scanned maps from the 1950's, Like 60 of them.&lt;/P&gt;&lt;P&gt;I need to clip some white space off the edges so I can apply a fishnet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the main question is I have a 50k nts grid where the maps sit perfectly within each grid tile, When i try to clip the map to the grid it does nothing because it is reading the outside border of the nts grid. how would i get the clip to read each individual grid tile for a clip?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 19:17:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1717#M79</guid>
      <dc:creator>JosephPlessis</dc:creator>
      <dc:date>2017-02-03T19:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to clip map sheets to a Map Gird</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1718#M80</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried select (the grid polygon), then clip?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 19:19:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1718#M80</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2017-02-03T19:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to clip map sheets to a Map Gird</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1719#M81</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did selct a grid portion and created a layer form selcted data then proceeded to do the clip.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your way sounds easier.&lt;/P&gt;&lt;P&gt;Is there a way to script this for I have a lot of maps to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 19:36:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1719#M81</guid>
      <dc:creator>JosephPlessis</dc:creator>
      <dc:date>2017-02-03T19:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to clip map sheets to a Map Gird</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1720#M82</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you could certainly do this with a Python script, looping through rasters, calculating raster centroid from extent, selecting the grid cell covering the centroid, doing the clip.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 21:24:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1720#M82</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2017-02-03T21:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to clip map sheets to a Map Gird</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1721#M83</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is there any good resources to script this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 00:06:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1721#M83</guid>
      <dc:creator>JosephPlessis</dc:creator>
      <dc:date>2017-02-06T00:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to clip map sheets to a Map Gird</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1722#M84</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Start at the following link, get started on your script, and then post it back here when you need more help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/arcpy/get-started/what-is-arcpy-.htm" title="http://pro.arcgis.com/en/pro-app/arcpy/get-started/what-is-arcpy-.htm"&gt;What is ArcPy?—ArcPy Get Started | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, figure out the geoprocessing tools you need, find and use the Python syntax on each tool's help page, and then put it in a for loop to repeat. But, first you need to figure out some Python.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 01:48:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1722#M84</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2017-02-06T01:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to clip map sheets to a Map Gird</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1723#M85</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But if these are scanned map sheets, why not load them into a mosaic, then use the map polygon grid as the footprints.&lt;/P&gt;&lt;P&gt;This will auto magically leave behind all the stuff around the edge.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 10:55:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1723#M85</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2017-02-06T10:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to clip map sheets to a Map Gird</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1724#M86</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I like this idea!&lt;/P&gt;&lt;P&gt;So after i could split aprt the mosiac using split raster?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 18:52:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1724#M86</guid>
      <dc:creator>JosephPlessis</dc:creator>
      <dc:date>2017-02-06T18:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to clip map sheets to a Map Gird</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1725#M87</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prefect Answer,&lt;A _jive_internal="true" data-userid="5327" data-username="GSCUser85" href="https://community.esri.com/people/GSCUser85"&gt;&lt;SPAN style="color: #8ca9cd; font-size: large;"&gt;Neil Ayres&lt;/SPAN&gt;&lt;/A&gt; &lt;IMG alt="Champion" height="16" src="https://community.esri.com/resources/statics/rolebadges/roleBadge-4-1066-1422978816926.png" title="Champion" width="16" /&gt; . It is it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 19:20:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1725#M87</guid>
      <dc:creator>AbdullahAnter</dc:creator>
      <dc:date>2017-02-06T19:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to clip map sheets to a Map Gird</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1726#M88</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so far i have this but no return on my clip&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;# Set the current workspace&lt;BR /&gt;arcpy.env.workspace = "Q:\\josephplessis\\GIS 307 Resource Managment\\Project\\Mapsheets\\soil"&lt;/P&gt;&lt;P&gt;#variables&lt;BR /&gt;R1 = "102I16"&lt;BR /&gt;R2 = "102I09"&lt;BR /&gt;R3 = "102I08"&lt;BR /&gt;R4 = "092L13"&lt;BR /&gt;R5 = "092L12"&lt;BR /&gt;R6 = "092L11"&lt;BR /&gt;R7 = "092L10"&lt;BR /&gt;R8 = "092L08"&lt;BR /&gt;R9 = "092L07"&lt;BR /&gt;R10 = "092L06"&lt;BR /&gt;R11 = "092L05"&lt;BR /&gt;R12 = "092L04"&lt;BR /&gt;R13 = "092L03"&lt;BR /&gt;R14 = "092L02"&lt;BR /&gt;R15 = "092L01"&lt;BR /&gt;R16 = "092E16"&lt;BR /&gt;R17 = "092E15"&lt;BR /&gt;R18 = "092E14"&lt;BR /&gt;R19 = "092E10"&lt;BR /&gt;R20 = "092E09"&lt;BR /&gt;R21 = "092E08"&lt;BR /&gt;R22 = "092E07"&lt;/P&gt;&lt;P&gt;# Local variables:&lt;BR /&gt;Output_Raster ="Q:\\josephplessis\\GIS 307 Resource Managment\\Project\\Geodatabases\\Grid_points.gdb\\gridlist.tif"&lt;/P&gt;&lt;P&gt;gridlist= R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,R13,R14,R15,R16,R17,R18,R19,R20,R21,R22&lt;/P&gt;&lt;P&gt;grid="Q:\\josephplessis\\GIS 307 Resource Managment\\Project\\Geodatabases\\Grid_points.gdb\\GRID"&lt;/P&gt;&lt;P&gt;arcpy.MakeFeatureLayer_management(grid, "gridlyr")&lt;BR /&gt;arcpy.SelectLayerByAttribute_management("gridlyr", "NEW_SELECTION", " NTS_SNRC = 'gridlist' " )&lt;BR /&gt;print gridlist&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# Get and print a list of TIFs from the workspace&lt;BR /&gt;rasters = arcpy.ListRasters("*", "TIF")&lt;BR /&gt;for raster in rasters:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; print(raster)&lt;/P&gt;&lt;P&gt;while raster==gridlist:&lt;BR /&gt; arcpy.Clip_management("raster", Output_Raster, "gridlist", "", "", "NONE", "NO_MAINTAIN_EXTENT")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Feb 2017 20:53:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1726#M88</guid>
      <dc:creator>JosephPlessis</dc:creator>
      <dc:date>2017-02-06T20:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to clip map sheets to a Map Gird</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1727#M89</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joe,&lt;/P&gt;&lt;P&gt;can you try and format your code to make it readable...&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/blogs/dan_patterson/2016/08/14/script-formatting"&gt;script-formatting&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The point about making a mosaic is that you don't have to do all this clipping.&lt;/P&gt;&lt;P&gt;No extra time and no extra disk space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 10:05:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1727#M89</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2017-02-07T10:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to clip map sheets to a Map Gird</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1728#M90</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THIS WORKS!&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy
&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; arcpy &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; env
&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;sa &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;CheckOutExtension&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"3D"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;env&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;overwriteOutput &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token boolean"&gt;True&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;# Set the current workspace&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;env&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;workspace &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Q:\\josephplessis\\GIS 307 Resource Managment\\Project\\Mapsheets\\soil"&lt;/SPAN&gt;
Dir &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"Q:\\josephplessis\\GIS 307 Resource Managment\\Project\\Mapsheets\\ClippedMaps"&lt;/SPAN&gt;


GRID&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"Q:\\josephplessis\\GIS 307 Resource Managment\\Project\\Geodatabases\\Grid_points.gdb\\GRID"&lt;/SPAN&gt;

GRIDlyr&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;MakeFeatureLayer_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;GRID&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"GRIDlyr"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;


&lt;SPAN class="comment token"&gt;# Get and print a list of TIFs from the workspace&lt;/SPAN&gt;

rasters &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ListRasters&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"*"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; raster &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; rasters&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; raster
&amp;nbsp;&amp;nbsp;&amp;nbsp; name &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Dir &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"\\"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"clp_"&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; str&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;raster&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; name
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;RasterDomain_3d&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;raster&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"in_memory/temp"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"POLYGON"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;# Process: Central Feature&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;MeanCenter_stats&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"in_memory/temp"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"in_memory/temp1"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;# Process: Select Layer By Location&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SelectLayerByLocation_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;GRIDlyr&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"intersect"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"in_memory/temp1"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"NEW_SELECTION"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;# Clip Raster&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Clip_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;raster&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;"&lt;SPAN class="comment token"&gt;#", name,GRIDlyr, "#", "ClippingGeometry")&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;# Delete in_memory&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Delete_management&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"in_memory"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"processing "&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; raster &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;" complete..."&lt;/SPAN&gt;


&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"All processing is now finished"&lt;/SPAN&gt;


&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 20:05:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-clip-map-sheets-to-a-map-gird/m-p/1728#M90</guid>
      <dc:creator>JosephPlessis</dc:creator>
      <dc:date>2021-12-10T20:05:18Z</dc:date>
    </item>
  </channel>
</rss>

