<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>I looked at your problem. Indeed, using the Group Stat plugin,
you will not be able to easily identify which polygon has the
highest values. You can export a csv with the cross tabulation
results but there is still no way to know which Polygon with the
value A has highest value.</p>
<p>You can create a new field called "max" using the following
expression.<br>
</p>
<p>maximum("Area",group_by:="Polygon")</p>
<p>That will giving you the highest value for each group. Then, you
can select polygon using the following expression</p>
<p>"Area" = "max"</p>
<p>Nicolas<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 2021-07-18 3:08 p.m., Nicolas
Cadieux wrote:<br>
</div>
<blockquote type="cite"
cite="mid:AAD5E2DC-FF23-490A-AC86-25455E55FBA6@gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
Use the extract value by location to get the values from the point
back into the vector grid…<br>
<br>
<div dir="ltr">Nicolas Cadieux
<div><a href="https://gitlab.com/njacadieux"
moz-do-not-send="true">https://gitlab.com/njacadieux</a></div>
</div>
<div dir="ltr"><br>
<blockquote type="cite">Le 18 juill. 2021 à 15:06, Nicolas
Cadieux <a class="moz-txt-link-rfc2396E" href="mailto:njacadieux.gitlab@gmail.com"><njacadieux.gitlab@gmail.com></a> a écrit :<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<div>Hi,</div>
<div><br>
</div>
Another way is to create a vector grid with the same size and
pixel posting as the original. Then, get the centroids and
use the point value tool to get the band values… This will
give you a vector file but the file will be heavy. You could
merge the vector grids after to merge values with similar
values….
<div><br>
</div>
<div>Ask yourself if you really need a vector file first.
This is not always the best file format for you data.<br>
<br>
<div dir="ltr">Nicolas Cadieux
<div><a href="https://gitlab.com/njacadieux"
moz-do-not-send="true">https://gitlab.com/njacadieux</a></div>
</div>
<div dir="ltr"><br>
<blockquote type="cite">Le 18 juill. 2021 à 14:56, Nicolas
Cadieux <a class="moz-txt-link-rfc2396E" href="mailto:njacadieux.gitlab@gmail.com"><njacadieux.gitlab@gmail.com></a> a écrit :<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
Hi,
<div>You could create a style that could apply to both
raster and vector layers but that would not help much
here. The problem is that you need to create the
vector based on one of the raster Bands and not all
three. One way could be to combine all three fields
into one. If your RGB is 155 025 255, make this a
raster band with 155025255. Then, I guess you could
use that 4th band to make the vector layer, then
resplit the data into 3 fields and use that to create
the colour profile.<br>
<br>
<div dir="ltr">Nicolas Cadieux
<div><a href="https://gitlab.com/njacadieux"
moz-do-not-send="true">https://gitlab.com/njacadieux</a></div>
</div>
<div dir="ltr"><br>
<blockquote type="cite">Le 18 juill. 2021 à 12:51,
krishna Ayyala <a class="moz-txt-link-rfc2396E" href="mailto:ayyalakrishna@gmail.com"><ayyalakrishna@gmail.com></a> a
écrit :<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div><font color="#0000ff">I have an image on my
qgis map that has 3 bands. Band1 (red),
Band2(green) and Band3(blue). This image has
different colors.Is it possible to convert
this image into a vector which should look
exactly like the image. </font></div>
<div><font color="#0000ff"><br>
</font></div>
<div><font color="#0000ff">That means; Is it
possible to have the vector file that
should have the same colors as that of the
image.</font></div>
<div><font color="#0000ff"><br>
</font></div>
<div><font color="#0000ff">Regards.</font></div>
</div>
<span>_______________________________________________</span><br>
<span>Qgis-user mailing list</span><br>
<span><a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a></span><br>
<span>List info:
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span><br>
<span>Unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span><br>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</blockquote>
<pre class="moz-signature" cols="72">--
Nicolas Cadieux
<a class="moz-txt-link-freetext" href="https://gitlab.com/njacadieux">https://gitlab.com/njacadieux</a></pre>
</body>
</html>