<html><head></head><body><div class="ydp9e33b481yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><div></div>
        <div dir="ltr" data-setdir="false">Hi Normand,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">You might want to try the "Reclassify by table" tool. Depending on how complex your styling is, you can either copy the limits manually into a table or export them as an SLD and open the file in a text editor and transfer them to a table by copy and paste.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><a href="https://docs.qgis.org/3.16/en/docs/user_manual/processing_algs/qgis/rasteranalysis.html#qgisreclassifybytable" rel="nofollow" target="_blank">https://docs.qgis.org/3.16/en/docs/user_manual/processing_algs/qgis/rasteranalysis.html#qgisreclassifybytable</a><br></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><br></span></span></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">To save an SLD file of the style go to <span><span style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">Layer Properties: Symbology. At the bottom of the window click Style then Save Style. Then save it as either a QML or and SLD. The QML is a little more complex.</span></span></span></span></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><span><span style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">From an SLD copy the value in quotes after: quantity=</span></span></span></span></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><span><span style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">From a QML copy the value in quotes after: value=</span></span></span></span></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><span><span style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><br></span></span></span></span></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><span><span style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">Note that this method also gives you the exact color that you have set.</span></span></span></span></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><span><span style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><br></span></span></span></span></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><span><span style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">-Thayer</span></span></span></span></div></div><div id="ydpfd14fcf1yahoo_quoted_2317655716" class="ydpfd14fcf1yahoo_quoted"><div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;"><div><div dir="ltr"><br></div><div dir="ltr">Message: 1<br></div><div dir="ltr">Date: Mon, 1 Feb 2021 10:58:46 -0700<br></div><div dir="ltr">From: <<a href="mailto:upland@mcsnet.ca" rel="nofollow" target="_blank">upland@mcsnet.ca</a>><br></div><div dir="ltr">To: "QGIS mailing List" <<a href="mailto:Qgis-user@lists.osgeo.org" rel="nofollow" target="_blank">Qgis-user@lists.osgeo.org</a>><br></div><div dir="ltr">Subject: [Qgis-user] Raster to Vector polygons<br></div><div dir="ltr">Message-ID: <020f01d6f8c3$e3aee750$ab0cb5f0$@mcsnet.ca><br></div><div dir="ltr">Content-Type: text/plain; charset="us-ascii"<br></div><div dir="ltr"><br></div><div dir="ltr">Hello <br></div><div dir="ltr"><br></div><div dir="ltr">I've been trying to figure out a way to convert Raster slope catagories into<br></div><div dir="ltr">vector polygons.  I classify a raster surface model into slope classes<br></div><div dir="ltr">giving nice curvy polygons on the raster with the colors to differentiate<br></div><div dir="ltr">the different classes.  I've tried using the polygonize raster to vector but<br></div><div dir="ltr">it makes a whole bunch of square or rectangular polygons that don't match up<br></div><div dir="ltr">at all with my raster layer style.  I was hoping to find something that<br></div><div dir="ltr">would create polygons that are exactly reflective of what the raster looks<br></div><div dir="ltr">like with the classes and colors. Any ideas would be great.<br></div><div dir="ltr"><br></div><div dir="ltr">Thank you<br></div><div dir="ltr"><br></div><div dir="ltr">Normand <br></div><div dir="ltr"><br></div><div dir="ltr"><br></div></div>
            </div>
        </div></body></html>