<?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: geoTIFF with Transparency/NoData in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/geotiff-with-transparency-nodata/m-p/1264716#M4870</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/372010"&gt;@NorbertThoden&lt;/a&gt;&amp;nbsp;this looks like a bug. Please contact support so we can follow up on the fix. For now I've log an internal bug so we can investigate.&lt;/P&gt;&lt;P&gt;In the meantime, it's possible that another image format may honor the transparency properly. I don't know if that's the case, or if any other formats would work with your workflow.&lt;/P&gt;</description>
    <pubDate>Mon, 06 Mar 2023 20:58:54 GMT</pubDate>
    <dc:creator>JamesBallard1</dc:creator>
    <dc:date>2023-03-06T20:58:54Z</dc:date>
    <item>
      <title>geoTIFF with Transparency/NoData</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/geotiff-with-transparency-nodata/m-p/1262976#M4864</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I want to load a geotiff as basemap (via class Raster, RasterLayer)&lt;BR /&gt;Unfortunately the transparent/NoData are displayed in black.&lt;/P&gt;&lt;P&gt;If i use the data in TilePackage (tpk) format instead, i works fine&lt;BR /&gt;(using TileCache, ArcGISTiledLayer).&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Does someone know, how to overcome the issue?&lt;/LI&gt;&lt;LI&gt;Maybe anyone could be so kind to check the behaviour at V100.15?&lt;BR /&gt;(Location: Bremen, Germany)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;My System:&lt;BR /&gt;OpenSuse, Qt5.14, runtimeSDK V100.8. (I know a little bit old...)&lt;BR /&gt;MapExportEval.tif ist attached&lt;/P&gt;&lt;P&gt;(The whole workflow is described here:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/geotiff-with-transparency/td-p/1261368" target="_blank"&gt;GeoTiff with transparency - Esri Community&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Thanks in advance!!!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 12:32:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/geotiff-with-transparency-nodata/m-p/1262976#M4864</guid>
      <dc:creator>NorbertThoden</dc:creator>
      <dc:date>2023-03-01T12:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: geoTIFF with Transparency/NoData</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/geotiff-with-transparency-nodata/m-p/1264696#M4867</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/372010"&gt;@NorbertThoden&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;I see the same as you with your raster file. I tested with 100.15 and it happens there as well. I will check with our raster experts and get back to you.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 19:43:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/geotiff-with-transparency-nodata/m-p/1264696#M4867</guid>
      <dc:creator>JamesBallard1</dc:creator>
      <dc:date>2023-03-06T19:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: geoTIFF with Transparency/NoData</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/geotiff-with-transparency-nodata/m-p/1264716#M4870</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/372010"&gt;@NorbertThoden&lt;/a&gt;&amp;nbsp;this looks like a bug. Please contact support so we can follow up on the fix. For now I've log an internal bug so we can investigate.&lt;/P&gt;&lt;P&gt;In the meantime, it's possible that another image format may honor the transparency properly. I don't know if that's the case, or if any other formats would work with your workflow.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 20:58:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/geotiff-with-transparency-nodata/m-p/1264716#M4870</guid>
      <dc:creator>JamesBallard1</dc:creator>
      <dc:date>2023-03-06T20:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: geoTIFF with Transparency/NoData</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/geotiff-with-transparency-nodata/m-p/1264859#M4873</link>
      <description>&lt;P&gt;Hi James!&lt;/P&gt;&lt;P&gt;Thanks for testing with 100.15.&lt;/P&gt;&lt;P&gt;I already check a few other formats, but without success &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you suggested i created case/bug:&lt;BR /&gt;CASE #03283291 (ESRI Germany/Swiss)&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2023 10:21:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/geotiff-with-transparency-nodata/m-p/1264859#M4873</guid>
      <dc:creator>NorbertThoden</dc:creator>
      <dc:date>2023-03-07T10:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: geoTIFF with Transparency/NoData</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/geotiff-with-transparency-nodata/m-p/1266219#M4883</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/372010"&gt;@NorbertThoden&lt;/a&gt;&amp;nbsp;one of my colleagues recommended using a Raster mask function. That might work for this case as a workaround until we can address the bug.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/qt/layers/add-raster-data/#create-a-raster-from-a-raster-function" target="_blank"&gt;https://developers.arcgis.com/qt/layers/add-raster-data/#create-a-raster-from-a-raster-function&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/manage-data/raster-and-images/mask-function.htm" target="_blank"&gt;https://desktop.arcgis.com/en/arcmap/latest/manage-data/raster-and-images/mask-function.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 21:36:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/geotiff-with-transparency-nodata/m-p/1266219#M4883</guid>
      <dc:creator>JamesBallard1</dc:creator>
      <dc:date>2023-03-09T21:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: geoTIFF with Transparency/NoData</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/geotiff-with-transparency-nodata/m-p/1267532#M4885</link>
      <description>&lt;P&gt;Hi James!&lt;BR /&gt;I have some news:&lt;/P&gt;&lt;P&gt;I got support from ESRI Germany. Thexy regocnized that my&amp;nbsp;MapExportEval.tif lacks NoData definition.&lt;BR /&gt;That could cause the black/white background instead of desired transparency. (see&amp;nbsp;Properties_NoDataUndefined.JPG)&lt;/P&gt;&lt;P&gt;The improved approach performs the georeferencing first.&lt;BR /&gt;Afterwards a mask funtion has to put on the orginal scan (Mask.JPG)&lt;BR /&gt;The resulting "Mask_XY" layer has now the transpareny.&lt;BR /&gt;Finally that layer be export WITH "0" as NoData value (8BitUnsigned, LZW)&lt;BR /&gt;See&amp;nbsp;Export.JPG&lt;/P&gt;&lt;P&gt;The exported file has NoData defined, is georeferenced, has nice colors,&amp;nbsp;compact...&lt;BR /&gt;(see&amp;nbsp;Properties_NoDataDefined.JPG)&lt;/P&gt;&lt;P&gt;And it works fine with the ArcGIS Runtime SDK (V100.8) in any relevant ojection (WebMerc, UTM 32632)&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 13:54:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/geotiff-with-transparency-nodata/m-p/1267532#M4885</guid>
      <dc:creator>NorbertThoden</dc:creator>
      <dc:date>2023-03-14T13:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: geoTIFF with Transparency/NoData</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/geotiff-with-transparency-nodata/m-p/1268180#M4886</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/372010"&gt;@NorbertThoden&lt;/a&gt;&amp;nbsp;thanks for the update. I do have some more news from our end as well. Looks like the tiff/GeoTiff workflow is a limitation of the format itself rather than an Esri bug. The mask function should get you what you need, but also has some limitations.&lt;/P&gt;&lt;PRE&gt;Unfortunately, for GeoTIFF/TIFF, there's no well-defined way of supporting transparency channel/band. This isn't an Esri bug, it's related to this particular format. 

In this case, I would recommend going with PNG route, which does support transparency in band 4.

The mask function would only allow you define a pixel as ON or OFF, will not give you transparency, i.e. percentage of "opaqueness".

For their test data, looks like they just need a way to set NoData, not percentage of transparency, so in theory, you could define a mask using band 4, but doing so would involve extra step, it may not perform as fast as PNG.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 18:38:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/geotiff-with-transparency-nodata/m-p/1268180#M4886</guid>
      <dc:creator>JamesBallard1</dc:creator>
      <dc:date>2023-03-15T18:38:11Z</dc:date>
    </item>
  </channel>
</rss>

