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.

How can i do this operation:

I want to get a pixel value fro the satellite image (Landat, GeoTIFF, 7 bands) using qgis-python.

What operators should i use? (for example in qgis's Python Console)

share|improve this question
    
pease accept the answer to thanks Aragon :) –  Hugolpz Aug 19 '13 at 12:27

1 Answer 1

I do not know whether work for you or not , but you can check out gdallocationinfo. it is a raster query tool from gdal...

The gdallocationinfo utility provide a mechanism to query information about a pixel given it's location in one of a variety of coordinate systems. Several reporting options are provided.

$ gdallocationinfo utm.tif 256 256
Report:
  Location: (256P,256L)
  Band 1:
    Value: 115

i hope it helps you...

share|improve this answer
    
Thank you very much, this is what I need. –  Maaksaa May 16 '12 at 7:49
3  
@Maaksaa if this answers your question, please mark the answer as accepted to give credit where due. Thanks!! –  Get Spatial May 17 '12 at 9:06

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.