[Qgis-user] contours and symbology

Kirk Schmidt kirk at nortekresources.com
Wed Mar 3 10:28:13 PST 2021


Hi Saber:

You can do this directly in symbology. See link below, Use Rule Based 
Symbology and "Elev" % 100= 0 to separate all the contours that are 
multiples of 100.  Set your line symbols and you should be good to go.

https://gis.stackexchange.com/questions/259875/styling-contours-at-specific-numbers


Kirk Schmidt

On 3/3/2021 2:15 PM, Saber Razmjooei wrote:
> Hi Azzurra,
>
> You can use Raster styling to display it as contours with minor and 
> major contours:
> https://www.qgis.org/en/site/forusers/visualchangelog314/index.html#feature-raster-layer-contour-renderer 
> <https://www.qgis.org/en/site/forusers/visualchangelog314/index.html#feature-raster-layer-contour-renderer>
>
> Kind regards
> Saber
>
> On Wed, 3 Mar 2021 at 18:01, Azzurra Lentini <azzurralentini at gmail.com 
> <mailto:azzurralentini at gmail.com>> wrote:
>
>     Hi to all,
>
>     I have extracted contours from a dtm raster 20 m resolution file
>     and the result is a vector file of contours with 20 m of interval
>     between the contours.
>
>     I would like to have two different symbols for these contours: for
>     example black colour and thickness 1 for the contours with
>     interval of 100 m (0, 100, 200, 300 etc.) and grey colour and
>     thickness 0.5 for the contours 20, 40, 60, 80, 120, 140 .. etc.).
>
>     What can I do?
>
>     Normally I create another contours file only for the contours
>     equidistant 100 m and I put a different symbol for the 2 layers.
>
>     Do you know other ways without the creation of another file?
>     maybe rule-based symbology?
>
>
>     Thank you, Azzurra
>
>
>     -- 
>     Lecturer GIS University "Roma Tre"
>     Consultant Environmental Risk Prevention and Hydrogeology
>     AZZURRA LENTINI
>     ++++++++++++++++++++++++++
>     Italy Mobile Tel.: **(39) 338 24 40 676
>     ++++++++++++++++++++++++++
>     SKYPE azzurrahydro
>     ++++++++++++++++++++++++++
>
>     *_azzurralentini at gmail.com <mailto:azzurralentini at gmail.com>_*
>
>     *_azzurra.lentini at uniroma3.it <mailto:azzurra.lentini at uniroma3.it>
>     _**__*
>
>     ++++++++++++++++++++++++++
>     *Par respect pour l'environnement,*
>
>     *n'imprimez ce mail qu'en cas d'absolue nécessité*
>
>
>
>
>
>     _______________________________________________
>     Qgis-user mailing list
>     Qgis-user at lists.osgeo.org <mailto:Qgis-user at lists.osgeo.org>
>     List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>     <https://lists.osgeo.org/mailman/listinfo/qgis-user>
>     Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>     <https://lists.osgeo.org/mailman/listinfo/qgis-user>
>
>
>
> -- 
> Saber Razmjooei
> www.lutraconsulting.co.uk <http://www.lutraconsulting.co.uk>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

-- 
Kirk Schmidt, MScF, BScF, RPF
General Manager
Nortek Resource Solutions Inc.
RR # 1
Thorburn, NS
B0K 1W0
Tel (902) 922.3607
Email: kirk at nortekresources.com
Web: www.nortekresources.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210303/db390b69/attachment.html>


More information about the Qgis-user mailing list