10.1 Print service does not print cached basemap

964
2
Jump to solution
10-08-2012 01:52 PM
by Anonymous User
Not applicable
Original User: christopherfricke

I am using the Flex viewer to send print requests to the Print Widget.

Currently my cached street basemap map service is not included in the printout.  However, my cached imagery service is appearing in the print out.  (See examples)

Both cached services have the same cached properties, except for the file type (mixed vs png). 
Both cached services are the same spatial reference

The requests to the print service are basically exactly the same except for the service name difference.

In addition the Dynamic version of the basemap service worked like a charm.  (I have a dynamic and cached basemap for testing)

Has anyone run into this before?  I can't think of a reason that one cached map service will not work, but ~8 cached image services will work.




Basemap
***************
{"mapOptions":{"extent":{"ymin":1870886.1691744225,"ymax":1871190.8566744225,"xmax":6523806.466839331,"xmin":6523181.466839331}},"exportOptions":null,"operationalLayers":[{"id":"Campus Basemap","url":"http://GISSERV101/arcgis/rest/services/Production/Campus_Cached/MapServer","title":"Campus Basemap"},{"id":"Tree Survey","url":"http://GISSERV101/arcgis/rest/services/Production/Tree_Survey/MapServer","title":"Tree Survey"},{"id":"Buildings","url":"http://GISSERV101/arcgis/rest/services/Production/Buildings/MapServer","title":"Buildings"}],"layoutOptions":{"legendOptions":{"operationalLayers":[{"id":"Tree Survey"},{"id":"Buildings"},{"id":"Earthquakes (Past 7 Days)"}]}}

Basemap Service Properties
***************
Spatial Reference: 102645  (2229)


Single Fused Map Cache: true

Tile Info:

    Height: 256
    Width: 256
    DPI: 96
    Levels of Detail: 9
        Level ID: 0 [ Start Tile, End Tile ]
            Resolution: 13.888888888888888
            Scale: 16000
        Level ID: 1 [ Start Tile, End Tile ]
            Resolution: 6.944444444444444
            Scale: 8000
        Level ID: 2 [ Start Tile, End Tile ]
            Resolution: 3.472222222222222
            Scale: 4000
        Level ID: 3 [ Start Tile, End Tile ]
            Resolution: 1.736111111111111
            Scale: 2000
        Level ID: 4 [ Start Tile, End Tile ]
            Resolution: 0.8680555555555555
            Scale: 1000
        Level ID: 5 [ Start Tile, End Tile ]
            Resolution: 0.43402777777777773
            Scale: 500
        Level ID: 6 [ Start Tile, End Tile ]
            Resolution: 0.21701388888888887
            Scale: 250
        Level ID: 7 [ Start Tile, End Tile ]
            Resolution: 0.13020833333333331
            Scale: 150
        Level ID: 8 [ Start Tile, End Tile ]
            Resolution: 0.043402777777777776
            Scale: 50
    Format: PNG
    Compression Quality: 0.0
    Origin: X: -8.6666320165001E8
    Y: 1.859050543630021E10
    Spatial Reference: 102645  (2229)

Imagery
***************
{"mapOptions":{"extent":{"ymin":1870886.1691744225,"ymax":1871190.8566744225,"xmax":6523806.466839331,"xmin":6523181.466839331}},"exportOptions":null,"operationalLayers":[{"id":"Imagery 1993","url":"http://GISSERV101/arcgis/rest/services/imagery/Imagery_19930611/ImageServer","title":"Imagery 1993"},{"id":"Tree Survey","url":"http://GISSERV101/arcgis/rest/services/Production/Tree_Survey/MapServer","title":"Tree Survey"},{"id":"Buildings","url":"http://GISSERV101/arcgis/rest/services/Production/Buildings/MapServer","title":"Buildings"}],"layoutOptions":{"legendOptions":{"operationalLayers":[{"id":"Tree Survey"},{"id":"Buildings"},{"id":"Earthquakes (Past 7 Days)"}]}}


Imagery Service Cache Info
****************
Name: imagery/Imagery_1971

Description: imagery/Imagery_1971

Single Fused Map Cache: true

Tile Info:

    Height: 256
    Width: 256
    DPI: 96
    Levels of Detail: 9
        Level ID: 0 [ Start Tile, End Tile ]
            Resolution: 13.888888888888888
            Scale: 16000
        Level ID: 1 [ Start Tile, End Tile ]
            Resolution: 6.944444444444444
            Scale: 8000
        Level ID: 2 [ Start Tile, End Tile ]
            Resolution: 3.472222222222222
            Scale: 4000
        Level ID: 3 [ Start Tile, End Tile ]
            Resolution: 1.736111111111111
            Scale: 2000
        Level ID: 4 [ Start Tile, End Tile ]
            Resolution: 0.8680555555555555
            Scale: 1000
        Level ID: 5 [ Start Tile, End Tile ]
            Resolution: 0.43402777777777773
            Scale: 500
        Level ID: 6 [ Start Tile, End Tile ]
            Resolution: 0.21701388888888887
            Scale: 250
        Level ID: 7 [ Start Tile, End Tile ]
            Resolution: 0.13020833333333331
            Scale: 150
        Level ID: 8 [ Start Tile, End Tile ]
            Resolution: 0.043402777777777776
            Scale: 50
    Format: Mixed
    Compression Quality: 75.0
    Origin: X: -1.176089E8
    Y: 1.564597E8
    Spatial Reference: 102645  (2229)
[ATTACH=CONFIG]18268[/ATTACH][ATTACH=CONFIG]18270[/ATTACH]
0 Kudos
1 Solution

Accepted Solutions
christopherfricke2
New Contributor III
Thanks Tom

Luckily my extent is pretty small.  I recached a few scales in mixed mode to totally duplicate the imagery service.  And drum roll please.. .. ... it worked on some initial tests.

I am recaching the entire scale range now.

Still not sure why cache with PNG would bomb out here though.


-Christopher

View solution in original post

0 Kudos
2 Replies
by Anonymous User
Not applicable
Original User: Tomsriv

Can you do the street basemap as a jpeg instead of a PNG?  I know it doesn't solve the problem but it might work.  I had a number of caching problems in general and many were related to log in for the Server Service.  It had to be set for This Account and not local system.
0 Kudos
christopherfricke2
New Contributor III
Thanks Tom

Luckily my extent is pretty small.  I recached a few scales in mixed mode to totally duplicate the imagery service.  And drum roll please.. .. ... it worked on some initial tests.

I am recaching the entire scale range now.

Still not sure why cache with PNG would bomb out here though.


-Christopher
0 Kudos