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.

Is there a tool or something that will give me the value of the pixel under the cursor? What I've got in mind in something like the eyedropper tool in graphics programs that allows you to interactively sample points in a raster image.

share|improve this question
    
You can try to recreate this: qgisworkshop.org/html/workshop/plugins_exercises.html –  Zbynek Feb 7 at 6:45

3 Answers 3

up vote 4 down vote accepted

In QGIS you can use the "identify tool" that give you the value where you click (very left on the image, which comes from QGIS 1.6. It looks a bit different with other version). This work both for raster and feature layers. You can also use the shortcut "Ctrl+Shift+I". In QGIS 2.0, you can save the results using "copy attributes" at the bottom of the identify pop up.

button on the left for identify (QGIS 1.6)

share|improve this answer
    
don't see how I missed this. I even tried the identity tool and only noticed the layer name. Now that I tried again, I see that there is a value column as well. –  Llaves Feb 7 at 16:23

you can use point sampling tool in Qgis , it will extract raster values to point shapefile. you have to provide the point shapefile for sampling location.

share|improve this answer
    
Voted down, because user has asked specifically for QGis solution. –  Zbynek Feb 7 at 6:38
    
If QGIS had been mentioned in the body of the Question then I would have downvoted too, but it was only there as a tag (and easily overlooked by a new user of our site) so I'll stay neutral. You should have an option to delete your Answer if you want to. –  PolyGeo Feb 7 at 6:46
    
i didnt see the tag just answered the question.. will try to be careful next time.. editing my answer –  Saad Ali Feb 7 at 7:09

The Value Tool should do what you want. Install it from the Plugins menu, then enable it: View -> Panels -> Value Tool.

N.

share|improve this answer
1  
Good answer, but Value tool is not installed by default. I would edit it to include that. –  Alexandre Neto Feb 7 at 9:53
    
I have no objection to solutions that require a plug-in, esp when they introduce me to a capability I wasn't aware of. The only reason I didn't select this as "the answer" is that the identify tool, being built-in, seems the more correct choice. But I certainly liked this enough to up-vote it. –  Llaves Feb 7 at 16:53

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.