Select to view content in your preferred language

Well Symbols Display in Silverlight

1990
7
07-28-2010 08:10 AM
by Anonymous User
Not applicable
Original User: chadjo

Hi All

Anyone experience similar problem like following:

We have well symbols defined for display in ArcMap to be used for published map services in silverlight application. When we overlay those symbols on top of tiled layers (for example using ArcGIS online tiled layers) or other vector based polygon layers that have background in different color then well symbol color silverlight browser creates its own halo effect around well symbol with not consistent and crisp outline. Here are attached images:

1. Font based well symbol (one of many) as defined in ArcMap
2. Well symbol as displayed in Silverlight App - actual display
3. Well symbol as displayed in Silverlight App - enlarged

Looks like the image blending process how mashup is created based on visible layers is causing this art-effect (halo around symbols without actual halo set up in MXD document).

Do you know if it's happening (incorrect automatic image blending) on GIS Server or in Silverlight?
Is there any way to avoid this or at least to find way around?

This strange art-effect is especially visible in raster based (tiled layers) in background with diverse colors.

Any help would be appreciated.

Thanks
0 Kudos
7 Replies
by Anonymous User
Not applicable
Original User: kjohn

Hello, did you ever find any solution for this?  This problem is really bad in the flex api as well.  Didn't notice it on the .net though.  I tried messing around with the anti aliasing settings and it seems that the more anti aliasing you use the worse the halo effect is.   We use dynamic utility layers on top of cached tiled data and its super noticable.
0 Kudos
TomAuer
Emerging Contributor
I take it there hasn't been any solution to this.

I'm having it badly too in the Flex API with AGS 10 dynamic services laid on top of a cache tile layer. I've tried changing the background color on the .mxd to white and none, but still have the problem. Why do all my plain lines have this terrible moiree effect and are very pixelated?

See attached image.
0 Kudos
by Anonymous User
Not applicable
Original User: chadjo

This problem is related to image format for dynamic map service defined in the map. Default image format is PNG24 which has some transparency issues when blended with other tiled or polygon based dynamic layers that have defined fill color for polygons. I'm not sure if it's dependent on browser or its version. Simply change image format for problematic dynamic map service to PNG32 and problem is fixed. I guess output format is defined for Flex API in similar way. You can use JPG image format but it doesn't support transparency without using transparency slider.
0 Kudos
KevinJohnson
Deactivated User
Chadjo-  Thanks so much!  That was totally it.  As soon as we switched our dynamic services to png32 all those wierd halos went away and now our map services look awesome. 

Thanks!
0 Kudos
by Anonymous User
Not applicable
Original User: drewdowling

Just ran into this exact problem today as well. Thanks for the help!

One think to make clear in flex the image format is changed in the tag in the mxml

<esri:ArcGISDynamicMapServiceLayer id="LandRecords" url="http://localhost/rest/services/LandRecords_Web/MapServer" visible="true" imageFormat="png32"/>
0 Kudos
YvesLeger
Frequent Contributor
Which mxml file should this tag be in?
0 Kudos
by Anonymous User
Not applicable
Original User: drewdowling

Which mxml file should this tag be in?


Whichever one contains your main map object. eg:

<esri:Map>
       <esri:EsriDynamicMapService...../>
</esri:Map>
0 Kudos