<?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 batch creating MMPK with clipped extent in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/batch-creating-mmpk-with-clipped-extent/m-p/1053411#M40459</link>
    <description>&lt;P&gt;Hi, I have a aprx project with a map in it.&lt;/P&gt;&lt;P&gt;The map have many layers and a specific layer (the boundarys) with 10 polygons.&amp;nbsp;&amp;nbsp;I need to iterate through each record&amp;nbsp; of the boundary and create a MMPK for every polygon within the layer.&lt;/P&gt;&lt;P&gt;I do use search cursor to find my information (name, etc...).&amp;nbsp; Then I will specify a definition query on my layer (boundary). Then I export a MMPK with the CLIP option.&lt;/P&gt;&lt;P&gt;The first MMPK is clipped well, but all other are full with the full extent of the map, even if the layer has a definition query.&lt;/P&gt;&lt;P&gt;If I do thiw manually (10 times), it works.&lt;/P&gt;&lt;P&gt;But If i do this with Python...&amp;nbsp; Only the first one (mmpk) is well clipped.&lt;/P&gt;&lt;P&gt;ANy idea why I can't batch create those other MMPK ? why the create mobil map package don't use the extent except for the first one ?&lt;/P&gt;</description>
    <pubDate>Fri, 30 Apr 2021 20:00:37 GMT</pubDate>
    <dc:creator>FrancisMoisan1</dc:creator>
    <dc:date>2021-04-30T20:00:37Z</dc:date>
    <item>
      <title>batch creating MMPK with clipped extent</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/batch-creating-mmpk-with-clipped-extent/m-p/1053411#M40459</link>
      <description>&lt;P&gt;Hi, I have a aprx project with a map in it.&lt;/P&gt;&lt;P&gt;The map have many layers and a specific layer (the boundarys) with 10 polygons.&amp;nbsp;&amp;nbsp;I need to iterate through each record&amp;nbsp; of the boundary and create a MMPK for every polygon within the layer.&lt;/P&gt;&lt;P&gt;I do use search cursor to find my information (name, etc...).&amp;nbsp; Then I will specify a definition query on my layer (boundary). Then I export a MMPK with the CLIP option.&lt;/P&gt;&lt;P&gt;The first MMPK is clipped well, but all other are full with the full extent of the map, even if the layer has a definition query.&lt;/P&gt;&lt;P&gt;If I do thiw manually (10 times), it works.&lt;/P&gt;&lt;P&gt;But If i do this with Python...&amp;nbsp; Only the first one (mmpk) is well clipped.&lt;/P&gt;&lt;P&gt;ANy idea why I can't batch create those other MMPK ? why the create mobil map package don't use the extent except for the first one ?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 20:00:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/batch-creating-mmpk-with-clipped-extent/m-p/1053411#M40459</guid>
      <dc:creator>FrancisMoisan1</dc:creator>
      <dc:date>2021-04-30T20:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: batch creating MMPK with clipped extent</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/batch-creating-mmpk-with-clipped-extent/m-p/1053415#M40461</link>
      <description>&lt;P&gt;did you specify the extent explicitly?&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If an extent is not specified, the visible extent of the map will be used to define the area of interest (AOI) and consolidate only those features that intersect that extent.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-mobile-map-package.htm" target="_blank"&gt;Create Mobile Map Package (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;arcpy.management.CreateMobileMapPackage(in_map, output_file, {in_locator}, {area_of_interest},&lt;STRONG&gt; {extent},&lt;/STRONG&gt; {clip_features}, {title}, {summary}, {description}, {tags}, {credits}, {use_limitations}, {anonymous_use}, {enable_map_expiration}, {map_expiration_type}, {expiration_date}, {expiration_message}, {select_related_rows}, {reference_online_content})&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 20:19:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/batch-creating-mmpk-with-clipped-extent/m-p/1053415#M40461</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-04-30T20:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: batch creating MMPK with clipped extent</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/batch-creating-mmpk-with-clipped-extent/m-p/1053420#M40462</link>
      <description>&lt;P&gt;Hi!&amp;nbsp; I do use an&amp;nbsp;&lt;EM&gt;{area_of_interest} and in the doc : "&lt;SPAN&gt;Polygon layer that defines the area of interest. Only those features that intersect the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="usertext"&gt;area_of_interest&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;will be included in the mobile map package."&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;So the extent is optional (in my comprehension).&amp;nbsp; The problem is that for the first area of interest, it works, but for the others... it take all the map, not the area of interest... &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;and I have get this message :&amp;nbsp;ERROR 000204&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/tool-errors-and-warnings/001001-010000/tool-errors-and-warnings-00201-00225-000204.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/tool-errors-and-warnings/001001-010000/tool-errors-and-warnings-00201-00225-000204.htm&lt;/A&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 20:31:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/batch-creating-mmpk-with-clipped-extent/m-p/1053420#M40462</guid>
      <dc:creator>FrancisMoisan1</dc:creator>
      <dc:date>2021-04-30T20:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: batch creating MMPK with clipped extent</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/batch-creating-mmpk-with-clipped-extent/m-p/1053429#M40463</link>
      <description>&lt;P&gt;The error has nothing to do with the extent but either the input or output data.&lt;/P&gt;&lt;P&gt;as for area_of_interest vs extent, perhaps making a standalone featureclass rather than a definition query might help&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 20:44:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/batch-creating-mmpk-with-clipped-extent/m-p/1053429#M40463</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-04-30T20:44:30Z</dc:date>
    </item>
  </channel>
</rss>

