Upload vector file

DescriptionUploads a file.

Description

Uploads a file using a multipart form.

Endpoint

/path/{pathId}/vector/timestamp/{timestampId}/file

Method

POST

Access Level Rules

Minimum Access Level

edit+

Processing Units

Minimum processing units

2

Parameters

NameDescriptionRequiredDefault

pathId

The id of the vector layer.

true

timestampId

The id of the vector timestamp.

true

name

The name of the file to be uploaded.

true

format

The format of the file.

true

data

The file to be uploaded.

true

epsg

The epsg of the file as an integer. Required if the file itself does not contain a coordinate system.

false

Default null.

method

The method through which the data is processed. Must be one of "full", "downsample" or "simplify".

false

Default "full"

dateColumns

Array of strings containing the column names of date columns.

false

Default null.

datePatterns

Array of date patterns of the dateColumns. Must be a format similar to %y-%m-%dT%H:%M:%S.

false

Default null.

fastUpload

Boolean indicating whether to perform fast upload, which allows faster processing speeds at the cost of temporarily disabling the timestamp. Mandatory to be true when the file contains over 1 million geometries.

false

Default false.

Last updated