3

This question already has an answer here:

I would like to change the color of one object in the shapefile. I have done it with every object of interest and it worked so far. But this one I can’t find by name in the properties. Is it possible to click on that shapefile with the “information button” and go directly to the properties where I can change the color? So far I couldn’t figure it out.

I am using the QGIS 2.12.3 - Lyon Version.

marked as duplicate by Andre Silva, Mapperz Mar 1 '16 at 17:03

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    What do you use? QGIS, ESRI, ... ? – user7172 Mar 1 '16 at 8:07
  • I use QGIS 2.12.3. - Lyon. I am not sure if i could express myself correctly. I have a big shapefile with a lot of objects in it. I changed the color of the whole shapefile in grey and just a few, important ones, I wanted to change in color. This I did with the properties, where I searched for each name and changed the color one by one. Now I have one object that I can’t find in the property list by name. So I was wondering if there is an option to get by clicking on the object directly to its properties to change the color? – user68213 Mar 1 '16 at 8:25
  • Please use the edit button beneath your question to revise it with additional details. Potential answerers do not always read the comments. – PolyGeo Mar 1 '16 at 8:33
3

You could just select the feature you want to change the color of, enable editing, change its name (give it anything you can identify), save edits and then style the object by its name like you have been doing.

  • 1
    I did it as you said and then it was pretty easy :) thanks a lot! – user68213 Mar 1 '16 at 10:49
2
  1. Mark the layer (the shapefile) in your Layer Panel
  2. Use the Identify Feature courser

    identfy feature

  3. Click on the "object" you try to get the properties from

example

  1. Go to Layer Properties -> Style an change the colors there (depending on the attribute, in my example it depends on the value of area)

properties

style


  1. (optional) To narrow down you object you can use the Query Builder (Properties -> General). Set the filter using an unique identifier like the ID.

query builder

  • I did that, but where can I change its color? This way I just get the attribute list I thought... – user68213 Mar 1 '16 at 8:27
  • The color depends on the attribute! So if you know the attributes of your object you can change it in Layer Properties -> Style – wittich Mar 1 '16 at 8:29
  • My shapefile is very big and I have it classified by name. So in there I cant find that name. I could classify it by object id, but woudn't I lose everything that I have done so far? – user68213 Mar 1 '16 at 8:41
  • But you can see the name with the feature Identify Feature? If it is very big don't use the object id!!! Just copy or add the shape file again to your panel and add under Properties -> General -> Query Builder a selection for you object. This way it will only display one element. – wittich Mar 1 '16 at 8:46
  • By the way it seems like you should read some more tutorials, this information are all out there! – wittich Mar 1 '16 at 8:48

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