.

GDAL projections

Extraer proyección

Descripción

Extracts the projection of a raster file and writes it into a world-file. The algorithm is derived from the the GDAL srsinfo utility .

Parametros

Input file [raster]
input raster file.
Create also .prj file [boolean]

If this is acivated also a *.prj-file containing the projection information is created.

Predeterminado: False

Salidas

Uso de la consola

processing.runalg('gdalogr:extractprojection', input, prj_file)

Ver también

Combar (reproyectar)

Descripción

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 .

Parametros

Capa de entrada [raster]
Input raster layer.
“Fuente SRS (Código EPSG)” [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.

Por defecto: 0.0

Resampling method [selection]

Several resampling methods can be chosen for the reprojection. By default a near resampling method is chosen.

Opciones:

  • 0 — near
  • 1 — bilinear
  • 2 — cubic
  • 3 — cubicspline
  • 4 — lanczos

Predeterminado: 0

Additional creation parameters [string]

Opcional

<colocar la descripción de parámetros aquí>

Default: (not set)

Output raster type [selection]

Defines the format of the output raster file. By default this is Float32.

Opciones:

  • 0 — Byte
  • 1 — Int16
  • 2 — UInt16
  • 3 — UInt32
  • 4 — Int32
  • 5 — Float32
  • 6 — Float64
  • 7 — CInt16
  • 8 — CInt32
  • 9 — CFloat32
  • 10 — CFloat64

Predeterminado: 5

Salidas

Capa de salida [raster]

<colocar aquí la descripción de la salida>

Uso de la consola

processing.runalg('gdalogr:warpreproject', input, source_srs, dest_srs, tr, method, extra, rtype, output)

Ver también