Create layer

Role required

ORG_EDITOR

Path Params
string
required

The id of the organization

string
required

The id of the project

Body Params
string

Can be clone, reference or unspecified. If clone or reference, projectId and layerId are required.

boolean

Applies to types VECTOR

attributes
array of objects

Applies to types VECTOR and OGC_API_FEATURES

attributes
baseFilter
object

Applies to types VECTOR

description
object

Key is a locale (en, fr or es)

string
enum

Applies to types VECTOR and OGC_API_FEATURES – required

Allowed:
string
enum

Applies to types VECTOR

Allowed:
string

Applies to types WMS and WMTS – required

labellingConfiguration
object

Applies to types VECTOR and OGC_API_FEATURES

string

Applies to type WMTS – required – The layer name from the GetCapabilities

string

Applies if action is clone or reference. The ID of the layer to clone or reference.

layers
array of strings

Applies to type WMS – required – The layer name(s) from the GetCapabilities

layers
boolean
float
0 to 23
float
0 to 23
mouseOverConfiguration
object

Applies to types VECTOR, WMS, WMTS and OGC_API_FEATURES

name
object

Key is a locale (en, fr or es)

string

Applies if action is clone or reference. The ID of the project containing the layer to clone or reference.

string

Applies to types VECTOR and OGC_API_FEATURES – The name of the attribute to use for symbol rotation. The attribute must be of numeric type and exist in the specified attributes.

string
enum

Applies to types VECTOR and OGC_API_FEATURES

Allowed:
boolean

Applies to types VECTOR and OGC_API_FEATURES

string

Applies to types VECTOR and OGC_API_FEATURES – The ID of the style to use for feature selection. The style must exist in the project styles and be compatible with the layer element type. A default style will be created if not specified.

uuid
string

Applies to type WMTS – required – The style name from the GetCapabilities of the specified layer

styles
array of strings

Applies to type WMS – required – The style name(s) from the GetCapabilities of the specified layers

styles
tags
array of strings
tags
string
enum
Allowed:
boolean
Responses

Language
Credentials
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json