I'm running Qgis 3 processing modeler and I am trying to invert the values of a raster file.
I had previously asked this question and the answer I came up with works with the raster calculator when processing the layer. However when I try the same thing within a processing modeler I get a blank raster file.
This is the raster info from the proximity output.
Driver: GTiff/GeoTIFF
Files: C:/Users/Timothy/AppData/Local/Temp/processing_54c8e3d84eb144a88f3f486c6ae75076/c5fc54eb536f4b1cbe57b7ef55506bb2/gdal_proximity_1_proximity.tif
Size is 1000, 1000
Coordinate System is:
PROJCS["USA_Contiguous_Albers_Equal_Area_Conic",
GEOGCS["NAD83",
DATUM["North_American_Datum_1983",
SPHEROID["GRS 1980",6378137,298.2572221010042,
AUTHORITY["EPSG","7019"]],
AUTHORITY["EPSG","6269"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4269"]],
PROJECTION["Albers_Conic_Equal_Area"],
PARAMETER["standard_parallel_1",29.5],
PARAMETER["standard_parallel_2",45.5],
PARAMETER["latitude_of_center",37.5],
PARAMETER["longitude_of_center",-96],
PARAMETER["false_easting",0],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]]]
Origin = (-2249531.050643497612327,289551.660125185269862)
Pixel Size = (0.577937172434758,-0.330446977802843)
Metadata:
AREA_OR_POINT=Area
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left (-2249531.051, 289551.660) (121d56'57.53"W, 37d19'33.78"N)
Lower Left (-2249531.051, 289221.213) (121d56'53.88"W, 37d19'23.56"N)
Upper Right (-2248953.113, 289551.660) (121d56'34.71"W, 37d19'38.79"N)
Lower Right (-2248953.113, 289221.213) (121d56'31.06"W, 37d19'28.56"N)
Center (-2249242.082, 289386.437) (121d56'44.30"W, 37d19'31.17"N)
Band 1 Block=1000x2 Type=Float32, ColorInterp=Gray
1000 - "'Proximity map' from algorithm 'Proximity (raster distance)'@1"
. Create named outputs for Rasterize and Proximity to check their results. If the intermediate results looks fine, add a Raster information process for the Proximity output, create an .html output file and add its content to the question. Besides that, if you select a Reference layer (for automated extent, cellsize, and CRS) at the Raster calculator, don't fill that values manually, or vice versa. A contradiction between them will produce an error.