.
Clips any OGR-supported vector file to a given extent. The algorithm is derived from the ogr2ogr utility .
Capa de entrada
[vector: cualquiera]Clip extent
[extent]Defines the bounding box that should be used for the output vector file. It has to be defined in target CRS units.
Por defecto: 0,1,0,1
Additional creation Options
[string]Opcional
<colocar la descripción de parámetros aquí>
Default: (not set)
Capa de salida
[vector]processing.runalg('gdalogr:clipvectorsbyextent', input_layer, clip_extent, options, output_layer)
Clips any OGR-supported vector layer by a polygon. The algorithm is derived from the ogr2ogr utility .
Capa de entrada
[vector: cualquiera]Clip layer
[vector: polygon]Additional creation Options
[string]Opcional
<colocar la descripción de parámetros aquí>
Default: (not set)
Capa de salida
[vector]processing.runalg('gdalogr:clipvectorsbypolygon', input_layer, clip_layer, options, output_layer)