Skip to content

Commit

Permalink
BP_AbweichungVonUeberbaubarerGrundstuecksFlaeche was renamed for XPla…
Browse files Browse the repository at this point in the history
…nung v6
  • Loading branch information
pathmapper committed Jul 16, 2024
1 parent 3173932 commit e5f9acb
Show file tree
Hide file tree
Showing 4 changed files with 200 additions and 3 deletions.
6 changes: 4 additions & 2 deletions metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ about=Remark:
- oder auch zum Erstellen eines QGIS-Server-Projektes, etwa um einen WMS eines Flächennutzungsplans zu veröffentlichen.

tags=xplan,xplanung,bplan,bebauungsplan,fnp,flächennutzungsplan
version=0.26.0
version=0.27.0
# we need at least QGIS Version 3.26.0 (LR) oder 3.22.9 (LTR)
qgisMinimumVersion=3.26
author=Kreis Viersen
Expand All @@ -21,7 +21,9 @@ homepage=https://github.com/kreis-viersen/xplan-reader/
icon=xplan_reader_icon.png
server=False
deprecated=False
changelog=v0.26.0:
changelog=v0.27.0:
- berücksichtige Umbenennung von BP_AbweichungVonUeberbaubarerGrundstuecksFlaeche in v6
v0.26.0:
- optimierte Styles
v0.25.1:
- Behebe Anzeigefehler in der Attributtabelle und bei "Objekte abfragen"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
<qgis labelsEnabled="0" version="3.36.3-Maidenhead" styleCategories="Symbology|Labeling|MapTips">
<renderer-v2 type="RuleRenderer" referencescale="-1" forceraster="0" symbollevels="0" enableorderby="0">
<rules key="{291b0a59-2a76-4e7c-8961-d123a97fc3e5}">
<rule scalemaxdenom="2501" key="{3cb5524a-23b1-424f-9002-7b144b67d622}" scalemindenom="1" symbol="0"/>
</rules>
<symbols>
<symbol is_animated="0" type="fill" frame_rate="10" name="0" alpha="1" clip_to_extent="1" force_rhr="0">
<data_defined_properties>
<Option type="Map">
<Option type="QString" name="name" value=""/>
<Option name="properties"/>
<Option type="QString" name="type" value="collection"/>
</Option>
</data_defined_properties>
<layer enabled="1" class="SimpleLine" pass="0" id="{57f90f61-d37e-477f-820b-7328c517c6ed}" locked="0">
<Option type="Map">
<Option type="QString" name="align_dash_pattern" value="0"/>
<Option type="QString" name="capstyle" value="square"/>
<Option type="QString" name="customdash" value="5;2"/>
<Option type="QString" name="customdash_map_unit_scale" value="3x:0,0,0,0,0,0"/>
<Option type="QString" name="customdash_unit" value="MM"/>
<Option type="QString" name="dash_pattern_offset" value="0"/>
<Option type="QString" name="dash_pattern_offset_map_unit_scale" value="3x:0,0,0,0,0,0"/>
<Option type="QString" name="dash_pattern_offset_unit" value="MM"/>
<Option type="QString" name="draw_inside_polygon" value="0"/>
<Option type="QString" name="joinstyle" value="bevel"/>
<Option type="QString" name="line_color" value="200,200,200,255,rgb:0.78431372549019607,0.78431372549019607,0.78431372549019607,1"/>
<Option type="QString" name="line_style" value="solid"/>
<Option type="QString" name="line_width" value="0.3"/>
<Option type="QString" name="line_width_unit" value="RenderMetersInMapUnits"/>
<Option type="QString" name="offset" value="0.3"/>
<Option type="QString" name="offset_map_unit_scale" value="3x:0,0,0,0,0,0"/>
<Option type="QString" name="offset_unit" value="RenderMetersInMapUnits"/>
<Option type="QString" name="ring_filter" value="0"/>
<Option type="QString" name="trim_distance_end" value="0"/>
<Option type="QString" name="trim_distance_end_map_unit_scale" value="3x:0,0,0,0,0,0"/>
<Option type="QString" name="trim_distance_end_unit" value="MM"/>
<Option type="QString" name="trim_distance_start" value="0"/>
<Option type="QString" name="trim_distance_start_map_unit_scale" value="3x:0,0,0,0,0,0"/>
<Option type="QString" name="trim_distance_start_unit" value="MM"/>
<Option type="QString" name="tweak_dash_pattern_on_corners" value="0"/>
<Option type="QString" name="use_custom_dash" value="0"/>
<Option type="QString" name="width_map_unit_scale" value="3x:0,0,0,0,0,0"/>
</Option>
<data_defined_properties>
<Option type="Map">
<Option type="QString" name="name" value=""/>
<Option name="properties"/>
<Option type="QString" name="type" value="collection"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
</symbols>
</renderer-v2>
<selection mode="Default">
<selectionColor invalid="1"/>
<selectionSymbol>
<symbol is_animated="0" type="fill" frame_rate="10" name="" alpha="1" clip_to_extent="1" force_rhr="0">
<data_defined_properties>
<Option type="Map">
<Option type="QString" name="name" value=""/>
<Option name="properties"/>
<Option type="QString" name="type" value="collection"/>
</Option>
</data_defined_properties>
<layer enabled="1" class="SimpleFill" pass="0" id="{5465f440-7016-40e2-9990-12e7840224ca}" locked="0">
<Option type="Map">
<Option type="QString" name="border_width_map_unit_scale" value="3x:0,0,0,0,0,0"/>
<Option type="QString" name="color" value="0,0,255,255,rgb:0,0,1,1"/>
<Option type="QString" name="joinstyle" value="bevel"/>
<Option type="QString" name="offset" value="0,0"/>
<Option type="QString" name="offset_map_unit_scale" value="3x:0,0,0,0,0,0"/>
<Option type="QString" name="offset_unit" value="MM"/>
<Option type="QString" name="outline_color" value="35,35,35,255,rgb:0.13725490196078433,0.13725490196078433,0.13725490196078433,1"/>
<Option type="QString" name="outline_style" value="solid"/>
<Option type="QString" name="outline_width" value="0.26"/>
<Option type="QString" name="outline_width_unit" value="MM"/>
<Option type="QString" name="style" value="solid"/>
</Option>
<data_defined_properties>
<Option type="Map">
<Option type="QString" name="name" value=""/>
<Option name="properties"/>
<Option type="QString" name="type" value="collection"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
</selectionSymbol>
</selection>
<blendMode>0</blendMode>
<featureBlendMode>0</featureBlendMode>
<mapTip enabled="1"></mapTip>
<layerGeometryType>2</layerGeometryType>
</qgis>
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
<qgis labelsEnabled="0" version="3.36.3-Maidenhead" styleCategories="Symbology|Labeling|MapTips">
<renderer-v2 type="RuleRenderer" referencescale="-1" forceraster="0" symbollevels="0" enableorderby="0">
<rules key="{291b0a59-2a76-4e7c-8961-d123a97fc3e5}">
<rule scalemaxdenom="2501" key="{3cb5524a-23b1-424f-9002-7b144b67d622}" scalemindenom="1" symbol="0"/>
</rules>
<symbols>
<symbol is_animated="0" type="fill" frame_rate="10" name="0" alpha="1" clip_to_extent="1" force_rhr="0">
<data_defined_properties>
<Option type="Map">
<Option type="QString" name="name" value=""/>
<Option name="properties"/>
<Option type="QString" name="type" value="collection"/>
</Option>
</data_defined_properties>
<layer enabled="1" class="SimpleLine" pass="0" id="{57f90f61-d37e-477f-820b-7328c517c6ed}" locked="0">
<Option type="Map">
<Option type="QString" name="align_dash_pattern" value="0"/>
<Option type="QString" name="capstyle" value="square"/>
<Option type="QString" name="customdash" value="5;2"/>
<Option type="QString" name="customdash_map_unit_scale" value="3x:0,0,0,0,0,0"/>
<Option type="QString" name="customdash_unit" value="MM"/>
<Option type="QString" name="dash_pattern_offset" value="0"/>
<Option type="QString" name="dash_pattern_offset_map_unit_scale" value="3x:0,0,0,0,0,0"/>
<Option type="QString" name="dash_pattern_offset_unit" value="MM"/>
<Option type="QString" name="draw_inside_polygon" value="0"/>
<Option type="QString" name="joinstyle" value="bevel"/>
<Option type="QString" name="line_color" value="200,200,200,255,rgb:0.78431372549019607,0.78431372549019607,0.78431372549019607,1"/>
<Option type="QString" name="line_style" value="solid"/>
<Option type="QString" name="line_width" value="0.3"/>
<Option type="QString" name="line_width_unit" value="RenderMetersInMapUnits"/>
<Option type="QString" name="offset" value="0.3"/>
<Option type="QString" name="offset_map_unit_scale" value="3x:0,0,0,0,0,0"/>
<Option type="QString" name="offset_unit" value="RenderMetersInMapUnits"/>
<Option type="QString" name="ring_filter" value="0"/>
<Option type="QString" name="trim_distance_end" value="0"/>
<Option type="QString" name="trim_distance_end_map_unit_scale" value="3x:0,0,0,0,0,0"/>
<Option type="QString" name="trim_distance_end_unit" value="MM"/>
<Option type="QString" name="trim_distance_start" value="0"/>
<Option type="QString" name="trim_distance_start_map_unit_scale" value="3x:0,0,0,0,0,0"/>
<Option type="QString" name="trim_distance_start_unit" value="MM"/>
<Option type="QString" name="tweak_dash_pattern_on_corners" value="0"/>
<Option type="QString" name="use_custom_dash" value="0"/>
<Option type="QString" name="width_map_unit_scale" value="3x:0,0,0,0,0,0"/>
</Option>
<data_defined_properties>
<Option type="Map">
<Option type="QString" name="name" value=""/>
<Option name="properties"/>
<Option type="QString" name="type" value="collection"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
</symbols>
</renderer-v2>
<selection mode="Default">
<selectionColor invalid="1"/>
<selectionSymbol>
<symbol is_animated="0" type="fill" frame_rate="10" name="" alpha="1" clip_to_extent="1" force_rhr="0">
<data_defined_properties>
<Option type="Map">
<Option type="QString" name="name" value=""/>
<Option name="properties"/>
<Option type="QString" name="type" value="collection"/>
</Option>
</data_defined_properties>
<layer enabled="1" class="SimpleFill" pass="0" id="{5465f440-7016-40e2-9990-12e7840224ca}" locked="0">
<Option type="Map">
<Option type="QString" name="border_width_map_unit_scale" value="3x:0,0,0,0,0,0"/>
<Option type="QString" name="color" value="0,0,255,255,rgb:0,0,1,1"/>
<Option type="QString" name="joinstyle" value="bevel"/>
<Option type="QString" name="offset" value="0,0"/>
<Option type="QString" name="offset_map_unit_scale" value="3x:0,0,0,0,0,0"/>
<Option type="QString" name="offset_unit" value="MM"/>
<Option type="QString" name="outline_color" value="35,35,35,255,rgb:0.13725490196078433,0.13725490196078433,0.13725490196078433,1"/>
<Option type="QString" name="outline_style" value="solid"/>
<Option type="QString" name="outline_width" value="0.26"/>
<Option type="QString" name="outline_width_unit" value="MM"/>
<Option type="QString" name="style" value="solid"/>
</Option>
<data_defined_properties>
<Option type="Map">
<Option type="QString" name="name" value=""/>
<Option name="properties"/>
<Option type="QString" name="type" value="collection"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
</selectionSymbol>
</selection>
<blendMode>0</blendMode>
<featureBlendMode>0</featureBlendMode>
<mapTip enabled="1"></mapTip>
<layerGeometryType>2</layerGeometryType>
</qgis>
3 changes: 2 additions & 1 deletion xplan_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,8 @@ def addXplanLayer(layername, gtype):
# addXplanLayer('BP_BauGrenze', 'Flaeche') -> existiert nur als Linie
# addXplanLayer('BP_BauLinie', 'Flaeche') -> existiert nur als Linie
addXplanLayer("BP_AbweichungVonBaugrenze", "Flaeche")
addXplanLayer("BP_AbweichungVonUeberbaubererGrundstuecksFlaeche", "Flaeche")
addXplanLayer("BP_AbweichungVonUeberbaubererGrundstuecksFlaeche", "Flaeche") # v5 mit Schreibfehler
addXplanLayer("BP_AbweichungVonUeberbaubarerGrundstuecksFlaeche", "Flaeche") # v6
addXplanLayer("BP_RichtungssektorGrenze", "Flaeche")
addXplanLayer("BP_ZusatzkontingentLaerm", "Flaeche")
addXplanLayer("BP_ZusatzkontingentLaermFlaeche", "Flaeche")
Expand Down

0 comments on commit e5f9acb

Please sign in to comment.