Wow, cool! Thank you very much!
Frank
Am 12.02.2011 14:23, schrieb Even Rouault:
Hi,
just to mention you can now find a GDAL/OGR Python API documentation on
http://gdal.org/python/ . http://trac.osgeo.org/gdal/wiki/GdalOgrInPython has
been updated to point to it.
Disclaimer: don't expect too
Le dimanche 13 février 2011 05:57:24, Massimo Di Stefano a écrit :
> Hi All
>
> i'm using python-gdal to generate vrt file, it works fine but for some data
> like :
>
> (from the spearfish dataset) the raster file :
>
> spearfish60/PERMANENT/cellhd/tractids
>
>
> gdalinfo give me :
>
>
> ht
Rashad,
This would probably give you a Float64 type bands with the pixels valued at
255.0
Try setting the band type to Byte using the -ot option.
On Sun, Feb 13, 2011 at 4:11 PM, Mohammed Rashad wrote:
>
> How to convert shapefile to a raster image using gdal
>
> I tried
> gdal_rasterize -burn
How to convert shapefile to a raster image using gdal
I tried
gdal_rasterize -burn 255 -burn 0 -burn 0 -ts 100 100 -l ernakulam
ernakulam.shp ekm.tif
gdal_rasterize -A DIST -ts 100 100 -l ernakulam ernakulam.shp ekm.tif
gdal_rasterize -A AREA -ts 100 100 -l ernakulam ernakulam.shp ekm.tif
but s