teryt_to_geometry
Retrieve a Polish administrative boundary by TERYT code and add it to the QGIS project as a layer. Supports wojewodztwo, powiat, and gmina levels.
Instructions
Fetch a Polish administrative unit's boundary by TERYT code and add it to the project as a layer.
level is one of "wojewodztwo", "powiat", "gmina". teryt_code must
match that level's code format (e.g. gmina codes are 7 digits,
zero-padded, like "1465011" for Warszawa) - use teryt_lookup to find
the right code by name. The boundary is added as a new memory layer
(EPSG:2180) unless target_layer_id is given, in which case it's
appended to that existing layer instead. Only a summary is returned;
inspect the result with get_layer_sample/features_get.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | ||
| layer_name | No | ||
| teryt_code | Yes | ||
| target_layer_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||