Select to view content in your preferred language

Caching Problems

3168
7
07-24-2014 12:34 AM
BerkUlupinar
Deactivated User

I want to cache rasters on ArcGIS Server 10.1 but when caching is over, i see black rasters in my service as you can see in screenshot.Some of my rasters are cached some of not.How can i solve this issue?

sdfdfsd.jpg

Tags (2)
0 Kudos
7 Replies
jiangsuwen
Deactivated User

hi Berk,

you can try to switch the format of the tile from png to png8 or png32, hope it works.

0 Kudos
OwenEarley
Frequent Contributor

It looks like all of your map is being cached correctly - but there is an issue with transparent areas.

If this was a caching issue then you end up with missing tiles that look more like this:

missing-tiles.png

Like jiang suwen says (above), try changing the tile format to PNG to resolve transparency issues. Also, check that the background colour of the ArcMap data frame is not black (Data Frame Properties > Frame (tab) > Background).

0 Kudos
BerkUlupinar
Deactivated User

Hello Owen and Jiang,

First of all thank you for your answers.

Yes, my map caches are correct but there is a problem with rasters.I tried to change format to png32 and also i tried other formats but it didn't work.

Data frame background color is black

0 Kudos
JenniferMcCall4
Frequent Contributor

Hi Berk,

As Owen mentioned, if you're data frame color is black it will definitely cause this issue.  Try changing the data frame background to "None" and re-publishing a NEW service, and then caching.

As for only parts of imagery being cached there are two things I would take a look at:

1. Does your Area of Interest for caching cover the full extent of you imagery (assuming you're using one)

2. When publishing your service, ensure that you have zoomed to the full extent of your data.

     - I would then make sure this extent is set in your Data Frame properties (Data Frame Properties -> Data Frame (tab) -> Under "Extent Used By Full Extent Command", choose Other -> Specify Extent -> Ensure "Current Visible Extent" is chosen -> Click OK.  Then publish after this.

BerkUlupinar
Deactivated User

Hello Jennifer,

Thank you very much.I will try this solution.!

0 Kudos
by Anonymous User
Not applicable

I've seen rasters skip over areas when caching, which may cause this problem.  It could be the network is too busy, or the files themselves are too large.  Are you caching right from a mosaic database?  And, can you relocate the rasters to another drive on the caching server, or somewhere more local, so ArcGIS Server won't have to traverse the network to reach them?

0 Kudos
GordonSumerling
Esri Regular Contributor

Hello Berk,

how are you trying to build your cache? As it is rasters might I suggest putting the rasters in a Mosaic Dataset then use the caching toolset to build an offline cache from the Mosaic datset. The Manage Tile Cachehttp://resources.arcgis.com/en/help/main/10.1/index.html#/Manage_Tile_Cache/001700000189000000/ Tool will build the cache for you. The advantage with the the mosaic dataset is the boundary layer will define the cache extents.

Cheers

Gordon

0 Kudos