[Qgis-user] Colouring lines

Andreas Neumann a.neumann at carto.net
Fri Mar 22 00:53:16 PDT 2013


 Hi Brett,

 Styling is normally not saved in the shapefile itself. You would create 
 rules based on the attribute data of your data set. There are simpler 
 rules (e.g. categorization based on a single attribute) and more complex 
 rules involving several attributes and more complex logic.

 In your case you would define an attribute at your four lines that 
 represents the values you want to base your color scheme on and then use 
 one of the above.

 This is really basic GIS stuff and you can find this in the QGIS 
 manual:
 http://docs.qgis.org/html/en/docs/user_manual/working_with_vector/vector_properties.html

 It is a basic GIS principle that you store properties of GIS features 
 and not how they are represented. Representations are built from rules. 
 You can then clearly separate the content (geometry and other 
 properties) from how it is represented and you can do several 
 representations out of the same data.

 Hope this helps.

 Good luck,
 Andreas

 On Fri, 22 Mar 2013 14:51:03 +0800, Brett Adams wrote:
> Hi Folks.
>
> I have 4 separate lines in one shp file. Can I colour them each
> differently and give them each a different pen style? Will these
> characteristics them be saved when into the shp file?
>
> Thanks in advance.
>
> BRETT ADAMS
>
> SPINIFEX GEOPHYSICS
>
> 0438 861 974

-- 
 --
 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)
 Switzerland



More information about the Qgis-user mailing list