Print SOE and Raster Legends

772
3
05-28-2012 05:01 AM
ChristopherDamon
New Contributor II
The print tool is working great for me except that I cannot get any of my raster layers to appear in the legend. Almost all of them are rendered using colormaps, classified or unique values, and none of these layers are listed under the "exceptionLayerNamesStr".  All vector features display perfectly.  Is it possible to have rasters appear in the legend?

I'm using the latest release of the PCHarcgisSOE.jar (291f4e3c11a5b79c14d9923b9608140b675f1efb) on Windows 7 with AGS 10 SP4, and flexviewer 2.5.
Tags (2)
0 Kudos
3 Replies
TomSchuller
Occasional Contributor III
Hy,
currently raster layers aren't supported in the legend element.

But I can add them.
Could you post your verbose server log and your raster layer name, so I will try to add the functionality?
  http://bitbucket.schuller.lu/pchprintsoe/wiki/ErrorReporting
  http://bitbucket.schuller.lu/pchprintsoe/issue/37/raster-legends


Tom

0 Kudos
TomSchuller
Occasional Contributor III
I just updated the code to support raster legend items.
Just download and replace the latest JAR file.

Tom
0 Kudos
ChristopherDamon
New Contributor II
Tom,

I haven't tried the new code with the stretched renderer, but it works perfectly with the classified renderer.  Great job with this print tool; it accomplishes something esri hasn't managed to do for 10 years.
0 Kudos