Re: [gdal-dev] extract information from polygon shapefile based on raster grid?

2013-03-27 Thread Jan Heckman
Hello Chao, I may not understand your wish quite well, but I think you need some datastructure which conforms to the elements of the grid and receives addtional information derived from a number of shapes with attributes. Your output could be another shapefile, with the summed results as attribut

Re: [gdal-dev] Feature request: gauss and other interpolations in gdalwarp

2013-03-27 Thread John Twilley
I'm interested in this feature request as well. Adding the mode resampling algorithm to gdalwarp would be very beneficial to my projects, right up there with being able to access the warp API from Python. Is this at all possible? Should I submit a feature request on Trac, or what? Just let me k

[gdal-dev] extract information from polygon shapefile based on raster grid?

2013-03-27 Thread Chao YUE
Dear all, I am using the python binding of GDAL for reading polygon shapefiles. I have a polygon shapefile which contains the fire polygon and burned area, with typical fires burning on 10-100ha. my model simulation result is based on 0.5degree X 0.5degree. So I need to extract from this shapefil