Maps
Create Layer Endpoint
Create a new empty spatial layer.
Creates a PostGIS table with a typed geometry column, runs the full post-processing pipeline (geom_4326, spatial index, reader grants), and registers the layer as a catalog dataset.
Requires editor or admin role.
post/layers/
Request
- The document declares no server URL.
- Auth: one of:
- OAuth 2 (password, token URL /api/auth/login)
- API key in header X-Api-Key
- API key in query parameter api_key
Request body
Example request
{
"title": "Survey Points",
"geometry_type": "Point"
}Response
Successful Response
Changes
No recorded changes to this operation across all 50 revisions of this API.