Extracts the projection of a raster file and writes it into a world-file. The algorithm is derived from the the GDAL srsinfo utility .
Input file
[raster]Create also .prj file
[boolean]If this is activated also a *.prj-file containing the projection information is created.
Default: False
processing.runalg('gdalogr:extractprojection', input, prj_file)
Transfers a raster layer into another Coordinate Reference System (CRS). The output file resolution and the resampling method can be chosen. The algorithm is derived from the GDAL warp utility .
Input layer
[raster]Source SRS (EPSG Code)
[crs]Defines the CRS of the input raster layer.
Default: EPSG:4326
Destination SRS (EPSG Code)
[crs]Defines the target CRS of the raster layer.
Default: EPSG:4326
Output file resolution in target georeferenced units (leave 0 for no change)
[number]Defines the output file resolution of reprojection result.
Default: 0.0
Resampling method
[selection]Several resampling methods can be chosen for the reprojection. By default a near resampling method is chosen.
Options:
Default: 0
Additional creation parameters
[string]Optional.
<put parameter description here>
Default: (not set)
Output raster type
[selection]Defines the format of the output raster file. By default this is Float32.
Options:
Default: 5
Output layer
[raster]processing.runalg('gdalogr:warpreproject', input, source_srs, dest_srs, tr, method, extra, rtype, output)