[gdal-dev] python: read pixel from raster
Jorge Arévalo
jorge.arevalo at deimos-space.com
Wed Jan 12 11:07:30 EST 2011
On Wed, Jan 12, 2011 at 4:57 PM, Sebastian E. Ovide
<sebastian.ovide at gmail.com> 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
> gdal-dev at lists.osgeo.org
> 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
jorge.arevalo at deimos-space.com
http://mobility.grupodeimos.com/
http://gis4free.wordpress.com
http://geohash.org/ezjqgrgzz0g
More information about the gdal-dev
mailing list