<?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: Remove Layers in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/remove-layers/m-p/250314#M19293</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;look at some of the other options in the link I sent you...surely you can figure out one that works or send the files to Luke for testing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Apr 2015 12:09:58 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2015-04-12T12:09:58Z</dc:date>
    <item>
      <title>Remove Layers</title>
      <link>https://community.esri.com/t5/python-questions/remove-layers/m-p/250310#M19289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; everyone,&lt;/P&gt;&lt;P&gt;i have mxd with 85 layers and i try to remove layers (with arcpy) that don't exist in the current data frame. i using this code:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import arcpy,os,sys,string
import arcpy.mapping
from arcpy import env

env.workspace = r"C:\Project"
for mxdname in arcpy.ListFiles('*.mxd'):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print mxdname
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd = arcpy.mapping.MapDocument(r"C:\Project\\" + mxdname)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; df = arcpy.mapping.ListDataFrames(mxd, "Layers")[0]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for lyr in arcpy.mapping.ListLayers(mxd,"",df):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if lyr in df.extent == False:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.mapping.RemoveLayer(df, lyr)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print 'RemoveLayer'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd.save()
del&amp;nbsp; mxd&lt;/PRE&gt;&lt;P&gt;but i get en error:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;gt;&amp;gt;&amp;gt; 
Project.mxd

Traceback (most recent call last):
&amp;nbsp; File "C:/yaron/shonot/software/gis/tools/YARON_SCRIPTS/aaaaaaaaaaaaaa.py", line 15, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if lyr in df.extent == False:
TypeError: argument of type 'Extent' is not iterable
&amp;gt;&amp;gt;&amp;gt; &lt;/PRE&gt;&lt;P&gt;i don't know why my code doesn't work.&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:26:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/remove-layers/m-p/250310#M19289</guid>
      <dc:creator>Yaron_YosefCohen</dc:creator>
      <dc:date>2021-12-11T12:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Layers</title>
      <link>https://community.esri.com/t5/python-questions/remove-layers/m-p/250311#M19290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Extent/018z00000072000000/"&gt;extent is definitely not iterable&lt;/A&gt;... you should read up on the class objects before attempting them, there are functions in there that you can use to decide whether two geometries intersect and/or one contains the other etc.&amp;nbsp; In your case, I suspect that you need the extent of the lyr, then you need to decide which of the options that you wish to use and of course, whether the files is in the same projection as the other extent object.&amp;nbsp; Have a think, then propose your options before assessing code options.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Apr 2015 10:08:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/remove-layers/m-p/250311#M19290</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-04-12T10:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Layers</title>
      <link>https://community.esri.com/t5/python-questions/remove-layers/m-p/250312#M19291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Extent objects support a 'overlaps' method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try something like:&lt;/P&gt;&lt;P&gt;if not df.extent.overlaps(lyr.getExtent()) :&lt;/P&gt;&lt;P&gt;etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry about the lack of formatting and links, the GeoNet mobile site is terrible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Apr 2015 10:14:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/remove-layers/m-p/250312#M19291</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2015-04-12T10:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Layers</title>
      <link>https://community.esri.com/t5/python-questions/remove-layers/m-p/250313#M19292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i try&amp;nbsp; this:&lt;/P&gt;&lt;P&gt;import arcpy,os,sys,string&lt;/P&gt;&lt;P&gt;import arcpy.mapping&lt;/P&gt;&lt;P&gt;from arcpy import env&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;env.workspace = r"C:\Project"&lt;/P&gt;&lt;P&gt;for mxdname in arcpy.ListFiles('*.mxd'):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print mxdname&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd = arcpy.mapping.MapDocument(r"C:\Project\\" + mxdname)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; df = arcpy.mapping.ListDataFrames(mxd, "Layers")[0]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for lyr in arcpy.mapping.ListLayers(mxd, "" ,df):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if not df.extent.overlaps(lyr.getExtent()):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.mapping.RemoveLayer(df, lyr)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print lyr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd.save()&lt;/P&gt;&lt;P&gt;del&amp;nbsp; mxd&lt;/P&gt;&lt;P&gt;but actually arcpy remove also layers that have been halfly in the data frame &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Apr 2015 11:12:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/remove-layers/m-p/250313#M19292</guid>
      <dc:creator>Yaron_YosefCohen</dc:creator>
      <dc:date>2015-04-12T11:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Layers</title>
      <link>https://community.esri.com/t5/python-questions/remove-layers/m-p/250314#M19293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;look at some of the other options in the link I sent you...surely you can figure out one that works or send the files to Luke for testing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Apr 2015 12:09:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/remove-layers/m-p/250314#M19293</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-04-12T12:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Layers</title>
      <link>https://community.esri.com/t5/python-questions/remove-layers/m-p/250315#M19294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i ask a question because i new in all that python stuff, if you noticed that. If you think that my questions are not clever enough please don't&amp;nbsp; answered them. your last answer are very sarcastic and I was very offended from you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Apr 2015 12:52:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/remove-layers/m-p/250315#M19294</guid>
      <dc:creator>Yaron_YosefCohen</dc:creator>
      <dc:date>2015-04-12T12:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Layers</title>
      <link>https://community.esri.com/t5/python-questions/remove-layers/m-p/250316#M19295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then next time it would be best to try and articulate what you have tried.&amp;nbsp; All the information for testing is contained in the first link...you chose to grab a code snippet and hope it worked...that is not how you garner help, you have to make some effort.&amp;nbsp; I apologize if I offended you, but your questions and responses often don't show any attempt at research but seem to be geared to getting an immediate solution.&lt;/P&gt;&lt;P&gt;So did you try&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;contains&lt;/LI&gt;&lt;LI&gt;crosses&lt;/LI&gt;&lt;LI&gt;overlaps&lt;/LI&gt;&lt;LI&gt;within&lt;/LI&gt;&lt;LI&gt;touches&lt;/LI&gt;&lt;LI&gt;equals&lt;/LI&gt;&lt;LI&gt;disjoint&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;in place of Luke's suggestion...you are the only one that can answer that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Apr 2015 14:04:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/remove-layers/m-p/250316#M19295</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-04-12T14:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Layers</title>
      <link>https://community.esri.com/t5/python-questions/remove-layers/m-p/250317#M19296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Checking intersects or overlaps of extents does no guarantee that a layer has features within the current data frame extent. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering why you want to remove these layers? It because they are showing up in the legend or so? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Apr 2015 19:32:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/remove-layers/m-p/250317#M19296</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2015-04-12T19:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Layers</title>
      <link>https://community.esri.com/t5/python-questions/remove-layers/m-p/250318#M19297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;The 'overlaps' method must return False if the dataframe extent is completely within/completely contains the layer extent. Try the 'disjoint' method instead. See the documentation - &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/main/10.2/index.html#//018z00000072000000" rel="nofollow noopener noreferrer" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//018z00000072000000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for mxdname in arcpy.ListFiles('*.mxd'):

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print mxdname
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd = arcpy.mapping.MapDocument(os.path.join(env.workspace, mxdname))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; df = arcpy.mapping.ListDataFrames(mxd, "Layers")[0]
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for lyr in arcpy.mapping.ListLayers(mxd, "" ,df):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if df.extent.disjoint(lyr.getExtent()):
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.mapping.RemoveLayer(df, lyr)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print lyr

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mxd.save()

