Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to colour code a shape file containing road polylines to represent the heaviest flows of traffic. The shape file contains attribute data linked to each section of road where road traffic counts were taken (count points). There are 2 fields that contain Road names and a unique count point ID.

The second shape file contains point geometry representing the location of each count point. The attribute data contains various fields including traffic numbers along each section of road, road name and a corresponding count point ID.

How do I A) best combine the 2 sets of attributes to then be able to B) colour code the busiest roads in the darkest red?

Road traffic data Colour Categories Attribute data

share|improve this question
Do you want to colour the points or the lines? – Nathan W May 10 '13 at 4:17
Please provide a sketch of what you want to achieve. – underdark May 10 '13 at 20:27
Hi Nathan and Underdark and thanks for your help. I have added some screenshots to clarify my question. You can see I have added a graduated colour ramp style to the traffic count point data with dark red representing the highest traffic counts. I wish to switch off the point layer and render the corresponding road segment polylines in the same colour style. Thanks. – Jeremy May 11 '13 at 15:51
You should be able to use join on the "CP" field and then apply a graduated style. – underdark May 11 '13 at 16:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.