[Qgis-user] Raster map generation problem

Juan Rafael Suárez juanrsuarez267 at gmail.com
Fri Jul 1 16:24:41 PDT 2022


Hello everybody, I am new to qgis and I am having problems to generate a
raster map from a point data.
I am working in qgis v 3.16.16
I want to generate a raster map from a point layer.
The point layer was imported from an .csv file created in excel.
For the point layer creation, I defined the X coordinate, and the Y
coordinate and I select the CRS EPSG:4326 - WGS - 84. (Geographic
coordinates).
For the raster creation, I used the point layer created in qgis.
For the Field I selected a column with numeric data.
Like output I selected pixels
For horizontal and vertical resolution I selected 1.00. It is a small area.
>From the output extent I select "calculate from the layer", and I select
the same layer.
By the way, when I am typing for some fields the system show
weird characters, not the common alphabet.
I am attaching the log I received. I will deeply appreciate it, if
someone may help me.

Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220701/dbfef55a/attachment.htm>
-------------- next part --------------
QGIS version: 3.16.16-Hannover
QGIS code revision: f5778a89
Qt version: 5.15.2
GDAL version: 3.4.1
GEOS version: 3.10.0-CAPI-1.16.0
PROJ version: Rel. 8.2.1, January 1st, 2022
Processing algorithm…
Algorithm 'Rasterize (vector to raster)' starting…
Input parameters:
{ 'BURN' : 0, 'DATA_TYPE' : 5, 'EXTENT' : '-74.804116000,-74.792987000,6.568172000,6.604061000 [EPSG:4326]', 'EXTRA' : '', 'FIELD' : 'SiO2', 'HEIGHT' : 0, 'INIT' : None, 'INPUT' : 'delimitedtext://file:///C:/Users/jrsuarez/OneDrive%20-%20CEMEX/Escritorio/D/CEMEX/PROYECTOS/COLOMBIA/MACEO/08_RESERVES/2021/Exploraci%C3%B3n%20arcillas/Informes%20Gemi/Cartografia/Qgis/Prospecto%201/Prosp_1.csv?type=csv&maxFields=10000&detectTypes=yes&xField=Longitud&yField=Latitud&crs=EPSG:4326&spatialIndex=no&subsetIndex=no&watchFile=no', 'INVERT' : False, 'NODATA' : 0, 'OPTIONS' : '', 'OUTPUT' : 'C:/Users/jrsuarez/OneDrive - CEMEX/Escritorio/D/CEMEX/PROYECTOS/COLOMBIA/MACEO/08_RESERVES/2021/Exploración arcillas/Informes Gemi/Cartografia/Qgis/Prospecto 1/Muestreo.tif', 'UNITS' : 0, 'WIDTH' : 0 }

GDAL command:
gdal_rasterize -l None -a SiO2 -ts 0.0 0.0 -a_nodata 0.0 -te -74.804116 6.568172 -74.792987 6.604061 -ot Float32 -of GTiff "file:///C:/Users/jrsuarez/OneDrive%20-%20CEMEX/Escritorio/D/CEMEX/PROYECTOS/COLOMBIA/MACEO/08_RESERVES/2021/Exploraci%C3%B3n%20arcillas/Informes%20Gemi/Cartografia/Qgis/Prospecto%201/Prosp_1.csv?type=csv&maxFields=10000&detectTypes=yes&xField=Longitud&yField=Latitud&crs=EPSG:4326&spatialIndex=no&subsetIndex=no&watchFile=no" "C:/Users/jrsuarez/OneDrive - CEMEX/Escritorio/D/CEMEX/PROYECTOS/COLOMBIA/MACEO/08_RESERVES/2021/Exploración arcillas/Informes Gemi/Cartografia/Qgis/Prospecto 1/Muestreo.tif"
GDAL command output:
ERROR 1: Wrong value for -ts parameter.

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] [-to "NAME=VALUE"]*

[-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}] [-optim {[AUTO]/VECTOR/RASTER}] [-q]

<src_datasource> <dst_filename>

Execution completed in 0.53 seconds
Results:
{'OUTPUT': 'C:/Users/jrsuarez/OneDrive - '
'CEMEX/Escritorio/D/CEMEX/PROYECTOS/COLOMBIA/MACEO/08_RESERVES/2021/Exploración '
'arcillas/Informes Gemi/Cartografia/Qgis/Prospecto 1/Muestreo.tif'}

Loading resulting layers
The following layers were not correctly generated.
• C:/Users/jrsuarez/OneDrive - CEMEX/Escritorio/D/CEMEX/PROYECTOS/COLOMBIA/MACEO/08_RESERVES/2021/Exploración arcillas/Informes Gemi/Cartografia/Qgis/Prospecto 1/Muestreo.tif
You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.


More information about the Qgis-user mailing list