I'm trying to clip a raster (GeoTIFF) with a vector layer in QGIS (version 2.18).
I get the error "ERROR 1: Attempt to create 0x0 dataset is illegal,sizes must be larger than zero." when I changed the resolution (x and y resolution = 250 meters, the same resolution of my input raster).
However, when I choose for "keep the resolution of the input raster", the program script indicates a resolution "-tr 0.002083333 0.002083333" and gives a clipped raster with only missing values ("nan").
My raster and vector polygon have the same coordinate reference system (WGS 84).