Select to view content in your preferred language

Manage Tile Cache geoprocessing transparency problem

467
4
Jump to solution
01-22-2025 08:34 AM
MaximeDemers
Frequent Contributor

Hi,

I want to use the Manage Tile Cache geoprocessing with ArcGIS Pro 2.9 to create a local cache of a ecw raster imagery.

The image has four 8bits bands (rgba) the 4th band stores the transparency (0 or 255).

I have created a tiling scheme file that use the MIXED format in CompactV2 structure.

The geoprocessing is working without any problem but the cache does not have transparency at all.

Should I try with another format like PNG32?

Any other suggestions?

Thank you for your help. 

0 Kudos
1 Solution

Accepted Solutions
MaximeDemers
Frequent Contributor

I found out my error.

I had to select the map instead of the raster in the Input Data Source parameter in order to make the tool take the transparency in account.

 

Thank you for your help!

View solution in original post

0 Kudos
4 Replies
George_Thompson
Esri Notable Contributor

Looks like you may need to use PNG format only to have transparency. Here is some good documentation on this: https://enterprise.arcgis.com/en/server/11.3/publish-services/windows/caching-terminology.htm#ESRI_S...

--- George T.
0 Kudos
MaximeDemers
Frequent Contributor

@George_Thompson 

I have made more tests since I posted and both MIXED and PNG32 are not working. Perhaps the tool does not works when the transparency is in a 4th band instead of using a nodata value as a transparent background in the raster symbology?

0 Kudos
George_Thompson
Esri Notable Contributor

Good question, I am not sure about that. I overlooked your note about the 4th band holding the transparency.

--- George T.
0 Kudos
MaximeDemers
Frequent Contributor

I found out my error.

I had to select the map instead of the raster in the Input Data Source parameter in order to make the tool take the transparency in account.

 

Thank you for your help!

0 Kudos