Algorithms Include

Python Code Sample

import processing
processing.run("algorithm_id", {parameter_dictionary})

algoritmo id rodomas, kai užvedate pelę virš algoritmo apdorojimo įrankinėje. parametrų žodynas teikia parametrų pavadinimus ir reikšmes. Daugiau informacijos apie tai, kaip vykdyti apdorojimo algoritmus Pythono konsolėje rasite skyriuje Using processing algorithms from the console.

Output Types

Directory

  • Save to a Temporary Directory

  • Save to Directory

  • Praleisti išvestį

  • Save to a Temporary Directory

  • Save to Directory

File

  • Įrašyti į laikiną failą

  • Įrašyti į failą…

  • Praleisti išvestį

  • Įrašyti į laikiną failą

  • Įrašyti į failą…

Sluoksnis

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Šia taipogi galima pakeisti failo koduotę.

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

  • Pridėti į sluoksnį…

Šia taipogi galima pakeisti failo koduotę.

  • Praleisti išvestį

  • Kurti laikiną sluoksnį (TEMPORARY_OUTPUT)

  • Įrašyti į failą…

  • Įrašyti į geopackage…

  • Įrašyti į duombazės lentelę…

Šia taipogi galima pakeisti failo koduotę.

Extent Dropdown

Galimi metodai yra:

  • Skaičiuoti pagal sluoksnį…: naudoja dabartiniame projekte įkelto sluoksnio apimtį

  • Skaičiuoti pagal išdėstymo žemėlapį…: naudoja aktyvaus projekto išdėstymo žemėlapio elemento apimtį

  • Skaičiuoti pagal žymelę…: naudoja įrašytos žymelės apimtį

  • Naudoti žemėlapio drobės apimtį

  • Braižyti drobėje: spauskite ir tempkite stačiakampį, apibrėžianti norimą plotą

  • Įveskite koordinates kaip xmin, xmax, ymin, ymax

Geometric predicates

Geometric predicates are boolean functions used to determine the spatial relation a feature has with another by comparing whether and how their geometries share a portion of space.

../../../_images/selectbylocation.png

Looking for spatial relations between layers

Using the figure above, we are looking for the green circles by spatially comparing them to the orange rectangle feature. Available geometric predicates are:

Intersect

Tests whether a geometry intersects another. Returns 1 (true) if the geometries spatially intersect (share any portion of space - overlap or touch) and 0 if they don’t. In the picture above, this will return circles 1, 2 and 3.

Contain

Returns 1 (true) if and only if no points of b lie in the exterior of a, and at least one point of the interior of b lies in the interior of a. In the picture, no circle is returned, but the rectangle would be if you would look for it the other way around, as it contains circle 1 completely. This is the opposite of are within.

Disjoint

Returns 1 (true) if the geometries do not share any portion of space (no overlap, not touching). Only circle 4 is returned.

Equal

Returns 1 (true) if and only if geometries are exactly the same. No circles will be returned.

Touch

Tests whether a geometry touches another. Returns 1 (true) if the geometries have at least one point in common, but their interiors do not intersect. Only circle 3 is returned.

Overlap

Tests whether a geometry overlaps another. Returns 1 (true) if the geometries share space, are of the same dimension, but are not completely contained by each other. Only circle 2 is returned.

Are within

Tests whether a geometry is within another. Returns 1 (true) if geometry a is completely inside geometry b. Only circle 1 is returned.

Cross

Returns 1 (true) if the supplied geometries have some, but not all, interior points in common and the actual crossing is of a lower dimension than the highest supplied geometry. For example, a line crossing a polygon will cross as a line (true). Two lines crossing will cross as a point (true). Two polygons cross as a polygon (false). In the picture, no circles will be returned.

Notes on algorithms

Įspėjimas

Keičiama tik geometrija

Šis veiksmas keičia tik geoobjekto geometriją. Geoobjektų atributų reikšmės nekeičiamos, nors geoobjektų savybės, tokios kaip plotas ar ilgis, gali pasikeisti. Jei šios savybės laikomos atributuose, juos reikės pakeisti rankiniu būdu.

Raster data types

