<?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 addDataFromPath isn't respecting the layer weight rules in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/adddatafrompath-isn-t-respecting-the-layer-weight/m-p/565997#M24902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm adding a raster layer to my map in ArcGIS Pro from the python command line (testing out syntax to use in a python toolbox).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use:&lt;/P&gt;&lt;P&gt;arcpy.management.MakeRasterLayer('path to my image file')&lt;/P&gt;&lt;P&gt;the image is successfully added to the current map below all of my vector layers.&amp;nbsp; However, when i use:&lt;/P&gt;&lt;P&gt;map.addDataFromPath('path to my image file')&lt;/P&gt;&lt;P&gt;the image is added to the current map, but at the top.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the same image, and the same map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the help documentation, 'the addDataFromPath method... places each layer based on layer weight rules and geometry type' but this does not seem to be happening.&amp;nbsp; Is this a bug?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 May 2019 10:49:30 GMT</pubDate>
    <dc:creator>TobiSellekaerts</dc:creator>
    <dc:date>2019-05-17T10:49:30Z</dc:date>
    <item>
      <title>addDataFromPath isn't respecting the layer weight rules</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adddatafrompath-isn-t-respecting-the-layer-weight/m-p/565997#M24902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm adding a raster layer to my map in ArcGIS Pro from the python command line (testing out syntax to use in a python toolbox).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use:&lt;/P&gt;&lt;P&gt;arcpy.management.MakeRasterLayer('path to my image file')&lt;/P&gt;&lt;P&gt;the image is successfully added to the current map below all of my vector layers.&amp;nbsp; However, when i use:&lt;/P&gt;&lt;P&gt;map.addDataFromPath('path to my image file')&lt;/P&gt;&lt;P&gt;the image is added to the current map, but at the top.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the same image, and the same map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the help documentation, 'the addDataFromPath method... places each layer based on layer weight rules and geometry type' but this does not seem to be happening.&amp;nbsp; Is this a bug?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2019 10:49:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adddatafrompath-isn-t-respecting-the-layer-weight/m-p/565997#M24902</guid>
      <dc:creator>TobiSellekaerts</dc:creator>
      <dc:date>2019-05-17T10:49:30Z</dc:date>
    </item>
  </channel>
</rss>

