Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • 3 3D-Stadtmodelle
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • Volker Coors
  • 3D-Stadtmodelle
  • Wiki
  • En
  • Citygml tutorial
  • Chapter 2: building
  • LOD2

LOD2 · Changes

Page history
Update LOD2 authored Dec 15, 2022 by Rushikesh Padsala's avatar Rushikesh Padsala
Hide whitespace changes
Inline Side-by-side
EN/CityGML-Tutorial/chapter-2:-Building/LOD2.md
View page @ 6a804328
...@@ -86,7 +86,8 @@ To demonstrate the process of creating CityGML 2.0 LOD2 building model two metho ...@@ -86,7 +86,8 @@ To demonstrate the process of creating CityGML 2.0 LOD2 building model two metho
In order to make a conversion from Sketchup to CityGML 2.0 LOD2 using FME, the modeling process in Sketchup must meet some layering requirements: In order to make a conversion from Sketchup to CityGML 2.0 LOD2 using FME, the modeling process in Sketchup must meet some layering requirements:
- All the edges must be kept in Layer0. - All the edges must be kept in Layer0 (see [Chapter 2.1: Building LOD1](https://transfer.hft-stuttgart.de/gitlab/coors/3d-stadtmodelle/-/wikis/EN/CityGML-Tutorial/chapter%202:%20Building/LOD1)).
- New layers must be defined using the following abbreviation name for CityGML semantic elements: - New layers must be defined using the following abbreviation name for CityGML semantic elements:
1. ws → WallSurface 1. ws → WallSurface
...@@ -98,24 +99,26 @@ In order to make a conversion from Sketchup to CityGML 2.0 LOD2 using FME, the m ...@@ -98,24 +99,26 @@ In order to make a conversion from Sketchup to CityGML 2.0 LOD2 using FME, the m
- All polygons must be classified to its respective SketchUp layers based on above classification. - All polygons must be classified to its respective SketchUp layers based on above classification.
**lod 2 model sketchup** ![image](uploads/74c84efe4dc52f281c4f59f04355a388/image.png)
A complete FME workbench along with sample input and output dataset modeled as LOD2 MultiSurface can be downloaded from **here**. The available FME workbench contains annotations for easy step by step understanding of the conversion process. A complete FME workbench along with sample input and output dataset modeled as LOD2 MultiSurface can be downloaded from **here**. The available FME workbench contains annotations for easy step by step understanding of the conversion process.
**lod 2 FME workflow** **lod 2 FME workflow**
>The SketchUp model is created using a local (cartesian)coordiante system. No coordiante trasnformation is done during its translation to CityGML as the purpose of this exercise is to demonstrate the conversion process. For 3D data reprojection, transformer 3D affiner can be used to define a coordinate transformation matrix. For defining a CRS, transformer coordinatesystemsetter or reprojector can be used. More info on working with coordinate systems in FME can be found from [here](https://community.safe.com/s/article/using-coordinate-systems-within-fme). >The SketchUp model is created using a local (cartesian)coordiante system. No coordiante trasnformation is done during its translation to CityGML as the purpose of this exercise is to demonstrate the conversion process. For 3D data reprojection, transformer [3DAffiner](https://www.safe.com/transformers/3d-affiner/) can be used to define a coordinate transformation matrix. For defining a CRS, transformer [coordinatesystemsetter](https://www.safe.com/transformers/coordinate-system-setter/) or [reprojector](https://www.safe.com/transformers/reprojector/) can be used. More info on working with coordinate systems in FME can be found from [here](https://community.safe.com/s/article/using-coordinate-systems-within-fme).
A CityGML 3.0 LOD2 building model of the above used example building can be downloaded from **here**. An automated CityGML2-to-CityGML3 convertor is used to convert the LOD2 building model from CityGML 2.0 to CityGML 3.0. **lod 2 FME output in FZK**
To correctly insert building solid either [FME](https://gitlab.com/volkercoors/CiD4Sim/-/wikis/usefulTools/FME-Workbenches-(EN)) or a free [SolidInjector](https://github.com/tomeof/citygml-injector) tool can be used. To insert building solid geometry using SolidInjector, the following steps must be followed: To correctly insert building solid either [FME](https://gitlab.com/volkercoors/CiD4Sim/-/wikis/usefulTools/FME-Workbenches-(EN)) or a free [SolidInjector](https://github.com/tomeof/citygml-injector) tool can be used. To insert building solid geometry using SolidInjector, the following steps must be followed:
1. Load your CityGML file by clicking open button. 1. Load the above produced CityGML file by clicking open button.
2. Select on "gml:Polygon" under CityGML Element, followed by "Generate" under Actions and "gml:id" under Attributes panel. Click on apply to generate gml IDs for each gml: polygon of boundary surfaces. **Skip this step if gml IDs for each gml:polygon of boundary surface is already available** 2. Select on "gml:Polygon" under CityGML Element, followed by "Generate" under Actions and "gml:id" under Attributes panel. Click on apply to generate gml IDs for each gml: polygon of boundary surfaces. **Skip this step if gml IDs for each gml:polygon of boundary surface is already available**
3. Select "bldg:Building" under CityGML Element, followed by "Generate" under Actions and "xlink:href" under Attributes panel. Click on apply to generate building solid geometry. 3. Select "bldg:Building" under CityGML Element, followed by "Generate" under Actions and "xlink:href" under Attributes panel. Click on apply to generate building solid geometry.
4. Click on the save button and close. 4. Click on the save button and close.
As an alternative to FME, free GEORES plugin for SketchUp can also be used to convert SketchUp models to CityGML 2.0 in LOD 0,1,2,3 and 4. More info on GEORES plugin can be found [here](https://github.com/GeoplexGIS/geores). The output LOD2 CityGML file with building solid geometry can be downloaded from **here**.
A CityGML 3.0 LOD2 building model of the above used example building can be downloaded from **here**. An automated [CityGML2-to-CityGML3 convertor](https://github.com/tum-gis/citygml2-to-citygml3) is used to convert the LOD2 building model from CityGML 2.0 to CityGML 3.0.
## **Using Shapefile with Feature Manipulation Engine (FME)** ## **Using Shapefile with Feature Manipulation Engine (FME)**
......
Clone repository
  • DE
    • Buch 3D Stadtmodelle
    • Buch 3D Stadtmodelle
      • Kap 4: Objektmodell
      • Kap 5: Digitales Geländemodell
      • Kap 6: Die Bodenbedeckung
      • Kap 7: Gebäudemodell
      • Kap 8: Vegetation
    • Konferenzen
    • Open Data
    • Vorlesung 3D Stadtmodelle
    • Vorlesung 3D Stadtmodelle
      • Kap 2.1 Teil 1 Gebäudemodell Lod 1
      • Kap 2.1 Teil 2 Gebäudemodell Lod 1 mit Attributen
      • Kap 2.2 Gebäudemodell LoD 2
      • Kap 3 ArcGIS CityEngine
      • weiteres
  • EN
    • CityGML Tutorial
View All Pages

Dies ist die Gitlab-Instanz des Transferportals der Hochschule für Technik Stuttgart. Hier geht es zurück zum Portal