Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update FORMAT.md #5

Merged
merged 6 commits into from
Aug 14, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 11 additions & 0 deletions FORMAT.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,16 @@ In addition to the default GeoJSON members, each feature may specify some additi
|`name`|string|the feature's name. Will be displayed as a label over certain "Feature Types". Optional, can be null.
|`type`|string|the type of the feature - this should match one of the strings in “Feature Types,” below.
|`highlight`|boolean|whether to generate a highlight for the feature. Optional. Defaults to false.

###### Attributes for placeholders

|Attribute|Type|Description|
--- | --- | ---
|`instance`|string|An instance identifier. Instances names matching an asset in WRLD3D library will be replaced by this asset in the interior. A triangle is generated otherwise.
|`rotation_degrees_over_y`|double|Rotation of the mesh around the vertical axis. [0,360]
|`position`|array|Pair of coordinates in EPSG 4326 to indicate the position of the mesh center
|`scale`|double|Uniform scale attribute for the mesh. Defaults to 1.0


###### Feature Types
|Type|Shows Label|Description|
Expand All @@ -122,6 +132,7 @@ In addition to the default GeoJSON members, each feature may specify some additi
|`highlight`|No| specifies an area of interest
|`inaccessible_space`|No| any space inside the building which is not mapped or accessible
|`no_geometry`|Yes| a feature for which no 3d geometry should be generated
|`placeholder`|No| a feature replaced by a 3d mesh or a placeholder triangle. (e.g. desk, chair, plant, other furniture ..)
|`room`|Yes| marks out interior rooms e.g. meeting rooms in an office
|`stairs`|Yes| stairs between levels
|`unit`|Yes| specifies areas around which interior walls should be created (e.g. units in a shopping centre)
Expand Down