How to import a CityGML/CityJSON file for 2D Spatial data: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
(Ideally there should be an introduction on when this info is relevant. But for now replaced " tutorial" with the more accurate "how-to")
No edit summary
Line 1: Line 1:
This how-to describes how to import 2D spatial data using an CityGML or CityJSON file, for items such as [[Area]]s, [[Neighborhood]]s and [[Terrain]]s.
[[CityGML]] files are generally associated with 3D data. But when working with [[CityGML]] files as input for [[3D Visualization]]s or calculations, there are situations where the data from that file should also be included as other [[Item]]s which are entirely 2D, such as [[Area]]s, [[Neighborhood]]s, and [[Terrain]]s. In these situations, it is also possible to perform the import process for the appropriate [[Item]] type, basing the import on the same [[CityGML]] file.
 
{{editor location|Geo Import}}
 
{{howto|title=|Open the [[Geo data wizard]]
{{howto|title=|Open the [[Geo data wizard]]
|Choose as type [[Geo_Data_Wizard#Import_type|Areas]], [[Geo_Data_Wizard#Import_type|Neighborhoods]], [[Geo_Data_Wizard#Import_type|Terrains]] or [[Geo_Data_Wizard#Import_type|Zones]]
|Choose as type [[Geo_Data_Wizard#Import_type|Areas]], [[Geo_Data_Wizard#Import_type|Neighborhoods]], [[Geo_Data_Wizard#Import_type|Terrains]] or [[Geo_Data_Wizard#Import_type|Zones]]
|Choose as import method the [[CityGML|CityJSON/GML]] file option
|Choose as import method the [[CityJSON/GML]] file option
|In the next step, ''Model Parameters'', either choose any height option; it will not be used. Adjusting the minimal triangle size does influence the end result, but generally does not need to be adjusted.
|In the next step, ''Model Parameters'', either choose any height option; it will not be used. Adjusting the minimal triangle size does influence the end result, but generally does not need to be adjusted.
|Select a local file or from the {{geoshare}}. Once the file has been accepted, continue to the next step.
|Select a local file or from the {{geoshare}}. Once the file has been accepted, continue to the next step.

Revision as of 05:52, 5 October 2023

CityGML files are generally associated with 3D data. But when working with CityGML files as input for 3D Visualizations or calculations, there are situations where the data from that file should also be included as other Items which are entirely 2D, such as Areas, Neighborhoods, and Terrains. In these situations, it is also possible to perform the import process for the appropriate Item type, basing the import on the same CityGML file.

Editor → Current Situation (Ribbon tab) → Geo import (Ribbon bar)
How to import a CityGML/CityJSON file for 2D Spatial data:
  1. Open the Geo data wizard
  2. Choose as type Areas, Neighborhoods, Terrains or Zones
  3. Choose as import method the CityJSON/GML file option
  4. In the next step, Model Parameters, either choose any height option; it will not be used. Adjusting the minimal triangle size does influence the end result, but generally does not need to be adjusted.
  5. Select a local file or from the GeoShare. Once the file has been accepted, continue to the next step.
  6. Verify that you can see features in the View Features step, both visually as under the Feature Details.
  7. Continue stepping through the Geo data wizard depending on the chosen type in step 1.