Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
satoshi7190 committed Jan 24, 2025
1 parent 4e97e17 commit a63a5c3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nusamai-plateau/src/models/iur/uro/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub struct DataQualityAttribute {
pub geometry_src_desc_lod0: Vec<Code>,

// PLATEAU 4.x
#[citygml(path = b"uro:geometrySrcDescLod1")]
#[citygml(path = b"uro:geometrySrcDescLod1", required)]
pub geometry_src_desc_lod1: Vec<Code>,

// PLATEAU 4.x
Expand Down
3 changes: 2 additions & 1 deletion nusamai-plateau/src/models/iur/uro/dem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ use nusamai_citygml::{citygml_feature, CityGmlElement};

use super::common::DataQualityAttribute;

#[allow(non_camel_case_types)]
#[citygml_feature(name = "uro:demDataQualityAttribute")]

Check warning on line 6 in nusamai-plateau/src/models/iur/uro/dem.rs

View check run for this annotation

Codecov / codecov/patch

nusamai-plateau/src/models/iur/uro/dem.rs#L6

Added line #L6 was not covered by tests
pub struct DemDataQualityAttribute {
pub struct demDataQualityAttribute {
#[citygml(path = b"uro:DataQualityAttribute", required)]
pub data_quality_attribute: Option<DataQualityAttribute>,
}
2 changes: 1 addition & 1 deletion nusamai-plateau/src/models/relief.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub struct ReliefFeature {

// PLATEAU 4.x
#[citygml(path = b"uro:demDataQualityAttribute", required)]
pub dem_data_quality_attribute: Option<uro::DemDataQualityAttribute>,
pub dem_data_quality_attribute: Option<uro::demDataQualityAttribute>,
}

#[citygml_property(name = "dem:_ReliefComponentProperty")]
Expand Down

0 comments on commit a63a5c3

Please sign in to comment.