<?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 Re: MosaicRule Error in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mosaicrule-error/m-p/71042#M1595</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;workaround would be create key-value pairs of the parameters that you want to set, Url encode it and then pass those along as queryparameters:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g.: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;esri:ArcGISImageServiceLayer url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/ArcGIS/rest/services/Test/ImageServer?mosaicRule=%0A%7B%22mosaicMethod%22%3A%22esriMosaicLockRaster%22%2C%22lockRasterIds%22%3A%5B189%5D%2C%22ascending%22%3Afalse%7D" rel="nofollow" target="_blank"&gt;http://myserver/ArcGIS/rest/services/Test/ImageServer?mosaicRule=%0A%7B%22mosaicMethod%22%3A%22esriMosaicLockRaster%22%2C%22lockRasterIds%22%3A%5B189%5D%2C%22ascending%22%3Afalse%7D&lt;/A&gt;&lt;SPAN&gt;" imageFormat="jpgpng" /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Apr 2011 19:43:55 GMT</pubDate>
    <dc:creator>MehulChoksey</dc:creator>
    <dc:date>2011-04-12T19:43:55Z</dc:date>
    <item>
      <title>MosaicRule Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mosaicrule-error/m-p/71039#M1592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have following code to perform identify on MosaicDataSet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var identifyParams:ImageServiceIdentifyParameters = new ImageServiceIdentifyParameters();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; identifyParams.geometry = event.mapPoint;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; identifyParams.mosaicRule = new MosaicRule();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; identifyParams.mosaicRule.where = "Name = 'WinTemp_1950_01'"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;identifyTask.execute(identifyParams, new AsyncResponder(myResultFunction, myFaultFunction));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code gives me error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[RPC Fault faultString="Unable to complete&amp;nbsp; operation." faultCode="400" faultDetail="Invalid value for parameter 'mosaicRule'"]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe the issue is I have to initialize all members of MosaicRule.&amp;nbsp; I think this is a bug in Flex API.&amp;nbsp; Can someone confirm?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2011 18:25:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mosaicrule-error/m-p/71039#M1592</guid>
      <dc:creator>SteveLi</dc:creator>
      <dc:date>2011-04-12T18:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: MosaicRule Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mosaicrule-error/m-p/71040#M1593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes this is a bug. This will be fixed in upcoming release.(2.3)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2011 19:22:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mosaicrule-error/m-p/71040#M1593</guid>
      <dc:creator>MehulChoksey</dc:creator>
      <dc:date>2011-04-12T19:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: MosaicRule Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mosaicrule-error/m-p/71041#M1594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes this is a bug. This will be fixed in upcoming release.(2.3)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a workaround?&amp;nbsp; what default value should I give to other members if I don't want to set them?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when is the 2.3 release?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2011 19:32:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mosaicrule-error/m-p/71041#M1594</guid>
      <dc:creator>SteveLi</dc:creator>
      <dc:date>2011-04-12T19:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: MosaicRule Error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/mosaicrule-error/m-p/71042#M1595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;workaround would be create key-value pairs of the parameters that you want to set, Url encode it and then pass those along as queryparameters:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g.: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;esri:ArcGISImageServiceLayer url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://myserver/ArcGIS/rest/services/Test/ImageServer?mosaicRule=%0A%7B%22mosaicMethod%22%3A%22esriMosaicLockRaster%22%2C%22lockRasterIds%22%3A%5B189%5D%2C%22ascending%22%3Afalse%7D" rel="nofollow" target="_blank"&gt;http://myserver/ArcGIS/rest/services/Test/ImageServer?mosaicRule=%0A%7B%22mosaicMethod%22%3A%22esriMosaicLockRaster%22%2C%22lockRasterIds%22%3A%5B189%5D%2C%22ascending%22%3Afalse%7D&lt;/A&gt;&lt;SPAN&gt;" imageFormat="jpgpng" /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Apr 2011 19:43:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/mosaicrule-error/m-p/71042#M1595</guid>
      <dc:creator>MehulChoksey</dc:creator>
      <dc:date>2011-04-12T19:43:55Z</dc:date>
    </item>
  </channel>
</rss>

