Select to view content in your preferred language

Problem adding raster

579
2
Jump to solution
07-09-2012 10:39 PM
KevinDunlop
Frequent Contributor
Hi,

I have a few image services in my ArcGIS server and would like to add them to my web map in the SLV.  However when I do so the background (areas with no data) comes in black and completely covers any base map.  Is there a way to make areas beyond the edge of the raster (no data values) be transparent so that the base maps are visible?  Thanks,
0 Kudos
1 Solution

Accepted Solutions
JeffMcConnell
Occasional Contributor
Try setting the image format to pngjpg in the map.xml file

<esri:ArcGISImageServiceLayer ID="4f2c370288a54630b1299844e6f6414f" Visible="False" Url="<yourservice>" ImageFormat="JPGPNG">

If the transparency is set properly in the image service (and you are running arcgis10) it should fix the issue.

Thanks,
Jeff

View solution in original post

0 Kudos
2 Replies
JeffMcConnell
Occasional Contributor
Try setting the image format to pngjpg in the map.xml file

<esri:ArcGISImageServiceLayer ID="4f2c370288a54630b1299844e6f6414f" Visible="False" Url="<yourservice>" ImageFormat="JPGPNG">

If the transparency is set properly in the image service (and you are running arcgis10) it should fix the issue.

Thanks,
Jeff
0 Kudos
KevinDunlop
Frequent Contributor
Thanks!  That did it.
0 Kudos