Mesh Layer Conversion Table
The table below summarizes the mesh layer conversions supported in TerraExplorer:
Legend:
- GUI - Direct conversion via GUI
- Command Line - Direct conversion (via SLMeshConverter command line tool). More about: Command line tool >
- Indirect – Indirect conversion – first convert to 3DML and from 3DML to the required format
Note that export is supported for all mesh layers except for imported 3D Tiles and BIM, 3DML created from models feature layers, and 3DML from SGS that do not have edit permission.
Output Formats | |||||||
3DML | 3D Tiles | Esri I3S/SLPK | Bentley's 3MX | OBJ (models) | o3DML | ||
Input Formats |
3DML | User Interface | User Interface | User Interface | User Interface | User Interface | Command Line |
3D Tiles | User Interface | Command Line | Command Line | Command Line | Indirect | Command Line | |
OSGB | User Interface | Command Line | Command Line | Command Line | Indirect | Command Line | |
o3DML | User Interface | Indirect | Indirect | Indirect | Indirect | Command Line | |
DAE LODTreeExport | User Interface | Indirect | Indirect | Indirect | Indirect | Indirect | |
BIM FBX | User Interface | Indirect | Indirect | Indirect | Indirect | Indirect | |
BIM IFC | User Interface | Indirect | Indirect | Indirect | Indirect | Indirect | |
Point Layer with Models (DAE, OBJ...) | User Interface | Indirect | Indirect | Indirect | Indirect | Indirect |
Importing and Exporting Using the Command Line
In addition to the format conversions supported from TerraExplorer user interface, additional conversions can be performed from the SLMeshConverter command line tool:
- 3D Tiles to: 3D Tiles, I3S/SLPK, 3MX, and o3DML
- OSGB to: 3D Tiles, I3S/SLPK, 3MX, and o3DML
- o3DML to o3DML
- 3DML to o3DML
- 3DML to LAS/LAZ
To convert, construct a single command line that includes all the following:
- Run SLMeshConverter
"c:\program files\Skyline\TerraExplorer Pro\SLMeshConverter.exe" -cmd convert
- Define the input layer:
-in "FullPathToFile"-
For 3DML/o3DML – Full path to the file
-
For 3D Tiles – Full path to the tileset.json
-
For OSGB – Full path to the root OSGB file
-
- Define the output format:
- For 3D Tiles
-f "b3dm"
- For o3DML
-f "o3dml"
- For 3DML
-f "3dml"
- For I3S/SLPK
-f "i3s"
- For 3MX
-f "3mxb"
- For LAS/LAZ
-f "las"
Note: The LAS/LAZ distinction is determined by the -out file name extension.
Note: Point cloud density in meters is defined by the -las_res argument. E.g., -las_res 0.4
- For 3D Tiles
- Set the output WKT by defining the path to a file containing the WKT in a single line. If this parameter is not provided, the output will be in the same coordinate system as the input layer. For specific formats such as 3D Tiles, it is advisable to omit this parameter.
-wktout "C:\WKTFiles\4326.wkt"
- Define the output file/folder:
- For 3MX/3D Tiles – Full path to the output folder
-out "C:\ConvertedLayers"
- For 3DML/o3DML – Full path to the output file
-out "C:\ConvertedLayers\outputfile.3dml"
- For I3S/SLPK – Full path to the output file
-out "C:\ConvertedLayers\outputfile.slpk"
- For OSGB – Full path to the root OSGB file
-out "C:\ConvertedLayers\Tile_000106_000090.osgb"
- For LAS – Full path to the output file
-out "C:\ ConvertedLayers\outputfile.las"
- For LAZ – Full path to the output file
-out "C:\ ConvertedLayers\outputfile.laz"
- For 3MX/3D Tiles – Full path to the output folder
Examples:
Convert 3D Tiles to SLPK
"C:\Program Files\Skyline\TerraExplorer Pro\SLMeshConverter.exe" -cmd convert -in "C:\LayersToConvert\tileset.json" -out "N:\Output Files\OutputFile.slpk" -f i3s
Convert OSGB to o3DML
"C:\Program Files\Skyline\TerraExplorer Pro\SLMeshConverter.exe" -cmd convert -in "C:\LayersToConvert\Tile_000106_000090.osgb" -out "C:\ConvertedFiles\ConvertedFile.o3dml" -f o3dml
Convert 3DML to LAZ
"C:\Program Files\Skyline\TerraExplorer Pro\SLMeshConverter.exe" -cmd convert -in "C:\LayersToConvert\inputfile.3DML" -out "N:\Output Files\OutputFile.laz" -f las -las_res 0.4