Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm trying to draw a vector map of Europe on QGIS 1.7.3 with lines symbolizing the transmission of energy (power transmission lines) between the different countries on the map. I am trying to correlate the transmitted power in gigawatts (that I have entered as an attribute for each line) with the thickness of that line (instead of a graduated or categorized color ramp). Can you please tell me if there's a way to do that?

Thank you.

share|improve this question
    
Not sure about 1.7.3, but 1.8 has a size scale field - I think it's hidden behind the Advanced button. –  underdark Apr 1 '13 at 22:00
    
Thank you. You're right but I needed it with a legend (like the graduated color option) –  Usman Apr 2 '13 at 0:08

1 Answer 1

up vote 2 down vote accepted

Probably the best way I can think of to do this is via the creation of a new thematic style. If your file is already constructed as lines (which it sounds like it is) - all you need to do is go into the layer properties and create a thematic map (colour bands) based on the breaks you want to represent (i.e gigawatts).

Next double click on each symbol to bring up the Symbol selector, click on change (under the image of the current symbol) to bring up Symbol Properties box and select "Simple Line" from the Symbol Layer Type drop down.

From here you can edit the line for width, colour and transparency.

Do this for each of the lines representing the breaks.

Finally, when you've got a style your happy with - use the "Save Style" button (bottom right of the layer properties box), see image below. This will save the style as a "QGIS Layer Style file" (*.qml) - which you can load for different maps in the future.

Style Layer

share|improve this answer
    
Thank you so much! That was really helpful! –  Usman Apr 2 '13 at 0:09

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.