Without user input (native)

  • 0 — Byte (Eight bit unsigned integer (quint8))

  • 1 — Int16 (Sixteen bit signed integer (qint16))

  • 2 — UInt16 (Sixteen bit unsigned integer (quint16))

  • 3 — Int32 (Thirty two bit signed integer (qint32))

  • 4 — UInt32 (Trisdešimt dviejų bitų sveikas skaičius be ženklo (quint32))

  • 5 — Float32 (Thirty two bit floating point (float))

  • 6 — Float64 (Sixty four bit floating point (double))

  • 7 — CInt16 (Complex Int16)

  • 8 — CInt32 (Complex Int32)

  • 9 — CFloat32 (Complex Float32)

  • 10 — CFloat64 (Complex Float64)

  • 11 — Int8 (Eight bit signed integer (qint8))

Galimi variantai priklauso nuo GDAL versijos, su kuria sukurtas QGIS (žiūrėkite meniu Pagalba ► Apie)

Without user input

  • 0 — Byte (Eight bit unsigned integer (quint8))

  • 1 — Int16 (Sixteen bit signed integer (qint16))

  • 2 — UInt16 (Sixteen bit unsigned integer (quint16))

  • 3 — UInt32 (Thirty two bit unsigned integer (quint32))

  • 4 — Int32 (Thirty two bit signed integer (qint32))

  • 5 — Float32 (Thirty two bit floating point (float))

  • 6 — Float64 (Sixty four bit floating point (double))

  • 7 — CInt16 (Complex Int16)

  • 8 — CInt32 (Complex Int32)

  • 9 — CFloat32 (Complex Float32)

  • 10 — CFloat64 (Complex Float64)

  • 11 — Int8 (Eight bit signed integer (qint8))

Galimi variantai priklauso nuo GDAL versijos, su kuria sukurtas QGIS (žiūrėkite meniu Pagalba ► Apie)

With user input

  • 0 — Naudoti įvesties sluoksnio duomenų tipa

  • 1 — Byte (aštuonių bitų sveikas skaičius be ženklo (quint8))

  • 2 — Int16 (Šešiolikos bitų sveikas skaičius su ženklu (qint16))

  • 3 — UInt16 (Šešiolikos bitų sveikas skaičius be ženklo (quint16))

  • 4 — UInt32 (Trisdešimt dviejų bitų sveikas skaičius be ženklo (quint32))

  • 5 — Int32 (Trisdešimt dviejų bitų sveikas skaičius su ženklu (qint32))

  • 6 — Float32 (Trisdešimt dviejų bitų slankaus kablelio skaičius (float))

  • 7 — Float64 (Šešiasdešimt keturių bitų slankaus kablelio skaičius (double))

  • 8 — CInt16 (Kompleksinis Int16)

  • 9 — CInt32 (Kompleksinis Int32)

  • 10 — CFloat32 (Kompleksinis Float32)

  • 11 — CFloat64 (Kompleksinis Float64)

  • 12 — Int8 (Aštuonių bitų sveikas skaičius su ženklu (qint8))

Galimi variantai priklauso nuo GDAL versijos, su kuria sukurtas QGIS (žiūrėkite meniu Pagalba ► Apie)

Resampling methods

  • 0 — Artimiausias kaimynas

  • 1 — Bitiesinis (2x2 branduolio)

  • 2 — Kubinis (4x4 branduolio)

  • 3 — Kubinis B-kreivės (4x4 branduolio)

  • 4 — Lanczos (6x6 branduolio)

  • 5 — Vidurkis

  • 6 — Režimas

  • 7 — Maksimalus

  • 8 — Minimumas

  • 9 — Mediana

  • 10 — Pirmas kvartilis (Q1)

  • 11 — Trečias kvartilis (Q3)

Vector field types

  • 1 — Boolean

  • 2 — Integer (32bit)

  • 4 — Integer (64bit)

  • 6 — Decimal (double)

  • 9 — Integer list

  • 9 — Integer (64bit) list

  • 9 — Decimal (double) list

  • 10 — Text (string)

  • 11 — Eilučių sąrašas

  • 12 — Dvejetainis objektas (BLOB)

  • 14 — Data

  • 15 — Laikas

  • 16 — Data ir laikas

  • 2 — Sveikų skaičių sąrašas

  • 4 — Sveikų skaičių (64bit) sąrašas

  • 6 — Dešimtainių (double) sąrašas

  • 10 — Eilučių sąrašas

  • 0 — Bet kokie kiti tipai