layer

Upload a CSV or GeoJSON file as a generic sandbox layer.

ignore_geometry is the table-route override: parsed geometries are dropped so a geometry-bearing file lands as a plain table.

post/api/v1/layer/{project_id}/upload

Request

  • Base URL
    https://api.maia-analytics.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.maia-analytics.com/api/v1/layer/{project_id}/upload
  • Auth
    HTTP bearer

Request body multipart/form-data

filestring binary required
namestring required
truncateboolean
ignore_geometryboolean

Response

Successful Response

messagestring required
input_rowsinteger required
uploaded_rowsinteger required
truncatedboolean required
geometry_modestring required
out_of_scope_rowsinteger

Changes

    • warning

      added the new duration enum value to the ///// response property for the response status

    • warning

      added the new future_land_use enum value to the ///// response property for the response status