Saturday, 12 March 2016

line - Making two pen style in one vector file in QGIS?


I am working with QGIS and I have a vector file of the earth Latitude and longitude enter image description here. I need to show the horizontal lines as a dash lines and the vertical as a solid line. I am sure that if I make to layer, one horizontal and vertical, it will solve me problem.


However, I wonder is there a more elegant way to solve this problem?


Can it be done with the Attribute Table?


enter image description here



Answer



This answer is for this specific problem, but it should work for other project with the same task.


The first step is to categorized the layers be their direction in the layer styling barenter image description here If you only need to change the color of a line It can be done be clicking on the sub layer in this bar enter image description here



If you need to change the line pen style mark the sub layer you need to change and then press "change"
enter image description here


Now you have more option the change the line style enter image description here


In order of changing the pen style click on the "Simple line" icon and the Symbol layer type bar will open enter image description here


No comments:

Post a Comment