Labels not displaying in cached service

395
1
Jump to solution
10-02-2013 05:53 AM
JohnFannon
Occasional Contributor III
Hi

I've created a cached map service and for a couple of the scales the labels have not come through in the cached tiles. When using the same mxd to create an un-cached service, the labels are drawn when viewing at the same scales.

I've tried simplifying the labels but this has not made any difference. I've also turned on verbose logging and there are no errors/warnings in the log when after re-creating the tiles.

Has anyone seen this behaviour? I've now wasted a few hours messing about trying to fix it, so any previous experiences with labels in cached map services would be greatly appreciated. I don't really want to have to create annotation, as the services uses pre-defined data from a supplier which we don't wish to manipulate if we can help it.

We are working with ArcGIS Server 10.1 sp1 on Windows Server 2008 R2. The data is coming from local file geodatabases on the server.

Regards

John
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
JohnFannon
Occasional Contributor III
OK - after some more trial and error experimentation I managed to identify the two layers that were at the root of the problem. These actually showed settlement names (labels) with no symbols. However, they both had unique value rendering set, but no classes defined. I set these both to use a single symbol with no colour/outline and re-published - now the labels display as expected in the cache.
It would be useful if the logs had reported what the problem was as it would've saved me a couple of hours work.

Still it's working now.

View solution in original post

0 Kudos
1 Reply
JohnFannon
Occasional Contributor III
OK - after some more trial and error experimentation I managed to identify the two layers that were at the root of the problem. These actually showed settlement names (labels) with no symbols. However, they both had unique value rendering set, but no classes defined. I set these both to use a single symbol with no colour/outline and re-published - now the labels display as expected in the cache.
It would be useful if the logs had reported what the problem was as it would've saved me a couple of hours work.

Still it's working now.
0 Kudos