<?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 Mosaic function, mosaicking_tolerance in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/mosaic-function-mosaicking-tolerance/m-p/1328497#M68636</link>
    <description>&lt;P&gt;Hello there. I am using arcpy to develop a toolbox. And I got a confusing problem.&lt;/P&gt;&lt;P&gt;I have a loop that calculates to get one raster file at a time. For example, in the ith loop I get raster_i. I need to add the value of raster_i to my original raster. Therefore, I write the code like this,&lt;/P&gt;&lt;PRE&gt;arcpy.management.Mosaic(raster_i, original_raster, "SUM")&lt;/PRE&gt;&lt;P&gt;But the pixels of raster_i and original_raster do not always line up&amp;nbsp; exactly. I want to make sure that the pixels of original_raster are fixed, and that each time raster_i is added, it is resampled based on the position of the pixel points of the original raster. How do I implement that functionality? I tried parameter mosaicking_tolerance,&amp;nbsp;but I changed the value of this parameter from 0 to 0.5 and the results don't seem to change for me.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Sep 2023 20:58:53 GMT</pubDate>
    <dc:creator>WeiMao</dc:creator>
    <dc:date>2023-09-13T20:58:53Z</dc:date>
    <item>
      <title>Mosaic function, mosaicking_tolerance</title>
      <link>https://community.esri.com/t5/python-questions/mosaic-function-mosaicking-tolerance/m-p/1328497#M68636</link>
      <description>&lt;P&gt;Hello there. I am using arcpy to develop a toolbox. And I got a confusing problem.&lt;/P&gt;&lt;P&gt;I have a loop that calculates to get one raster file at a time. For example, in the ith loop I get raster_i. I need to add the value of raster_i to my original raster. Therefore, I write the code like this,&lt;/P&gt;&lt;PRE&gt;arcpy.management.Mosaic(raster_i, original_raster, "SUM")&lt;/PRE&gt;&lt;P&gt;But the pixels of raster_i and original_raster do not always line up&amp;nbsp; exactly. I want to make sure that the pixels of original_raster are fixed, and that each time raster_i is added, it is resampled based on the position of the pixel points of the original raster. How do I implement that functionality? I tried parameter mosaicking_tolerance,&amp;nbsp;but I changed the value of this parameter from 0 to 0.5 and the results don't seem to change for me.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 20:58:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/mosaic-function-mosaicking-tolerance/m-p/1328497#M68636</guid>
      <dc:creator>WeiMao</dc:creator>
      <dc:date>2023-09-13T20:58:53Z</dc:date>
    </item>
  </channel>
</rss>

