On Wed, Jan 12, 2011 at 4:57 PM, Sebastian E. Ovide <[email protected]> wrote: > Hi All, > what would be the simpler way to read a pixel value from a raster using > python ? > something like pixelvalue=read(x,y) where x,y and in the raster coordinate > system > thanks > > -- > Sebastian E. Ovide > > > > > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev >
Hi Sebastian, This may help you: https://svn.osgeo.org/postgis/trunk/raster/scripts/python/pixval.py Best regards, -- Jorge Arévalo Internet & Mobilty Division, DEIMOS [email protected] http://mobility.grupodeimos.com/ http://gis4free.wordpress.com http://geohash.org/ezjqgrgzz0g _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
