<?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: Publish Map Image Layer to Portal in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-map-image-layer-to-portal/m-p/1104242#M6700</link>
    <description>&lt;P&gt;Like&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/176078"&gt;@Mannus_Etten&lt;/a&gt; mentioned, you can use the python sharing module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/sharing/mapimagesharingdraft-class.htm#C_GUID-60871391-D229-4DEB-A958-205FEB751791" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/sharing/mapimagesharingdraft-class.htm#C_GUID-60871391-D229-4DEB-A958-205FEB751791&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 03 Oct 2021 15:43:46 GMT</pubDate>
    <dc:creator>BHeist</dc:creator>
    <dc:date>2021-10-03T15:43:46Z</dc:date>
    <item>
      <title>Publish Map Image Layer to Portal</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-map-image-layer-to-portal/m-p/843061#M3595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have searched through the API and the examples, but it looks to me you can only publish a Feature Layer in Portal, when uploading content from&amp;nbsp;the local desktop, using gis.content.add() and then gis.content.publish(). However, I would like to upload a feature class from a zipped File geodatabase and publish it as an Map Image Layer. Once I have done this, in Portal I will then manually configure the tile levels and generate the map tiles. &amp;nbsp;I need raster tiles because in Collector for ArcGIS you can only see labels if they have been created&amp;nbsp;as raster tile images. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The closest I got was this information, which lets you create vector tiles from a layer package:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/python/sample-notebooks/publishing-packages-as-web-layers/" title="https://developers.arcgis.com/python/sample-notebooks/publishing-packages-as-web-layers/"&gt;publishing_packages_as_web_layers | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also access an map image layer or even an Image service from a URL. But that supposes that service has already been published. &amp;nbsp;It is the automated publishing of a&amp;nbsp;&lt;SPAN&gt;Map Image Layer&amp;nbsp;&lt;/SPAN&gt;I would like to do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is at all possible to upload and publish a feature class from a zipped File geodatabase directly as a &lt;SPAN&gt;Map Image Layer, using the arcgis.gis API? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If that is not possible, is is feasible to first create a Feature Layer and from that somehow create a Map Image Layer as a secondary item, perhaps using the arcgis.mapping&amp;nbsp;export_map function (not sure how that would work though). &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hugo&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2018 07:03:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-map-image-layer-to-portal/m-p/843061#M3595</guid>
      <dc:creator>HugoBouckaert1</dc:creator>
      <dc:date>2018-07-02T07:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Publish Map Image Layer to Portal</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-map-image-layer-to-portal/m-p/843062#M3596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with the arcgis pro 2.2 python module sharing it is possible but I experience some issues with it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 14:14:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-map-image-layer-to-portal/m-p/843062#M3596</guid>
      <dc:creator>Mannus_Etten</dc:creator>
      <dc:date>2018-10-26T14:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Publish Map Image Layer to Portal</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-map-image-layer-to-portal/m-p/843063#M3597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@&lt;A _jive_internal="true" class="" data-userid="320326" data-username="H.Bouckaert_westernpower" href="https://community.esri.com/people/H.Bouckaert_westernpower" style="color: #3778c7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: underline; font-size: 13.7136px;"&gt;Hugo Bouckaert&lt;/A&gt;&amp;nbsp;did u found out solution to your problem? I also want to automate publishing of map image layer but I can only find contents for publishing feature layers. Would you mind sharing your solution to this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Radhika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2019 02:55:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-map-image-layer-to-portal/m-p/843063#M3597</guid>
      <dc:creator>RadhikaBhandari</dc:creator>
      <dc:date>2019-07-03T02:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Publish Map Image Layer to Portal</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-map-image-layer-to-portal/m-p/1104242#M6700</link>
      <description>&lt;P&gt;Like&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/176078"&gt;@Mannus_Etten&lt;/a&gt; mentioned, you can use the python sharing module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/sharing/mapimagesharingdraft-class.htm#C_GUID-60871391-D229-4DEB-A958-205FEB751791" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/sharing/mapimagesharingdraft-class.htm#C_GUID-60871391-D229-4DEB-A958-205FEB751791&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Oct 2021 15:43:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/publish-map-image-layer-to-portal/m-p/1104242#M6700</guid>
      <dc:creator>BHeist</dc:creator>
      <dc:date>2021-10-03T15:43:46Z</dc:date>
    </item>
  </channel>
</rss>

