Important
Traducerea este un efort al comunității, la care puteți să vă alăturați. În prezent, această pagină este tradusă 64.57%.
24.1.20. Vector coverage
24.1.20.1. Dissolve coverage
Operates on a coverage (represented as a set of polygon features with exactly matching edge geometry) to dissolve (union) the geometries. It provides a heavily optimized approach for unioning these features compared with the standard Dissolve tools.
Vezi și
Parametri
Etichetă |
Denumire |
Tip |
Descriere |
---|---|---|---|
Strat de intrare |
|
[vector: poligon] |
Input polygon vector layer |
Dissolved |
|
[vector: poligon] Implicit: |
Specify the output vector layer. One of:
The file encoding can also be changed here. |
Rezultate
Etichetă |
Denumire |
Tip |
Descriere |
---|---|---|---|
Dissolved |
|
[vector: poligon] |
The output polygon vector layer with dissolved geometries. |
Cod Python
Algorithm ID: native:coverageunion
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când cursorul mouse-ului se deplasează deasupra denumirii unui algoritm din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și numele parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.
24.1.20.2. Simplify coverage
Operates on a coverage (represented as a set of polygon features with exactly matching edge geometry) to apply a Visvalingam–Whyatt simplification to the edges, reducing complexity in proportion with the provided tolerance, while retaining a valid coverage (i.e. no edges will cross or touch after the simplification). Geometries will never be removed, but they may be simplified down to just a triangle. Also, some geometries (such as polygons which have too few non-repeated points) will be returned unchanged.
If the input dataset is not a valid coverage due to overlaps, it will still be simplified, but invalid topology such as crossing edges will still be invalid.
Requires version of GEOS >= 3.12
Parametri
Etichetă |
Denumire |
Tip |
Descriere |
---|---|---|---|
Strat de intrare |
|
[vector: poligon] |
Input polygon vector layer |
Tolerance |
|
[numeric: double] Implicit: 0.0 |
The maximum distance (in unit of choice) between two consecutive vertices to get merged. |
Preserve boundary |
|
[boolean] Implicit: False |
When enabled, the outside edges of the coverage will be preserved without simplification |
Simplified |
|
[vector: poligon] Implicit: |
Specify the output vector layer. One of:
The file encoding can also be changed here. |
Rezultate
Etichetă |
Denumire |
Tip |
Descriere |
---|---|---|---|
Simplified |
|
[vector: poligon] |
The output polygon vector layer, with a lower number of vertices. |
Cod Python
Algorithm ID: native:coveragesimplify
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când cursorul mouse-ului se deplasează deasupra denumirii unui algoritm din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și numele parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.
24.1.20.3. Validate coverage
Analyzes a coverage (represented as a set of polygon features with exactly matching edge geometry) to find places where the assumption of exactly matching edges is not met. Invalidity includes polygons that overlap or that have gaps smaller than the specified gap width.
Requires version of GEOS >= 3.12
Vezi și
Parametri
Etichetă |
Denumire |
Tip |
Descriere |
---|---|---|---|
Strat de intrare |
|
[vector: poligon] |
Input polygon vector layer |
Gap width |
|
[numeric: double] Implicit: 0.0 |
The maximum width of gap to detect |
Invalid edges |
|
[vector: linie] Implicit: |
Specify the output vector layer. One of:
The file encoding can also be changed here. |
Rezultate
Etichetă |
Denumire |
Tip |
Descriere |
---|---|---|---|
Invalid edges |
|
[vector: linie] |
The output line vector layer showing error edges for each invalid polygon. |
Validity result |
|
[boolean] |
Returns whether the coverage is valid or not. |
Cod Python
Algorithm ID: native:coveragevalidate
import processing
processing.run("algorithm_id", {parameter_dictionary})
ID-ul algoritmului se afișează atunci când cursorul mouse-ului se deplasează deasupra denumirii unui algoritm din caseta instrumentelor de procesare. Dicționarul parametrilor furnizează valorile și numele parametrilor. Pentru detalii despre rularea algoritmilor de procesare din consola Python, parcurgeți Utilizarea algoritmilor de procesare din consolă.