<?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: Filtering raster dataset in webapp in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/filtering-raster-dataset-in-webapp/m-p/148952#M13875</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;I have the same question. We have more than 200 raster datasets. Right now, I add them into one mosaic dataset and publish the mosaic dataset as image service. My clients want to access to mosaic attribute table and to query and filter based on the mosaic attibute table so that only the raster dataset they want can be shown. Do you have any suggestion or new found? Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-YL&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Nov 2013 15:37:31 GMT</pubDate>
    <dc:creator>YangLiu2</dc:creator>
    <dc:date>2013-11-07T15:37:31Z</dc:date>
    <item>
      <title>Filtering raster dataset in webapp</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/filtering-raster-dataset-in-webapp/m-p/148950#M13873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have around 1000 rasters (b&amp;amp;w tiffs) and most of them overlay each other. At this moment, I'm holding them in mosaic dataset and I want them to be displayed in my javascript webapp. I am able to load it as Dynamic or Image service layer and it loads all the rasters at once. In screenshot below, mosaic's attribute table has field "Name" in which names of all the rasters are held (all names are unique to only one raster). In my webapp, I want to dynamically show only one raster by specifying its name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Part of mosaic: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://i.imgur.com/RB2zl52.jpg" rel="nofollow" target="_blank"&gt;http://i.imgur.com/RB2zl52.jpg&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In arcmap I can use layer's definition query to select only particular raster (screenshot below).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Filtered by definition query: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://i.imgur.com/XDkFl8y.jpg" rel="nofollow" target="_blank"&gt;http://i.imgur.com/XDkFl8y.jpg&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What would be the appropriate approach to have dataset filtered in webapp?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 09:56:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/filtering-raster-dataset-in-webapp/m-p/148950#M13873</guid>
      <dc:creator>DainiusTamosiunas</dc:creator>
      <dc:date>2013-06-26T09:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering raster dataset in webapp</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/filtering-raster-dataset-in-webapp/m-p/148951#M13874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've found the answer: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://gis.stackexchange.com/questions/64477/arcgis-javascript-api-filter-raster-dataset" rel="nofollow" target="_blank"&gt;http://gis.stackexchange.com/questions/64477/arcgis-javascript-api-filter-raster-dataset&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;var mr = new esri.layers.MosaicRule(); mr.method = esri.layers.MosaicRule.METHOD_CENTER; mr.ascending = true; mr.operation = esri.layers.MosaicRule.OPERATION_FIRST; mr.where = "NAME = '" + rasterName + "'";&amp;nbsp; ArcGISImageServiceLayer.setMosaicRule(mr) &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 05:48:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/filtering-raster-dataset-in-webapp/m-p/148951#M13874</guid>
      <dc:creator>DainiusTamosiunas</dc:creator>
      <dc:date>2013-06-27T05:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering raster dataset in webapp</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/filtering-raster-dataset-in-webapp/m-p/148952#M13875</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;I have the same question. We have more than 200 raster datasets. Right now, I add them into one mosaic dataset and publish the mosaic dataset as image service. My clients want to access to mosaic attribute table and to query and filter based on the mosaic attibute table so that only the raster dataset they want can be shown. Do you have any suggestion or new found? Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-YL&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 15:37:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/filtering-raster-dataset-in-webapp/m-p/148952#M13875</guid>
      <dc:creator>YangLiu2</dc:creator>
      <dc:date>2013-11-07T15:37:31Z</dc:date>
    </item>
  </channel>
</rss>

