<?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: Apply color scale to shapefile points in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/apply-color-scale-to-shapefile-points/m-p/1169708#M4531</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/418353"&gt;@Luka&lt;/a&gt;&amp;nbsp;!!! That's the solution I am looking for!&lt;/P&gt;</description>
    <pubDate>Mon, 02 May 2022 14:28:01 GMT</pubDate>
    <dc:creator>HomeroOriaAguilera</dc:creator>
    <dc:date>2022-05-02T14:28:01Z</dc:date>
    <item>
      <title>Apply color scale to shapefile points</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/apply-color-scale-to-shapefile-points/m-p/1168195#M4529</link>
      <description>&lt;P&gt;It's possible to apply multiple colors to shapefile points with Runtime SDK QML?&lt;/P&gt;&lt;P&gt;I have a shapefile composed of points, each point has an attribute [HEIGTH] that is a number. The idea is to colorize each point based on a range of color scales. For example, if my point's height is 500 m, the point it's going to render blue (400 - 600 m), however, if my point has 800 m, the color render should be green (700 - 900 m). There are about 5 ranges with their own color and about 100 000 pts.&lt;/P&gt;&lt;P&gt;To accomplish this, I create a ShapefileFeatureTable, QueryParameters, UniqueRenderValue, etc.&lt;/P&gt;&lt;P&gt;For example, to do the query I establish the whereClause:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;queryParams&lt;/SPAN&gt;.whereClause= &lt;SPAN&gt;"HEIGHT&amp;gt;400&lt;/SPAN&gt; &lt;SPAN&gt;OR&lt;/SPAN&gt; &lt;SPAN&gt;HEIGHT&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;600"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;1. How do I chain multiple queries to render each point with their respective color?&lt;/P&gt;&lt;P&gt;2. Which is the best strategy to set the UniqueValueRender in this context?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 02:41:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/apply-color-scale-to-shapefile-points/m-p/1168195#M4529</guid>
      <dc:creator>HomeroOriaAguilera</dc:creator>
      <dc:date>2022-04-27T02:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Apply color scale to shapefile points</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/apply-color-scale-to-shapefile-points/m-p/1168335#M4530</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should consider using ClassBreaksRenderer instead of UniqueValueRenderer. This allows you to define class ranges of values vs individual unique values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The API Reference has a code example of how to create the ClassBreaksRenderer and set it on your FeatureLayer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-classbreaksrenderer.html" target="_blank"&gt;https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-classbreaksrenderer.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 14:16:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/apply-color-scale-to-shapefile-points/m-p/1168335#M4530</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2022-04-27T14:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Apply color scale to shapefile points</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/apply-color-scale-to-shapefile-points/m-p/1169708#M4531</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/418353"&gt;@Luka&lt;/a&gt;&amp;nbsp;!!! That's the solution I am looking for!&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 14:28:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/apply-color-scale-to-shapefile-points/m-p/1169708#M4531</guid>
      <dc:creator>HomeroOriaAguilera</dc:creator>
      <dc:date>2022-05-02T14:28:01Z</dc:date>
    </item>
  </channel>
</rss>

