<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic NoData value on ArcGISImageServiceLayer? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/nodata-value-on-arcgisimageservicelayer/m-p/643637#M16517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You'll need to explicitly define the NoData type:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;esri:ArcGISImageServiceLayer.NoData&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sys:Double&amp;gt;0&amp;lt;/sys:Double&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/esri:ArcGISImageServiceLayer.NoData&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should be fixed in our next release (2.0 public beta, available early April).&amp;nbsp; At that point you should be able to define the NoData value as a string and it will be converted to the appropriate type for you. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is another problem though.&amp;nbsp; Rendering transparent portions of images in Silverlight 3 is limited.&amp;nbsp;&amp;nbsp; This means your NoData sections will likely not be rendered transparent in the map, even though you have correctly set the NoData value.&amp;nbsp;&amp;nbsp; Support for image transparency has improved significantly in Silverlight 4.&amp;nbsp; I have tested SL4 beta and image generated by image services are correctly rendered with the appropriate transparency settings.&amp;nbsp; This means you have to wait for SL4... which should be released to the public next week.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Rex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Mar 2010 21:02:10 GMT</pubDate>
    <dc:creator>RexHansen</dc:creator>
    <dc:date>2010-03-10T21:02:10Z</dc:date>
    <item>
      <title>NoData value on ArcGISImageServiceLayer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/nodata-value-on-arcgisimageservicelayer/m-p/643636#M16516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How is the NoData attribute on ArcGISImageServiceLayer defined? Which value should I put into that field?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I want to define the color Black as the noData value, I guess my line should be like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;esri:ArcGISImageServiceLayer ID="Geoeye" Url="http://server/ArcGIS/rest/services/MyService/ImageServer" NoData="0"/&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First question: How is that double value (according to the API) calculated? What would be the value for WHITE?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Second question: No matter, what I put as a value into the NoData attribute, I get the following error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
Unhandled Error in Silverlight Application AG_E_PARSER_BAD_PROPERTY_VALUE [Line: 40 Position: 150]&amp;nbsp;&amp;nbsp; bei System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
&amp;nbsp;&amp;nbsp; bei ESRIStandardMapApplication1.MainPage.InitializeComponent()
&amp;nbsp;&amp;nbsp; bei ESRIStandardMapApplication1.MainPage..ctor()
&amp;nbsp;&amp;nbsp; bei ESRIStandardMapApplication1.App.Application_Startup(Object sender, StartupEventArgs e)
&amp;nbsp;&amp;nbsp; bei System.Windows.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
&amp;nbsp;&amp;nbsp; bei MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
Zeile: 1
Zeichen: 1
Code: 0
URI: http://localhost:49767/Silverlight.js&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I remove the NoData attribute, the application runs fine, but the Image Service overlaps my other mapservices with a white background color.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help me out with this two questions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance and best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;System:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- ArcGIS Desktop, Server 9.4 beta2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- ESRI Silverlight API 2 (current beta).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Expression Blend 3 (with all SP and updates)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Image Services coming from ArcGIS ImageServer 9.3.1 hostet on a Windows 2003 machine with an ArcGIS Server Server 9.3.1 on a Windows XP machine. This combination runs well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2010 13:34:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/nodata-value-on-arcgisimageservicelayer/m-p/643636#M16516</guid>
      <dc:creator>AxelSchaefer</dc:creator>
      <dc:date>2010-02-24T13:34:49Z</dc:date>
    </item>
    <item>
      <title>NoData value on ArcGISImageServiceLayer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/nodata-value-on-arcgisimageservicelayer/m-p/643637#M16517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You'll need to explicitly define the NoData type:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;esri:ArcGISImageServiceLayer.NoData&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sys:Double&amp;gt;0&amp;lt;/sys:Double&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/esri:ArcGISImageServiceLayer.NoData&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should be fixed in our next release (2.0 public beta, available early April).&amp;nbsp; At that point you should be able to define the NoData value as a string and it will be converted to the appropriate type for you. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is another problem though.&amp;nbsp; Rendering transparent portions of images in Silverlight 3 is limited.&amp;nbsp;&amp;nbsp; This means your NoData sections will likely not be rendered transparent in the map, even though you have correctly set the NoData value.&amp;nbsp;&amp;nbsp; Support for image transparency has improved significantly in Silverlight 4.&amp;nbsp; I have tested SL4 beta and image generated by image services are correctly rendered with the appropriate transparency settings.&amp;nbsp; This means you have to wait for SL4... which should be released to the public next week.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Rex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 21:02:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/nodata-value-on-arcgisimageservicelayer/m-p/643637#M16517</guid>
      <dc:creator>RexHansen</dc:creator>
      <dc:date>2010-03-10T21:02:10Z</dc:date>
    </item>
  </channel>
</rss>

