Skip to content

Commit

Permalink
Fix: bldg:class の扱いが抜けている (#119)
Browse files Browse the repository at this point in the history
* Fix: bldg:class is missing

* bump to 0.0.5

* ruff format
  • Loading branch information
ciscorn authored Mar 8, 2024
1 parent b453921 commit cd4496c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plateau_plugin/metadata.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[general]
name=PLATEAU QGIS Plugin
version=0.0.4
version=0.0.5
qgisMinimumVersion=3.6
description=Import the PLATEAU 3D city model data (CityGML) used in Japan — PLATEAU 3D都市モデルのCityGMLファイルをQGISに読み込みます
author=MLIT Japan
Expand Down
6 changes: 6 additions & 0 deletions plateau_plugin/plateau/models/building.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
AttributeGroup(
base_element=None,
attributes=[
Attribute(
name="class",
path="./bldg:class",
datatype="[]string",
predefined_codelist="Building_class",
),
Attribute(
name="usage",
path="./bldg:usage",
Expand Down
2 changes: 1 addition & 1 deletion plateau_plugin/plateau/models/landuse.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
],
collect_all=[
"./luse:lod0MultiSurface//gml:Polygon", # NOTE: PLATEAU 2.0 compatibility
"./luse:lod1MultiSurface//gml:Polygon"
"./luse:lod1MultiSurface//gml:Polygon",
],
),
),
Expand Down

0 comments on commit cd4496c

Please sign in to comment.