GeostoreCityJsonProto

GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProto


Table of Contents ▼

Jump to a specific part of the page:

Description

CityJsonProto is a custom proto representation of the portion of the CityJSON spec (https://www.cityjson.org/) relevant to internal projects. See go/cityjsonproto-design for more information about the modeling and design decisions implemented here. LINT.IfChange

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. appearance (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoAppearance, default: nil)
    - Additional information that can be used to describe the appearance of CityObjects in this CityJsonProto.
  2. cityObjects (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoCityObject), default: nil)
    - City objects associated with this CityJsonProto.
  3. flattenedVertices (type: list(integer()), default: nil)
    - Vertices as local coordinates represented as a flattened list: [x1,y1,z1,x2,y2,z2,x3,y3,z3]. Vertices are relative to a local coordinate system and rounded to their nearest integer value. See transform for how vertices can be transformed from a local coordinate system into an Earth-centered, Earth-fixed coordinate system. Vertices are flattened for space efficiency, memory locality, and processing performance. To access the x,y,z coordinates of vertex N, read the values at indices 3N, 3N+1, and 3N+2.
  4. transform (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoTransform, default: nil)
    - Spec for converting vertices from a local coordinate system in arbitrary units to ECEF coordinates in meters (https://en.wikipedia.org/wiki/Earth-centered,_Earth-fixed_coordinate_system).

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProto{
appearance: GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoAppearance.t() | nil,
cityObjects: [GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoCityObject.t()] | nil,
flattenedVertices: [integer()] | nil,
transform: GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProtoTransform.t() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GeostoreCityJsonProto