meta

Defining vector and raster data layers that should be shown in the appropriate left-hand side menu.

Field Type Description
layer_entity_value_max float Optional, representing the highest greyscale (black to white) value of a raster cell. Default is 1000.0, also when set to null. Other logical value is 255.0.
layer_property_as_type string Optional string of the layer geometry feature property that should be read when determining the type, as further defined under layer_type below. Null if irrelevant.
layer_type object[] (with keys) Defining which types this particular layer should have (minimum one).
→ displayName string The name of the type being defined here that the user will actually see.
→ value int The highest value of a raster cell. Minimum 0, maximum 255 (requiring layer_entity_value_max to be set to 255.0) or 1000 (default, no layer_entity_value_max setting required).
→ map_type string Optional, but required when layer_property_as_type is not null, representing the value of the layer's geometry feature property defined under layer_property_as_type that should be mapped to this type. Null if irrelevant. Can be 'other' indicating a 'catch-all' type if none of the other types can be mapped to. Can also be an integer or float/decimal range, without spaces, and using - (dash) as a separator. E.g. 10-20.
layer_info_properties object[] Defining what and how feature property data should be shown to the user when clicking on the feature on the map.
→ property_name string The feature property present in the data table of this layer's source data.
→ enabled int 0 or 1 (so integer representation of a boolean) representing whether this feature property should be shown to the user at all.
→ editable int 0 or 1 (so integer representation of a boolean) representing whether the user should be able to change feature property value. NOT IMPLEMENTED.
→ display_name string The name that should replace the original property_name when showing it to the user (requires enabled to be 1).
→ sprite_name null NOT IMPLEMENTED
→ update_visuals bool Always false, NOT IMPLEMENTED
→ update_text bool Always false, NOT IMPLEMENTED
→ update_calculation bool Always false, NOT IMPLEMENTED
→ content_type int Always 0, NOT IMPLEMENTED
→ content_validation int Always 0, NOT IMPLEMENTED
→ unit null NOT IMPLEMENTED
→ default_value string representing what to show in case the source feature property data's value is null.
This page was last edited on 10 April 2024, at 13:29. Content is available under GPLv3 unless otherwise noted.