Select to view content in your preferred language

Custom user symbology and printing options

714
3
05-12-2010 06:25 AM
ShaneBuscher
Frequent Contributor
I'm working on an application where multiple users need to apply different symbology to the same polygon layer.  I need to dynamically apply symbology based on user preferences.  One solution is to add all of the polygons in the client graphics layer. One issue down the road I see with this is that I will need to generate PDFs for printing (up to E size).  I am concerned that I won't be able to reproduce exactly what's on the client with the print service.  Is it worth it or is an SOE capable of generating dynamically symbology for what I need?  Could the SOE be used for both the client map and printing capability?  Looking for any suggestions...  Thanks in advance
0 Kudos
3 Replies
dotMorten_esri
Esri Notable Contributor
You can apply different symbology using for a different renderer for each user, ie UniqueValueRenderer, ClassBreaksRenderer or a custom class that implements IRenderer.

Why use an SOE for printing? You could use the printing sample and return a PDF instead of an image:
http://resources.esri.com/arcgisserver/apis/silverlight/index.cfm?fa=codeGalleryDetails&scriptID=166...
That way you are guaranteed to get the symbology you used on the client.
0 Kudos
ShaneBuscher
Frequent Contributor
You can apply different symbology using for a different renderer for each user, ie UniqueValueRenderer, ClassBreaksRenderer or a custom class that implements IRenderer.

Why use an SOE for printing? You could use the printing sample and return a PDF instead of an image:
http://resources.esri.com/arcgisserver/apis/silverlight/index.cfm?fa=codeGalleryDetails&scriptID=166...
That way you are guaranteed to get the symbology you used on the client.


Thanks for the response.  Just want to clarify if you are talking about applying dynamic symbology client or server side?     I also want to mention that pooling is being used, so I want to avoid having the wrong symbology returned by shared server objects.  It would be great if you could shed some light on how to do this server-side with this constraint (i.e. with an SOE?) or reference any samples like for printing which was useful.  Thx in advance.
0 Kudos
dotMorten_esri
Esri Notable Contributor
This is all meant to work client side. There's nothing going on in ArcGIS Server to do this.
0 Kudos