[Gdal-dev] Problems with gdal_grid

PikoBoZ piklas at gmail.com
Thu Apr 17 08:32:54 EDT 2008


Hi List !

I've got troubles experimenting gdal_grid interpolation algoritms
I want to interpolate ponctual values contained in a point .shp (or csv),
and to write the result as GTiff
I use the following command yet:

[code]
gdal_grid -a invdist:power=2.0smooting=1.0 -txe 679285 681415 -tye 1837728
1840022 -of GTiff -ot Float32 -l vectorial_plume vectorial_plume.shp
testwrite.tiff
[/code]

testwrite.tiff is created but corrupted:
- It is mono band greyscaled, and i'd like to get a RGB, in the aim to apply
style
- It is all black (NoData). I think that gdal doesn't know on which field to
work on (in the dbf) so it can't interpolate any values !

So, a few questions is persiting in my mind:
Is it simpler to interpolate from .shp or to use a .vrt / .csv couple ?
How can I specify to gdal_grid a data field to interpolate?  
Is it possible to get a RGB GTiff from gdal_grid and to apply style (killing
nodata, Min/Max colors...)

Many thanks by advance

Nicolas BOZON
Maths/GIS PhD student





-- 
View this message in context: http://www.nabble.com/Problems-with-gdal_grid-tp16743955p16743955.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.



More information about the gdal-dev mailing list