&amp;nbsp;&amp;nbsp;&amp;nbsp; del&amp;nbsp; mxd&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:26:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/remove-layers/m-p/250318#M19297</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2021-12-11T12:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Layers</title>
      <link>https://community.esri.com/t5/python-questions/remove-layers/m-p/250319#M19298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no, i want to remove them automatically because they located out of the data frame. i mean the layers has coordinate system like the data frame but in specific area in there several layers and not all the the layers. so instead remove the unseen layers i try to build code that will do it.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 05:27:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/remove-layers/m-p/250319#M19298</guid>
      <dc:creator>Yaron_YosefCohen</dc:creator>
      <dc:date>2015-04-13T05:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Layers</title>
      <link>https://community.esri.com/t5/python-questions/remove-layers/m-p/250320#M19299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i do read it ,but didn't understand - that the reason i join this forum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 05:31:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/remove-layers/m-p/250320#M19299</guid>
      <dc:creator>Yaron_YosefCohen</dc:creator>
      <dc:date>2015-04-13T05:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Layers</title>
      <link>https://community.esri.com/t5/python-questions/remove-layers/m-p/250321#M19300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Luke !! it works!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 05:53:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/remove-layers/m-p/250321#M19300</guid>
      <dc:creator>Yaron_YosefCohen</dc:creator>
      <dc:date>2015-04-13T05:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Layers</title>
      <link>https://community.esri.com/t5/python-questions/remove-layers/m-p/250322#M19301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the code don't work with shape file - just with layer file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 06:16:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/remove-layers/m-p/250322#M19301</guid>
      <dc:creator>Yaron_YosefCohen</dc:creator>
      <dc:date>2015-04-13T06:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Layers</title>
      <link>https://community.esri.com/t5/python-questions/remove-layers/m-p/250323#M19302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct. A feature class does not have a "getExtent()" method like a layer does. You need the &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//018v00000065000000"&gt;arcpy.Describe&lt;/A&gt; method and the extent property - i.e. arcpy.Describe(shapefile).extent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 06:24:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/remove-layers/m-p/250323#M19302</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2015-04-13T06:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Layers</title>
      <link>https://community.esri.com/t5/python-questions/remove-layers/m-p/250324#M19303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think Luke has the correct answer to this problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 13:46:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/remove-layers/m-p/250324#M19303</guid>
      <dc:creator>GeorgeReece_Jr_</dc:creator>
      <dc:date>2015-04-13T13:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Layers</title>
      <link>https://community.esri.com/t5/python-questions/remove-layers/m-p/250325#M19304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you think maybe geonet help community would be more compatible to my question? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 06:47:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/remove-layers/m-p/250325#M19304</guid>
      <dc:creator>Yaron_YosefCohen</dc:creator>
      <dc:date>2015-04-14T06:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Layers</title>
      <link>https://community.esri.com/t5/python-questions/remove-layers/m-p/250326#M19305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cross-posted &lt;A href="http://gis.stackexchange.com/questions/142311/how-to-remove-layers-that-are-not-in-visible-df-extent" title="http://gis.stackexchange.com/questions/142311/how-to-remove-layers-that-are-not-in-visible-df-extent"&gt;arcpy - How to remove layers that are not in visible df extent - Geographic Information Systems Stack Exchange&lt;/A&gt; &lt;/P&gt;&lt;P&gt;for completeness&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 07:28:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/remove-layers/m-p/250326#M19305</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-04-14T07:28:31Z</dc:date>
    </item>
  </channel>
</rss>

