[Qgis-user] question for csv import with color

Richard Duivenvoorde rdmailings at duif.net
Sat Dec 24 00:57:19 PST 2011


On 2011-12-24 09:19, henry cui wrote:
>    I want to import csv with lots of dots something with states.the
> states of some is good,and other is bad.I want to define good as green
> color and bad for red in csv file.
> I want to see the dot with different color when I finished import,but I
> don't know how to manipulate in the qgis.any suggest? thanks.

Hi Henry,

what is the column format of the csv? Is there already some column in
the data on which you can 'know' if the point is good or bad?

If that is the case, you can use the 'Add Delimited Text Layer'-plugin
to just load your dat in QGIS.
Then you use a 'Categorized Style' (see 'Layer
Properties'/Style-tab/...) and choose the column with your two states
good/bad.
Push button 'Classify' and optionally change color by clicking on the
colored dots in that dialog.

Both for using the 'Add Delimited Text Layer'-plugin and about
Categorized classification for styles, see documentation:
http://qgis.org/en/documentation/manuals.html

Hope this helps,

Richard Duivenvoorde




More information about the Qgis-user mailing list