<?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: Classified Raster - Legend issue in ArcGIS Image Server Questions</title>
    <link>https://community.esri.com/t5/arcgis-image-server-questions/classified-raster-legend-issue/m-p/382862#M1573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really appreciate that well written response.&amp;nbsp; I think I will see if I can shift the workflow to ArcGIS Pro.&lt;/P&gt;&lt;P&gt;A couple of other things have come up, but aim to look at sorting this out next week, your logic gives me everything I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will report back with my workings for completeness.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Big thanks, I imagine your answer will be useful for others.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2019 01:34:18 GMT</pubDate>
    <dc:creator>SimonJackson</dc:creator>
    <dc:date>2019-02-08T01:34:18Z</dc:date>
    <item>
      <title>Classified Raster - Legend issue</title>
      <link>https://community.esri.com/t5/arcgis-image-server-questions/classified-raster-legend-issue/m-p/382860#M1571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;I have a NetCDF of temperature data, that I get a fresh copy every morning.&lt;/LI&gt;&lt;LI&gt;This is stored under a Mosaic Dataset, created in ArcMap 10.6.1&amp;nbsp; (Nothing else in this mosaic dataset)&lt;/LI&gt;&lt;LI&gt;I can serve this up as an image service using a &lt;STRONG&gt;stretched&lt;/STRONG&gt; min/max renderer fine&lt;/LI&gt;&lt;LI&gt;I want to also add a renderer to serve it up as a classified renderer, ranging from -5 to 50&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I can create a classification on a dummy raster that has min/max values of -5 to 50&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;Have to use a dummy raster with the anticipated max/min values, as cant edit the min/max range when trying to setup a classified renderer&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;I can then save this out as a raster function template&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="435991" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/435991_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If I then import this against the original mosaic dataset, the classification looks like it is available as a processing template&lt;/LI&gt;&lt;LI&gt;But the legend appears as RGB (as shown below)&lt;/LI&gt;&lt;LI&gt;I have tried playing around with adding in a colourmap function, but it still shows up as RGB&lt;/LI&gt;&lt;LI&gt;As an end web gis user, I want to see the classification intervals and not the RGB values, how can I do this?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;IMG __jive_id="436037" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/436037_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2019 13:20:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-server-questions/classified-raster-legend-issue/m-p/382860#M1571</guid>
      <dc:creator>SimonJackson</dc:creator>
      <dc:date>2019-01-29T13:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Classified Raster - Legend issue</title>
      <link>https://community.esri.com/t5/arcgis-image-server-questions/classified-raster-legend-issue/m-p/382861#M1572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon,&lt;BR /&gt;I guess what you want to do can be achieved with a combination of&lt;BR /&gt;1) Remap Function&lt;BR /&gt;To be able to add a Attributed/Labeled Classification, you need to make your data display "integer classes" - basically the "numbered Count of classes"&lt;BR /&gt;I mimicked your values in the first few classes above. You could also use a table for this. Please read the Function help about upper- and lower Boundaries, ...&lt;BR /&gt;&lt;IMG __jive_id="436772" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/436772_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;Make sure to properly define NoData!&lt;BR /&gt;&lt;BR /&gt;Once you have done that, your now unique classes can be "labeled" and "colored" using the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) AttributeTable function&lt;BR /&gt;Now here is where ArcMap and Pro do make a big difference: In ArcMap you need an attribute table comparable to what used to be a RAT (Raster attribute table) in old times (see help).&lt;BR /&gt;This is ArcMap:&lt;BR /&gt;&lt;IMG __jive_id="436773" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/436773_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;As I remember it being tricky to create a proper AttributeTable for ArcMap.&lt;/P&gt;&lt;P&gt;Here what it needs to look like:&lt;BR /&gt;&lt;IMG __jive_id="436777" class="image-6 jive-image" src="https://community.esri.com/legacyfs/online/436777_pastedImage_6.png" /&gt;&lt;IMG __jive_id="436778" class="image-7 jive-image" src="https://community.esri.com/legacyfs/online/436778_pastedImage_7.png" /&gt;&lt;/P&gt;&lt;P&gt;Keep in mind:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;All fields should be there exactly like this&lt;UL&gt;&lt;LI&gt;The "Value" field is link to the output classes of the Remap function&lt;/LI&gt;&lt;LI&gt;The "ClassName" will be your visible label&lt;/LI&gt;&lt;LI&gt;In "Red", "Green" and "Blue" you have to define your symbol colors&lt;/LI&gt;&lt;LI&gt;The values in the Count field dont matter at all!&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I attached&amp;nbsp;this sample one (in a zipped fGDB) that you can copy and modify.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In Pro things have improved A LOT: You can either use a table, or just type in your definition in a UI like this (&lt;SPAN&gt;one of my datasets - 4 steepness classes in an elevation dataset&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;IMG __jive_id="436774" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/436774_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doing things right, you will get something like this (the result of the above AttributeTable settings in ArcGIS Pro TOC):&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="436775" class="jive-image image-4" src="https://community.esri.com/legacyfs/online/436775_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So - again from my usecase and&amp;nbsp;from Pro RasterFunction Editor - the whole&amp;nbsp;process chain MIGHT look like this:&lt;BR /&gt;&lt;IMG __jive_id="436776" class="image-5 jive-image" src="https://community.esri.com/legacyfs/online/436776_pastedImage_5.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All this is way more comfortable in Pro - check it out!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also recommend you to do this:&lt;BR /&gt;3) Dont forget to set the Source type of any raster where you apply AttributeTable to "Thematic" .. naturally only if you dont use many different function chains or this is to be the default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Guenter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 09:42:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-server-questions/classified-raster-legend-issue/m-p/382861#M1572</guid>
      <dc:creator>GuenterDoerffel</dc:creator>
      <dc:date>2019-02-07T09:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Classified Raster - Legend issue</title>
      <link>https://community.esri.com/t5/arcgis-image-server-questions/classified-raster-legend-issue/m-p/382862#M1573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really appreciate that well written response.&amp;nbsp; I think I will see if I can shift the workflow to ArcGIS Pro.&lt;/P&gt;&lt;P&gt;A couple of other things have come up, but aim to look at sorting this out next week, your logic gives me everything I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will report back with my workings for completeness.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Big thanks, I imagine your answer will be useful for others.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 01:34:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-server-questions/classified-raster-legend-issue/m-p/382862#M1573</guid>
      <dc:creator>SimonJackson</dc:creator>
      <dc:date>2019-02-08T01:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Classified Raster - Legend issue</title>
      <link>https://community.esri.com/t5/arcgis-image-server-questions/classified-raster-legend-issue/m-p/382863#M1574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pleasure,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;feel free to ask if questions come up&lt;BR /&gt;BTW: Once you have published a Thematic dataset like this, any end-user can change the color assignment in Desktop &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 07:19:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-image-server-questions/classified-raster-legend-issue/m-p/382863#M1574</guid>
      <dc:creator>GuenterDoerffel</dc:creator>
      <dc:date>2019-02-08T07:19:12Z</dc:date>
    </item>
  </channel>
</rss>

