Version 1.0.0
X_STYLES is a QGIS plugin for automatic assignment of standardized styles to XPlanGML files. The plugin enables immediate, standards-compliant display of spatial planning data directly after import into QGIS.
Plugins → Manage and Install Plugins...C:\Users\[Username]\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\ or C:\Users\[Username]\AppData\Roaming\QGIS\QGIS4\profiles\default\python\plugins\~/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/ or ~/Library/Application Support/QGIS/QGIS4/profiles/default/python/plugins/~/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ or ~/.local/share/QGIS/QGIS4/profiles/default/python/plugins/Plugins → Manage and Install Plugins...Layer → Add Layer → Add Vector Layer...)Via the dropdown menu of the X_STYLES icon, you can open the settings:
Settings| Option | Description |
|---|---|
| FP Style | Enables special styles for land use plans from the FP directory |
| RP Style | Enables special styles for regional spatial planning programs from the RP directory |
| Custom Layer Order | Applies a custom display order based on z-index |
| Sort Layer Tree | Sorts the layers in the layer tree according to display order |
| Rename Layers | Adds geometry suffix to layer names (_p for point, _l for line, _a for area) |
| Base Style Directory | Directory with base QML files and manifest.yaml |
| FP Style Directory | Optional directory with specific FP styles (overrides base styles) |
| RP Style Directory | Optional directory with specific RP styles (overrides base styles) |
The heart of style management is the manifest.yaml file in the base style directory.
This file defines the mapping between layer names and QML files.
bp_anpflanzungbindungerhaltung:
PointGeometry:
path: BP_AnpflanzungBindungErhaltung_p.qml
zIndex: 115
LineGeometry:
path: BP_AnpflanzungBindungErhaltung_l.qml
zIndex: 120
PolygonGeometry:
path: BP_AnpflanzungBindungErhaltung_f.qml
zIndex: 131
bp_anpflanzungbindungerhaltung): Substring of the layer name (case-insensitive)PointGeometry, LineGeometry, or PolygonGeometryThis plugin is released under the GNU General Public License Version 2. You are free to use, modify, and distribute it.
© 2024 PlanDigitalOSS | X_STYLES v1.0.0