[Qgis-developer] GDAL Tools: option missing

Paolo Cavallini cavallini at faunalia.it
Wed Dec 21 09:47:33 PST 2016


Il 21/12/2016 15:19, Giovanni Manghi ha scritto:
>> Hi all,
>> gdal_grid misses the option
>>
>> -ot Float32
>>
>> as a result I get:
>>
>> ERROR 5: Pixel type must be Float32
>>
>> It was working before. QGIS 2.18.0
> 
> 
> can you be more specific?
> 
> I can run gdal_grid on 2.18.2 in both gdal tools and processing with no issues.

Hi Giovanni,
thanks for checking. The command built by GDALTools is:

gdal_grid -l test5 -zfield temp -a
invdist:power=2:smothing=0:radius1=0:radius2=0:angle=0:max_points=0:min_points=0:nodata=0
test5.shp

and throws the error repoerted. From Processing the option is added:

gdal_grid -l test5 -zfield temp -a
invdist:power=2:smothing=0:radius1=0:radius2=0:angle=0:max_points=0:min_points=0:nodata=0
-ot Float32 test5.shp

and it works.

All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis


More information about the Qgis-developer mailing list