<?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: Help modifiying getExtent to get data from only 1 layer in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/help-modifiying-getextent-to-get-data-from-only-1/m-p/163713#M12531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &lt;A class="link-titled" href="https://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/extent.htm" title="https://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/extent.htm"&gt;Extent—Help | ArcGIS Desktop&lt;/A&gt; documentation covers it, albeit maybe not direct enough.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;H2 style="margin: 1.26316em 0px 0.63158em; font-family: 'Avenir LT W01 35 Light', Arial, Helvetica, sans-serif; font-style: normal; font-weight: 500; letter-spacing: 0.02em; font-size: 2rem; line-height: 1.2em; -webkit-font-smoothing: antialiased;"&gt;Summary&lt;/H2&gt;&lt;P style="font-size: 0.875rem; line-height: 1.71429em; margin-top: 0em; margin-bottom: 1.71429em; -webkit-font-smoothing: antialiased;"&gt;An extent is a rectangle specified by providing the coordinate of the lower left corner and the coordinate of the upper right corner&lt;SPAN style="color: #000000;"&gt; in map units.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The key is "in map units," which means in the units of the spatial reference for the layer.&amp;nbsp; From looking at the values in your screenshot below, it is obvious the coordinates aren't geographic, so you are working with some projection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jan 2020 02:40:25 GMT</pubDate>
    <dc:creator>JoshuaBixby</dc:creator>
    <dc:date>2020-01-08T02:40:25Z</dc:date>
    <item>
      <title>Help modifiying getExtent to get data from only 1 layer</title>
      <link>https://community.esri.com/t5/python-questions/help-modifiying-getextent-to-get-data-from-only-1/m-p/163709#M12527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following code:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/477445_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;The way it is written it shows all of the layers in my mxd file. I want to change the code so that i only gets the data for 1 layer: &lt;STRONG&gt;Primary OH&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;How would i change the script to do this?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2020 15:48:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-modifiying-getextent-to-get-data-from-only-1/m-p/163709#M12527</guid>
      <dc:creator>RickHawkins</dc:creator>
      <dc:date>2020-01-07T15:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help modifiying getExtent to get data from only 1 layer</title>
      <link>https://community.esri.com/t5/python-questions/help-modifiying-getextent-to-get-data-from-only-1/m-p/163710#M12528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are multiple ways to do this, and the &lt;A class="link-titled" href="https://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/listlayers.htm" title="https://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/listlayers.htm"&gt;ListLayers—Help | ArcGIS Desktop&lt;/A&gt; documentation covers this&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;H2 style="margin: 1.26316em 0px 0.63158em; font-family: 'Avenir LT W01 35 Light', Arial, Helvetica, sans-serif; font-style: normal; font-weight: 500; letter-spacing: 0.02em; font-size: 2rem; line-height: 1.2em; -webkit-font-smoothing: antialiased; color: #4d4d4d; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fefefe; text-decoration-style: initial; text-decoration-color: initial;"&gt;Syntax&lt;/H2&gt;&lt;PRE style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; margin-top: 1em; margin-bottom: 1.5em; font-size: 0.75em; line-height: 1.5em; white-space: pre-wrap; overflow-wrap: break-word; tab-size: 4; max-width: 100%; color: #4d4d4d; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fefefe; text-decoration-style: initial; text-decoration-color: initial;"&gt;ListLayers (map_document_or_layer, {wildcard}, {data_frame})&lt;/PRE&gt;&lt;DIV class="" style="-webkit-font-smoothing: antialiased; color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fefefe; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;TABLE style="width: 767.333px; margin-bottom: 1.5em; font-size: 0.875em; line-height: 1.71429em; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; background-color: white; border-collapse: collapse; border-spacing: 0px; border: 1px solid #dddddd; text-align: left;"&gt;&lt;THEAD style="background-color: #f4f4f4; border-bottom: 1px solid #dddddd; font-size: 0.9375em; line-height: 1.6em; font-weight: bold;"&gt;&lt;TR style="border-bottom: medium none; text-align: left; height: 21px;"&gt;&lt;TD class="" style="border-left: 1px solid #dddddd; border-right: 1px solid #dddddd; padding: 12px; height: 21px;"&gt;Parameter&lt;/TD&gt;&lt;TD class="" style="border-left: 1px solid #dddddd; border-right: 1px solid #dddddd; padding: 12px; height: 21px;"&gt;Explanation&lt;/TD&gt;&lt;TD class="" style="border-left: 1px solid #dddddd; border-right: 1px solid #dddddd; padding: 12px; height: 21px;"&gt;Data Type&lt;/TD&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR style="border-bottom: 1px solid #dddddd; text-align: left; height: 24px;"&gt;&lt;TD style="border-left: 1px solid #dddddd; border-right: 1px solid #dddddd; padding: 12px; height: 24px;"&gt;&lt;DIV class="" style="-webkit-font-smoothing: antialiased;"&gt;map_document_or_layer&lt;/DIV&gt;&lt;/TD&gt;&lt;TD style="border-left: 1px solid #dddddd; border-right: 1px solid #dddddd; padding: 12px; height: 24px;"&gt;&lt;P style="font-size: 0.875rem; line-height: 1.71429em; margin-top: 0em; margin-bottom: 0px; -webkit-font-smoothing: antialiased;"&gt;A variable that references a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/mapdocument-class.htm" style="color: #007ac2; text-decoration: none;"&gt;MapDocument&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/layer-class.htm" style="color: #007ac2; text-decoration: none;"&gt;Layer&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;object.&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-left: 1px solid #dddddd; border-right: 1px solid #dddddd; padding: 12px; height: 24px;"&gt;Object&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-bottom: 1px solid #dddddd; text-align: left; height: 96px;"&gt;&lt;TD style="border-left: 1px solid #dddddd; border-right: 1px solid #dddddd; padding: 12px; height: 96px;"&gt;&lt;DIV class="" style="-webkit-font-smoothing: antialiased;"&gt;wildcard&lt;/DIV&gt;&lt;DIV class="" style="-webkit-font-smoothing: antialiased;"&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD style="border-left: 1px solid #dddddd; border-right: 1px solid #dddddd; padding: 12px; height: 96px;"&gt;&lt;P style="font-size: 0.875rem; line-height: 1.71429em; margin-top: 0em; margin-bottom: 0px; -webkit-font-smoothing: antialiased;"&gt;A combination of asterisks (*) and characters can be used to help limit the results.&lt;/P&gt;&lt;P style="font-size: 0.875rem; line-height: 1.71429em; margin-top: 1.71429em; margin-bottom: 0px; -webkit-font-smoothing: antialiased;"&gt;(The default value is None)&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-left: 1px solid #dddddd; border-right: 1px solid #dddddd; padding: 12px; height: 96px;"&gt;String&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border-bottom: medium none; text-align: left; height: 72px;"&gt;&lt;TD style="border-left: 1px solid #dddddd; border-right: 1px solid #dddddd; padding: 12px; height: 72px;"&gt;&lt;DIV class="" style="-webkit-font-smoothing: antialiased;"&gt;data_frame&lt;/DIV&gt;&lt;DIV class="" style="-webkit-font-smoothing: antialiased;"&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD style="border-left: 1px solid #dddddd; border-right: 1px solid #dddddd; padding: 12px; height: 72px;"&gt;&lt;P style="font-size: 0.875rem; line-height: 1.71429em; margin-top: 0em; margin-bottom: 0px; -webkit-font-smoothing: antialiased;"&gt;A variable that references a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/dataframe-class.htm" style="color: #007ac2; text-decoration: none;"&gt;DataFrame&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;object.&lt;/P&gt;&lt;P style="font-size: 0.875rem; line-height: 1.71429em; margin-top: 1.71429em; margin-bottom: 0px; -webkit-font-smoothing: antialiased;"&gt;(The default value is None)&lt;/P&gt;&lt;/TD&gt;&lt;TD style="border-left: 1px solid #dddddd; border-right: 1px solid #dddddd; padding: 12px; height: 72px;"&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/dataframe-class.htm" style="color: #007ac2; text-decoration: none;"&gt;DataFrame&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and shows a couple examples:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2020 16:03:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-modifiying-getextent-to-get-data-from-only-1/m-p/163710#M12528</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-01-07T16:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help modifiying getExtent to get data from only 1 layer</title>
      <link>https://community.esri.com/t5/python-questions/help-modifiying-getextent-to-get-data-from-only-1/m-p/163711#M12529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joshua, Thanks for pointing me in he right direction. This code works. It get floating numbers for the min/max values.&lt;/P&gt;&lt;P&gt;Can you tell me what the number mean - x/y coordinates, feet, etc?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/477619_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2020 18:24:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-modifiying-getextent-to-get-data-from-only-1/m-p/163711#M12529</guid>
      <dc:creator>RickHawkins</dc:creator>
      <dc:date>2020-01-07T18:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help modifiying getExtent to get data from only 1 layer</title>
      <link>https://community.esri.com/t5/python-questions/help-modifiying-getextent-to-get-data-from-only-1/m-p/163712#M12530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, i meant to show the numbers that i am getting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/477620_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, would you know how to make ArcGIS zoom to these coordinates?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2020 18:46:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-modifiying-getextent-to-get-data-from-only-1/m-p/163712#M12530</guid>
      <dc:creator>RickHawkins</dc:creator>
      <dc:date>2020-01-07T18:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help modifiying getExtent to get data from only 1 layer</title>
      <link>https://community.esri.com/t5/python-questions/help-modifiying-getextent-to-get-data-from-only-1/m-p/163713#M12531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &lt;A class="link-titled" href="https://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/extent.htm" title="https://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-classes/extent.htm"&gt;Extent—Help | ArcGIS Desktop&lt;/A&gt; documentation covers it, albeit maybe not direct enough.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;H2 style="margin: 1.26316em 0px 0.63158em; font-family: 'Avenir LT W01 35 Light', Arial, Helvetica, sans-serif; font-style: normal; font-weight: 500; letter-spacing: 0.02em; font-size: 2rem; line-height: 1.2em; -webkit-font-smoothing: antialiased;"&gt;Summary&lt;/H2&gt;&lt;P style="font-size: 0.875rem; line-height: 1.71429em; margin-top: 0em; margin-bottom: 1.71429em; -webkit-font-smoothing: antialiased;"&gt;An extent is a rectangle specified by providing the coordinate of the lower left corner and the coordinate of the upper right corner&lt;SPAN style="color: #000000;"&gt; in map units.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The key is "in map units," which means in the units of the spatial reference for the layer.&amp;nbsp; From looking at the values in your screenshot below, it is obvious the coordinates aren't geographic, so you are working with some projection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2020 02:40:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-modifiying-getextent-to-get-data-from-only-1/m-p/163713#M12531</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-01-08T02:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help modifiying getExtent to get data from only 1 layer</title>
      <link>https://community.esri.com/t5/python-questions/help-modifiying-getextent-to-get-data-from-only-1/m-p/163714#M12532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joshua,&lt;/P&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2020 12:34:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/help-modifiying-getextent-to-get-data-from-only-1/m-p/163714#M12532</guid>
      <dc:creator>RickHawkins</dc:creator>
      <dc:date>2020-01-08T12:34:45Z</dc:date>
    </item>
  </channel>
</rss>

