Problems with rasterization through QGIS Modeler

المشرف العام

Administrator
طاقم الإدارة
My goal is to rasterize a vector polygon-based shapefile.

Whenever I run in the modeler or even from the Processing Toolbox the Rasterize tool of GDAL, I receive a raster layer that's not good for me, as in "NaN" values.

To be more precises, what does my Model do? It first takes in a vector, then through Advanced Python Calculator I've placed a function so that it reclassifies the string value to integer, which is added to a new field (I've tested the output right after the Calculator step and it's fine, however it does have a lot NULL values because that data is not of interest but perhaps that could be the problem).

When it converts the vector into raster based on this new field, it basically gives me a raster with "NaN" values, as in pure black. Also, I plan on obtaining raster oa cellsize of 10.

Any ideas on how to fix this?



أكثر...
 
أعلى