.

OGR geoprocessing

Clip vectors by extent

Beschreibung

Clips any OGR-supported vector file to a given extent. The algorithm is derived from the ogr2ogr utility .

Parameter

Input layer [vector: any]
Input vector layer.
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.

Default: 0,1,0,1

Additional creation Options [string]

Optional.

<geben Sie hier die Parameterbeschreibung ein>

Default: (not set)

Ausgaben

Output layer [vector]
Output vector layer.

Verwendung der Konsole

processing.runalg('gdalogr:clipvectorsbyextent', input_layer, clip_extent, options, output_layer)

Siehe auch

Clip vectors by polygon

Beschreibung

Clips any OGR-supported vector layer by a polygon. The algorithm is derived from the ogr2ogr utility .

Parameter

Input layer [vector: any]
Input vector layer.
Clip layer [vector: polygon]
Layer to be used as clipping extent for the input vector layer.
Additional creation Options [string]

Optional.

<geben Sie hier die Parameterbeschreibung ein>

Default: (not set)

Ausgaben

Output layer [vector]
Output vector layer. By default this is an ESRI Shapefile.

Verwendung der Konsole

processing.runalg('gdalogr:clipvectorsbypolygon', input_layer, clip_layer, options, output_layer)

Siehe auch