Outdated version of the documentation. Find the latest one here.

` `

Vector creation

Grid oluştur

Tanım

Creates a grid.

Parametreler

Grid type [selection]

Grid type.

Options:

  • 0 — Rectangle (line)
  • 1 — Rectangle (polygon)
  • 2 — Diamond (polygon)
  • 3 — Hexagon (polygon)

Default: 0

Width [number]

Horizontal extent of the grid.

Default: 360.0

Height [number]

Vertical extent of the grid.

Default: 180.0

Horizontal spacing [number]

X-axes spacing between the lines.

Default: 10.0

Vertical spacing [number]

Y-axes spacing between the lines.

Default: 10.0

Center X [number]

X-coordinate of the grid center.

Default: 0.0

Center Y [number]

Y-coordinate of the grid center.

Default: 0.0

Output CRS [crs]

Coordinate reference system for grid.

Default: EPSG:4326

Çıkışlar

Output [vector]
The resulting grid layer (lines or polygons).

Konsol kullanımı

processing.runalg('qgis:creategrid', type, width, height, hspacing, vspacing, centerx, centery, crs, output)

Ayrıca bakınız

KAtmandan alınan noktalar

Tanım

Creates points layer from geometryless table with columns that contain point coordinates.

Parametreler

Input layer [table]
Input table
X field [tablefield: any]
Table column containing the X coordinate.
Y field [tablefield: any]
Table column containing the Y coordinate.
Target CRS [crs]

Coordinate reference system to use for layer.

Default: EPSG:4326

Çıkışlar

Output layer [vector]

sonuç katmanı.

Konsol kullanımı

processing.runalg('qgis:pointslayerfromtable', input, xfield, yfield, target_crs, output)

Ayrıca bakınız

İzlere giden noktalar

Tanım

<put algorithm description here>

Parametreler

Input point layer [vector: point]
<put parameter description here>
Group field [tablefield: any]
<put parameter description here>
Order field [tablefield: any]
<put parameter description here>
Date format (if order field is DateTime) [string]

Optional.

<put parameter description here>

Default: (not set)

Çıkışlar

Paths [vector]
<put output description here>
Directory [directory]
<put output description here>

Konsol kullanımı

processing.runalg('qgis:pointstopath', vector, group_field, order_field, date_format, output_lines, output_text)

Ayrıca bakınız

Random points along line

Tanım

<put algorithm description here>

Parametreler

Input layer [vector: line]
<put parameter description here>
Number of points [number]

<put parameter description here>

Default: 1

Minimum distance [number]

<put parameter description here>

Default: 0.0

Çıkışlar

Random points [vector]
<put output description here>

Konsol kullanımı

processing.runalg('qgis:randompointsalongline', vector, point_number, min_distance, output)

Ayrıca bakınız

Random points in extent

Tanım

<put algorithm description here>

Parametreler

Input extent [extent]

<put parameter description here>

Default: 0,1,0,1

Points number [number]

<put parameter description here>

Default: 1

Minimum distance [number]

<put parameter description here>

Default: 0.0

Çıkışlar

Random points [vector]
<put output description here>

Konsol kullanımı

processing.runalg('qgis:randompointsinextent', extent, point_number, min_distance, output)

Ayrıca bakınız

Random points in layer bounds

Tanım

<put algorithm description here>

Parametreler

Input layer [vector: polygon]
<put parameter description here>
Points number [number]

<put parameter description here>

Default: 1

Minimum distance [number]

<put parameter description here>

Default: 0.0

Çıkışlar

Random points [vector]
<put output description here>

Konsol kullanımı

processing.runalg('qgis:randompointsinlayerbounds', vector, point_number, min_distance, output)

Ayrıca bakınız

Random points inside polygons (fixed)

Tanım

<put algorithm description here>

Parametreler

Input layer [vector: polygon]
<put parameter description here>
Sampling strategy [selection]

<put parameter description here>

Options:

  • 0 — Points count
  • 1 — Points density

Default: 0

Number or density of points [number]

<put parameter description here>

Default: 1.0

Minimum distance [number]

<put parameter description here>

Default: 0.0

Çıkışlar

Random points [vector]
<put output description here>

Konsol kullanımı

processing.runalg('qgis:randompointsinsidepolygonsfixed', vector, strategy, value, min_distance, output)

Ayrıca bakınız

Random points inside polygons (variable)

Tanım

<put algorithm description here>

Parametreler

Input layer [vector: polygon]
<put parameter description here>
Sampling strategy [selection]

<put parameter description here>

Options:

  • 0 — Points count
  • 1 — Points density

Default: 0

Number field [tablefield: numeric]
<put parameter description here>
Minimum distance [number]

<put parameter description here>

Default: 0.0

Çıkışlar

Random points [vector]
<put output description here>

Konsol kullanımı

processing.runalg('qgis:randompointsinsidepolygonsvariable', vector, strategy, field, min_distance, output)

Ayrıca bakınız

Regular points

Tanım

<put algorithm description here>

Parametreler

Input extent [extent]

<put parameter description here>

Default: 0,1,0,1

Point spacing/count [number]

<put parameter description here>

Default: 0.0001

Initial inset from corner (LH side) [number]

<put parameter description here>

Default: 0.0

Apply random offset to point spacing [boolean]

<put parameter description here>

Default: False

Use point spacing [boolean]

<put parameter description here>

Default: True

Çıkışlar

Regular points [vector]
<put output description here>

Konsol kullanımı

processing.runalg('qgis:regularpoints', extent, spacing, inset, randomize, is_spacing, output)

Ayrıca bakınız

Vector grid

Tanım

<put algorithm description here>

Parametreler

Grid extent [extent]

<put parameter description here>

Default: 0,1,0,1

X spacing [number]

<put parameter description here>

Default: 0.0001

Y spacing [number]

<put parameter description here>

Default: 0.0001

Grid type [selection]

<put parameter description here>

Options:

  • 0 — Output grid as polygons
  • 1 — Output grid as lines

Default: 0

Çıkışlar

Grid [vector]
<put output description here>

Konsol kullanımı

processing.runalg('qgis:vectorgrid', extent, step_x, step_y, type, output)

Ayrıca bakınız