This is documentation of an archived release.
For documentation on the current version, please check Knowledge Base.

Leica C10

This page describes the original Leica C10 terrestrial mapping resources for Orbit import.

Use the corresponding Orbit Import Template to import the described original data.
It is recommend to read first Orbit Mapping Resource.

Panoramas

The data are delivered in .E57 format. This file consists of the images, the photo positions and the point cloud(s).

Importing .E57 files can be done through the Import Run procedure. Using a template for a E57 import will induce this procedure to have one step extra compared to a regular import process. Below, this import procedure is described step by step.

Currently, the process requires two manual changes (Step 3 and step 4). One can use the scripts below as well to do this in an automatic way.

Import procedure

  1. Open the Import Run procedure and go through the first step of creating a Mobile Mapping Run.
  2. Extract the images and photo position file from the .E57 file by selecting the E57 file via 'Select file'. The images and photo position file (positions.CSV) will be saved in the folder: <orbit run>/panorama1/original
  3. Update positions.csv to only keep one photo position per panorama image in this photo position file. In the ooriginal positions.csv, there is one photo position for each cubeface planar image - like there is in the E57 XML. This needs to be brought back to one photo position for each panorama image: the front image.
  4. Rename the image names to remove the middle part (bounded by '_' characters). This is necessary as we need to refer to the other cubeface images starting from CubeFace1, but there's no way how we could know the middle part of the other images from that first CubeFace Planar image.
  5. Select the photo position file in the next step of the procedure in Orbit: make sure to select the UPDATED file 'positions.CSV'.

Create panorama images from cube face images

Via the procedure Optimize Imagery, Orbit will create Orbit Multiresolution Image panorama images. They are - as always - stored in the processed folder.

Scripts for Step 3 and Step 4

Step 3: Update photo position file

Use the following command in Windows PowerShell. Make sure to update the path in the command.

Set-Content -Path "<Orbit Run>/panorama1/original/positions.csv" -Value (get-content -Path "<Orbit Run>/panorama1/original/positions.csv" |  Select-String -Pattern 'CubeFace2','CubeFace3','CubeFace4','CubeFace5','CubeFace6' -NotMatch)

Step 4: Update image file names

Use the following command in Windows PowerShell. You can run this command if you open Windows Powershell in the folder (<Orbit Run>/Panorama1/original) where the images are stored.

Get-ChildItem -Filter *.jpg -File | ForEach-Object {Rename-Item -Path $_.FullName -NewName ( $_.BaseName.split("_")[0] + "_" + $_.BaseName.split("_")[2] + $_.Extension )}

Point Cloud

The data are delivered in .E57 format. This file consists of the images, the photo positions and the point cloud(s).

 
Last modified:: 2022/07/29 07:53