<?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: Syntax Error in Mosaic to New Raster Tool in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/syntax-error-in-mosaic-to-new-raster-tool/m-p/1474152#M83400</link>
    <description>&lt;P&gt;I am not sure.&amp;nbsp; Are you making *.tif files in a folder?&amp;nbsp; And I am not sure that 4 bands can be created since one of the bands is transparency.&lt;/P&gt;</description>
    <pubDate>Thu, 16 May 2024 20:40:30 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2024-05-16T20:40:30Z</dc:date>
    <item>
      <title>Syntax Error in Mosaic to New Raster Tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/syntax-error-in-mosaic-to-new-raster-tool/m-p/1473159#M83322</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;Any suggestions on the cause of the error in this message? I tried following the script, but I'm very new at Python.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="syntax.jpg" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104214iD943F42ADCDD1450/image-size/large?v=v2&amp;amp;px=999" role="button" title="syntax.jpg" alt="syntax.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 20:02:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/syntax-error-in-mosaic-to-new-raster-tool/m-p/1473159#M83322</guid>
      <dc:creator>MahaTannous</dc:creator>
      <dc:date>2024-05-15T20:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error in Mosaic to New Raster Tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/syntax-error-in-mosaic-to-new-raster-tool/m-p/1473196#M83328</link>
      <description>&lt;P&gt;missing comma before number_of_bands&lt;/P&gt;&lt;P&gt;see ylur other thread for other information&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 20:30:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/syntax-error-in-mosaic-to-new-raster-tool/m-p/1473196#M83328</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-05-15T20:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error in Mosaic to New Raster Tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/syntax-error-in-mosaic-to-new-raster-tool/m-p/1473201#M83330</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 20:44:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/syntax-error-in-mosaic-to-new-raster-tool/m-p/1473201#M83330</guid>
      <dc:creator>MahaTannous</dc:creator>
      <dc:date>2024-05-15T20:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error in Mosaic to New Raster Tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/syntax-error-in-mosaic-to-new-raster-tool/m-p/1473204#M83331</link>
      <description>&lt;P&gt;Now this.. Not sure why is says the database does not exist or isn't supported.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Arcpy.Exists("NewPython.gdb) = True&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="script.jpg" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104222iF97C88BCFBBEF9DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="script.jpg" alt="script.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 20:49:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/syntax-error-in-mosaic-to-new-raster-tool/m-p/1473204#M83331</guid>
      <dc:creator>MahaTannous</dc:creator>
      <dc:date>2024-05-15T20:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error in Mosaic to New Raster Tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/syntax-error-in-mosaic-to-new-raster-tool/m-p/1473208#M83334</link>
      <description>&lt;P&gt;specify the full path to the NewPython.gdb as it appears that you did, but you have other issues&lt;/P&gt;&lt;P&gt;You need to create the gdb, but preferably specify a folder as the output and make Aerial_Completed.tif a tif file in that folder instead.&lt;/P&gt;&lt;P&gt;If there aren't 3 bands in the raster, then don't specify 3 bands&lt;/P&gt;&lt;P&gt;btw&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Arcpy.Exists("NewPython.gdb) = True&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;is an assignment statement not a test of whether it exists so this isn't very useful&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 20:56:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/syntax-error-in-mosaic-to-new-raster-tool/m-p/1473208#M83334</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-05-15T20:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error in Mosaic to New Raster Tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/syntax-error-in-mosaic-to-new-raster-tool/m-p/1473322#M83340</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure how to go about not specifying 3 bands with it being a required parameter..&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 23:35:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/syntax-error-in-mosaic-to-new-raster-tool/m-p/1473322#M83340</guid>
      <dc:creator>MahaTannous</dc:creator>
      <dc:date>2024-05-15T23:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error in Mosaic to New Raster Tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/syntax-error-in-mosaic-to-new-raster-tool/m-p/1473341#M83341</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/mosaic-to-new-raster.htm" target="_blank"&gt;Mosaic To New Raster (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The input raster datasets are all the raster datasets you would like to mosaic together. The inputs must have the same number of bands and same bit depth; otherwise, the tool will exit with an error message.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Now, are you trying to stack the rasters on top of one another or adjoin adjacent rasters?&lt;/P&gt;&lt;P&gt;Do the rasters have the same number of bands and bit depth?&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 00:06:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/syntax-error-in-mosaic-to-new-raster-tool/m-p/1473341#M83341</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-05-16T00:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error in Mosaic to New Raster Tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/syntax-error-in-mosaic-to-new-raster-tool/m-p/1474113#M83396</link>
      <description>&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;I'm still working on clipping the parcels with the buffer lines contained from that initial project. One option I was given was to save the buffer lines from Polygon to Polyline, then polyline to raster, then combine the polyline raster with the original .tif file (the aerial shot) which has four bands.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I went back and ran the composite bands four times so I can get equal number of bands, then realized the pixel type was different on each raster. Then the pixel type was different, so I changed that to match.&lt;/P&gt;&lt;P&gt;Basically merging two rasters on top of each other to clip into parcels. Sorry for the long-winded story.&lt;/P&gt;&lt;P&gt;Here's the most recent error message..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2024-05-16 at 12.03.52 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104414i7FF13C9EA3AF8271/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2024-05-16 at 12.03.52 PM.png" alt="Screen Shot 2024-05-16 at 12.03.52 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 19:14:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/syntax-error-in-mosaic-to-new-raster-tool/m-p/1474113#M83396</guid>
      <dc:creator>MahaTannous</dc:creator>
      <dc:date>2024-05-16T19:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error in Mosaic to New Raster Tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/syntax-error-in-mosaic-to-new-raster-tool/m-p/1474152#M83400</link>
      <description>&lt;P&gt;I am not sure.&amp;nbsp; Are you making *.tif files in a folder?&amp;nbsp; And I am not sure that 4 bands can be created since one of the bands is transparency.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 20:40:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/syntax-error-in-mosaic-to-new-raster-tool/m-p/1474152#M83400</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-05-16T20:40:30Z</dc:date>
    </item>
  </channel>
</rss>

