Dear List,
It was pointed out to me that I was only giving half of the necessary values for the resolution. It was an obvious mistake.

John

On 2/25/2019 4:32 PM, john polo wrote:

Dear List,

I'm using gdal_rasterize in QGIS 3.4.4. The GDAL version is 2.4.0. I have a vector of the state of Oklahoma that I am trying to convert to a raster. I am using the Rasterize command from the Processing Toolbox. I want to set the Output Raster Size Units to use Georeferenced units (30m x 30m). The vector is projected to UTM 14. In the command window, I can not figure out how to set the Width/Horizontal resolution to "30.0,30.0". I've tried this command several times and each time, I can't set the resolution to anything but one value, 30. The GDAL/OGR console call at the bottom the Rasterize window says:

gdal_rasterize -l ACS2016 -a density -tr 30.0 0.0 -a_nodata 0.0 -te 141482.98459323175 3728541.225561033 918798.5521893443 4103736.2372529646 -ot Float32 -of GTiff D:\projects_and_data\GIS\r_msis\ACS2016.shp C:/Users/s/AppData/Local/Temp/processing_bd713baa4f114400804f771fe874c9c5/dda5be259b534b75a2e87994501110cd/OUTPUT.tif

The same error:

ERROR 1: Wrong value for -tr parameter.

I can't manually edit this in the window and I'm not sure how else to run this command with the right settings.

John


--
Enlightenment is ego's ultimate disappointment.
-Chogyam Trungpa

_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to