Add vector property

Description

Adds a property to a vector layer

Endpoint

/path/{pathId}/vector/property

Method

POST

Access Level Rules

Access Level

edit+

Processing Units

Processing units

2

Parameters

NameDescriptionRequiredDefault

pathId

The id of the vector layer.

true

name

The name of the new property.

true

type

The data type of the property, must be one of "string", "integer", "float", "boolean" or "date".

true

required

Boolean whether the property must have a value for every feature.

true

levels

An array with the possible values the property is allowed to have.

false

Default null.

Last updated