About Photo 360 Data Index

You can add data that contains only photo 360, stored in a .zip file, along with an index.

This page discusses:

See Also
Real World Locations, Location Surveys, and Location Observations

To add only photo 360 data in Real World Location Management, you must upload it in a .zip file that contains all the images in the .jpg or .png format, and an index. This index is a .json configuration file that provides a structured way to define the properties of the images. The index ensures that the images are rendered or manipulated correctly in the 3D web apps. It contains the following top-level fields:

  • Version
  • Images

Version

The version field specifies the version of the index. This helps managing changes and ensures compatibility.

Field Type Description
Version Integer Indicates the version of the configuration file.

Images

The images array contains one or more image objects, each defining a specific image with its properties. Each image has the following fields:

Note: For the images, only .jpg and .png types are supported.
Field Type Description
Id String A unique identifier for the image that helps distinguish between different images.
Type String The type of the image. The image type can be either:

  • Cubemap: a cubemap image, typically used for 360° panoramic views.
  • Spherical: A spherical image, typically used for 360° views.

Axis String The axis along which the image is oriented. It specifies the orientation of the image captor.

Possible values:

  • POS_X: Positive X-axis.
  • POS_Y: Positive Y-axis.
  • POS_Z: Positive Z-axis.
  • NEG_X: Negative X-axis.
  • NEG_Y: Negative Y-axis.
  • NEG_Z: Negative Z-axis.

the value is POS_X, which is the .e57 standard.

Data Array of strings An array of data files associated with the image.

It lists the file paths or names of the data files associated with the image. For cubemap images, this array usually contains six files representing the frond, back, right, left, top, and bottom faces.

Position Array of floats The position of the image in the 3D space, in meter.

It specifies the position using three floating-point values representing the X, Y, and Z coordinates.

Orientation Array of floats The orientation of the image in the 3D space.

It specifies the orientation using four floating-point values representing the quaternion components: X, Y, Z, W.

Example: Complete Index File

Example of a complete index file:

{
  "version": 1,
  "images": [
    {
      "id": "location00",
      "type": "cubemap",
      "axis": "POS_X",
      "data": [
        "location00_front.png",
        "location00_back.png",
        "location00_right.png",
        "location00_left.png",
        "location00_top.png",
        "location00_bottom.png"
      ],
      "position": [
        7.802924,
        -1.457458,
        70.795174
      ],
      "orientation": [
        -0.0040079,
        0.0037362,
        0.9966134,
        0.0820468
      ]
    },
    {
      "id": "location01",
      "type": "spherical",
      "axis": "POS_Y",
      "data": [ "location01.jpg" ],
      "position": [ 0.0, 0.0, 0.0 ],
      "orientation": [ 0.0, 0.0, 0.0, 1.0 ]
    }
  ]
}