How to import an SLPK file for 2D Spatial data: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
(Created page with "This tutorial describes how to import Custom Geometries using an SLPK file. Optionnaly new Buildings can be created during the process. {{howto|title=|Open the Geo data wizard |Choose as type either Buildings or Measures |Choose as import method the I3S SLPK file option |In the next step, either choose the height defined in the model (datum height) or place the models on top of the Elev...")
 
No edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This tutorial describes how to import [[Custom Geometries]] using an SLPK file. Optionnaly new [[Building]]s can be created during the process.
[[SLPK]] files are generally associated with 3D data. But when working with [[SLPK]] 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 [[SLPK]] file.
{{howto|title=|Open the [[Geo data wizard]]
|Choose as type either [[Geo_Data_Wizard#Import_type|Buildings]] or [[Geo_Data_Wizard#Import_type|Measures]]
|Choose as import method the [[I3S|I3S SLPK]] file option
|In the next step, either choose the height defined in the model (datum height) or place the models on top of the [[Elevation_model|terrain]].
|After selecting the file, continue to step 4
|In step 4, choose one of the following options: either create a new building with the uploaded model (in the next steps you can choose a [[Function|function]] for the new building). The second option is to replace the model of an existing building with the new model and create a new building if none is present. Or choose the third option to only replace the model of an existing building with the new model. The [[Function|function]] and attributes will be kept, only the geometry is updated. If you have chosen this last option, you can finish the wizard.
|If you have chosen to create a new building, choose a [[Geo_Data_Wizard#Steps_in_the_Geo_Data_Wizard|name, function and stakeholders]] and then finish the wizard.
|Depending on the type you have chosen at the start of the [[Geo_Data_Wizard|Geo data wizard]], the building is directly placed in the {{software}} project or a new [[Measure]] is created.}}


==Notes==
{{editor location|geo import}}
* When the [[SLPK]] model contains no textures, the 3D model will be plain white
{{howto|title=import a SLPK file for 2D spatial data
* Currently, Wrap mode: repeat is not supported in atlas textures
|Open the [[Geo data wizard]]
* Only textures in JPEG format are supported
|As [[Geo_Data_Wizard#Import_type|import type]], choose [[Area]]s, [[Neighborhood]]s, [[Terrain]]s, or [[Zone]]s.
|Choose as import method the [[I3S|I3S SLPK]] 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.
|Select a local file or from the {{geoshare}}. Once the file has been accepted, continue to the next step.
|Verify that you can see features in the ''View Features'' step, both visually as under the ''Feature Details''.
|Continue [[Geo Data Wizard#Steps in the Geo Data Wizard|stepping through the Geo data wizard]] depending on the chosen type in step 1.
}}


==See also==
{{article end
|howtos=
* [[How to import an SLPK file]]
* [[How to create an SLPK file]]
|seealso=
* [[I3S]]
* [[I3S]]
* [[How to create a SLPK file]]
* [[SLPK]]
* [[Geo Data Wizard]]
* [[Geo Data Wizard]]
}}
[[Category:How-to's]]

Latest revision as of 15:25, 30 January 2024

SLPK files are generally associated with 3D data. But when working with SLPK 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 SLPK file.

Editor → Current Situation (Ribbon tab) → Geo import (Ribbon bar)
How to import a SLPK file for 2D spatial data:
  1. Open the Geo data wizard
  2. As import type, choose Areas, Neighborhoods, Terrains, or Zones.
  3. Choose as import method the I3S SLPK 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.