gdal_rasterized failed in terminal

by achimneyswallow   Last Updated July 12, 2019 19:22 PM

Hi I have the following command

$gdal_rasterize -a "MC_ID" -l training -of "GTIFF" -a_nodata 0 -te -85.3704013 42.4132272 -85.3692901 42.4141900 -tr 0.0263 0.0263 -ot Byte training_rasterized.gtif

It returns

 Usage: gdal_rasterize [-b band]* [-i] [-at]
   {[-burn value]* | [-a attribute_name] | [-3d]} [-add]
   [-l layername]* [-where expression] [-sql select_statement]
   [-dialect dialect] [-of format] [-a_srs srs_def]
   [-co "NAME=VALUE"]* [-a_nodata value] [-init value]*
   [-te xmin ymin xmax ymax] [-tr xres yres] [-tap] [-ts width height]
   [-ot {Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/
         CInt16/CInt32/CFloat32/CFloat64}] [-q]
   <src_datasource> <dst_filename>

FAILURE: No output file specified.

I am not sure what's wrong with my command. Could someone help me? Thank you.



Related Questions


How gdal_rasterize actually works?

Updated December 06, 2018 23:22 PM



Create MBTiles from geojson in raster format

Updated December 11, 2017 10:22 AM

Raster from a set of Points keeping the resolution

Updated December 24, 2018 13:22 PM