[Qgis-user] Colourising contour lines
Brent Wood
Brent.Wood at niwa.co.nz
Sun Aug 3 17:53:33 PDT 2025
Hi Grant,
I'm not sure I understand your question, or at least the context in detail.
This depends on how the grid colours are defined in QGIS.
If the grid is of elevation data, pixel values are elevations (heights/depths) then to get colours applied you must be applying a colour map to the grid which assigns different colours to different elevation values. Applying the same colour map to your vector contours should give the same colours assigned to the same values in the grid.
If you are not already aware of it, QGIS can import colour maps from cpt-city & colour brewer, both of which have a very wide range of predefined colour maps.
Choose "Create new color ramp" in the QGIS layer Symbology->color ramp properties.
Brent Wood
Principal Technician, Fisheries
NIWA
DDI: +64 (4) 3860529
________________________________
From: QGIS-User <qgis-user-bounces at lists.osgeo.org> on behalf of Grant Boxer via QGIS-User <qgis-user at lists.osgeo.org>
Sent: Sunday, August 3, 2025 15:35
To: qgis-user at lists.osgeo.org <qgis-user at lists.osgeo.org>
Subject: [Qgis-user] Colourising contour lines
I would like to apply colours to vector contour lines that would be derived from a coloured grid of the same data. Anyone have any thoughts on how this is best done?
Cheers Grant
Brent Wood
Principal Technician - GIS and Spatial Data Management
Programme Leader - Environmental Information Delivery
+64-4-386-0529
301 Evans Bay Parade Hataitai Wellington New Zealand
Earth Sciences New Zealand
[Earth Sciences New Zealand]<https://earthsciences.nz>
The Institute of Geological and Nuclear Sciences Limited and the National Institute of Water and Atmospheric Research Limited joined to become the New Zealand Institute for Earth Science Limited. We are known as Earth Sciences New Zealand. For more information on the Earth Sciences transition click here<https://niwa.co.nz/about-niwa/science-sector-reforms>.
Notice: This email may contain information which is confidential and/or subject to copyright, and may not be used, published or redistributed without the prior written consent of Earth Sciences New Zealand. If you are not the intended recipient, please immediately notify the sender and delete the email and any attachments. Any opinion or views expressed in this email are those of the individual sender and may not represent those of Earth Sciences New Zealand.
For information about how we process data and monitor communications please see our privacy policy<https://niwa.co.nz/about-niwa/privacy-policy>.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20250804/e267ebe8/attachment.htm>
More information about the QGIS-User
mailing list