<?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 CIMSpatialMapSeries' margin values not being applied? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/cimspatialmapseries-margin-values-not-being/m-p/1550510#M89324</link>
    <description>&lt;P&gt;I'm almost done with a script that'll export shortened links to each feature in an Experience Builder App, but I'm stuck at an unusual point.&lt;/P&gt;&lt;P&gt;My methodology involves ArcGIS Pro and the programmatic creation of a Spatial Map Series, and the derivative URL Parameters for an ExB hyperlink therefrom.&lt;/P&gt;&lt;P&gt;It appears that the only way to create a Spatial Map Series from ArcPy is to call the "&lt;SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/3.2/arcpy/mapping/python-cim-access.htm#ESRI_SECTION2_C0F5A56BB5894B4D86322A940F060D57" target="_blank" rel="noopener"&gt;CIM Spatial Map Series Object and populate its properties&lt;/A&gt;.&lt;/SPAN&gt;"&amp;nbsp; I appear to be having issues with the Map Extent parameters, specifically, setting them to anything other than Percentage.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;extentOptions&lt;/LI&gt;&lt;LI&gt;marginType&lt;/LI&gt;&lt;LI&gt;marginUnits&lt;/LI&gt;&lt;LI&gt;margin&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SMS GUI Tool Options.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/117690i8CE51E28A43D8F80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SMS GUI Tool Options.png" alt="SMS GUI Tool Options.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; The Usual GUI Spatial Map Series' Tool clearly reflects the CIM Options for &lt;STRONG&gt;marginType&lt;/STRONG&gt; (&lt;STRONG&gt;Percent&lt;/STRONG&gt;,&lt;STRONG&gt; MapUnits&lt;/STRONG&gt;, or &lt;STRONG&gt;PageUnits&lt;/STRONG&gt;).&amp;nbsp; But any attempt on my part to specify anything other than Percent in the CIM just gets ignored.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; Attempting This (4-mile margin according to the MapUnits):&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CIM code error.PNG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/117691i0B6325D35DC536A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CIM code error.PNG" alt="CIM code error.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt; Results in this:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CIM SMS Result.PNG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/117692iE6D42CFBDBCEBA2B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CIM SMS Result.PNG" alt="CIM SMS Result.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A &lt;U&gt;4&lt;/U&gt; &lt;U&gt;Percent&lt;/U&gt; Margin.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This has &lt;U&gt;got&lt;/U&gt; to be User Error.&amp;nbsp; Anyone reading this have any ideas?&lt;/P&gt;</description>
    <pubDate>Mon, 21 Oct 2024 16:03:38 GMT</pubDate>
    <dc:creator>ODWC_GIS</dc:creator>
    <dc:date>2024-10-21T16:03:38Z</dc:date>
    <item>
      <title>CIMSpatialMapSeries' margin values not being applied?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/cimspatialmapseries-margin-values-not-being/m-p/1550510#M89324</link>
      <description>&lt;P&gt;I'm almost done with a script that'll export shortened links to each feature in an Experience Builder App, but I'm stuck at an unusual point.&lt;/P&gt;&lt;P&gt;My methodology involves ArcGIS Pro and the programmatic creation of a Spatial Map Series, and the derivative URL Parameters for an ExB hyperlink therefrom.&lt;/P&gt;&lt;P&gt;It appears that the only way to create a Spatial Map Series from ArcPy is to call the "&lt;SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/3.2/arcpy/mapping/python-cim-access.htm#ESRI_SECTION2_C0F5A56BB5894B4D86322A940F060D57" target="_blank" rel="noopener"&gt;CIM Spatial Map Series Object and populate its properties&lt;/A&gt;.&lt;/SPAN&gt;"&amp;nbsp; I appear to be having issues with the Map Extent parameters, specifically, setting them to anything other than Percentage.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;extentOptions&lt;/LI&gt;&lt;LI&gt;marginType&lt;/LI&gt;&lt;LI&gt;marginUnits&lt;/LI&gt;&lt;LI&gt;margin&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SMS GUI Tool Options.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/117690i8CE51E28A43D8F80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SMS GUI Tool Options.png" alt="SMS GUI Tool Options.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; The Usual GUI Spatial Map Series' Tool clearly reflects the CIM Options for &lt;STRONG&gt;marginType&lt;/STRONG&gt; (&lt;STRONG&gt;Percent&lt;/STRONG&gt;,&lt;STRONG&gt; MapUnits&lt;/STRONG&gt;, or &lt;STRONG&gt;PageUnits&lt;/STRONG&gt;).&amp;nbsp; But any attempt on my part to specify anything other than Percent in the CIM just gets ignored.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; Attempting This (4-mile margin according to the MapUnits):&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CIM code error.PNG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/117691i0B6325D35DC536A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CIM code error.PNG" alt="CIM code error.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt; Results in this:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CIM SMS Result.PNG" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/117692iE6D42CFBDBCEBA2B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CIM SMS Result.PNG" alt="CIM SMS Result.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A &lt;U&gt;4&lt;/U&gt; &lt;U&gt;Percent&lt;/U&gt; Margin.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This has &lt;U&gt;got&lt;/U&gt; to be User Error.&amp;nbsp; Anyone reading this have any ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 16:03:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/cimspatialmapseries-margin-values-not-being/m-p/1550510#M89324</guid>
      <dc:creator>ODWC_GIS</dc:creator>
      <dc:date>2024-10-21T16:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: CIMSpatialMapSeries' margin values not being applied?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/cimspatialmapseries-margin-values-not-being/m-p/1550518#M89326</link>
      <description>&lt;P&gt;I found it.&amp;nbsp; Wish I could delete the question now.&amp;nbsp; It was my specified wkid of the projection, which was not correct at all.&amp;nbsp; Me intending to use "Miles" requires the use of:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;'uwkid': 9093&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;apparently.&amp;nbsp; I feel like this one came out of left field, and I don't know where exactly it comes from:&amp;nbsp;&lt;A href="https://developers.arcgis.com/kotlin/api-reference/arcgis-maps-kotlin/com.arcgismaps.geometry/-linear-unit-id/index.html" target="_blank"&gt;LinearUnitId (arcgis.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 16:21:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/cimspatialmapseries-margin-values-not-being/m-p/1550518#M89326</guid>
      <dc:creator>ODWC_GIS</dc:creator>
      <dc:date>2024-10-21T16:21:49Z</dc:date>
    </item>
  </channel>
</rss>

