Skip to content

Commit

Permalink
Merge pull request #82 from zhoub/bo-dev-gmlmultigeometry
Browse files Browse the repository at this point in the history
Support <gml:MultiGeometry> element
  • Loading branch information
jklimke authored Nov 9, 2023
2 parents 3a08f9b + 85c2ebe commit 6bf3424
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions sources/include/parser/nodetypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ namespace citygml {
NODETYPE( GML, MultiCurve )
NODETYPE( GML, MultiSurface )
NODETYPE( GML, MultiSolid )
NODETYPE( GML, MultiGeometry )

NODETYPE( GML, CompositeCurve )
NODETYPE( GML, CompositeSurface )
Expand Down
1 change: 1 addition & 0 deletions sources/src/parser/geometryelementparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ namespace citygml {
geometryTypeIDSet.insert(NodeType::GML_SurfaceNode.typeID());
geometryTypeIDSet.insert(NodeType::GML_MultiCurveNode.typeID());
geometryTypeIDSet.insert(NodeType::GML_MultiPointNode.typeID());
geometryTypeIDSet.insert(NodeType::GML_MultiGeometryNode.typeID());
geometryTypeIDSetInitialized = true;

}
Expand Down
2 changes: 2 additions & 0 deletions sources/src/parser/nodetypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ namespace citygml {
INITIALIZE_NODE( GML, MultiCurve )
INITIALIZE_NODE( GML, MultiSurface )
INITIALIZE_NODE( GML, MultiSolid )
INITIALIZE_NODE( GML, MultiGeometry )

INITIALIZE_NODE( GML, CompositeCurve )
INITIALIZE_NODE( GML, CompositeSurface )
Expand Down Expand Up @@ -577,6 +578,7 @@ namespace citygml {
DEFINE_NODE( GML, MultiCurve )
DEFINE_NODE( GML, MultiSurface )
DEFINE_NODE( GML, MultiSolid )
DEFINE_NODE( GML, MultiGeometry )

DEFINE_NODE( GML, CompositeCurve )
DEFINE_NODE( GML, CompositeSurface )
Expand Down

0 comments on commit 6bf3424

Please sign in to comment.