Re: [gdal-dev] GDAL/OGR (skeleton of) Python API documentation available on http://gdal.org/python/

2011-02-13 Thread Frank Broniewski
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

Re: [gdal-dev] generate vrt from grass data

2011-02-13 Thread Even Rouault
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

Re: [gdal-dev] convert shapefile to raster

2011-02-13 Thread Chaitanya kumar CH
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

[gdal-dev] convert shapefile to raster

2011-02-13 Thread Mohammed Rashad
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