compliance

Coordinate-reference-system sanity check (see module docs).

post/geodata/validate

Request

  • Base URL: https://api.mapmap.ai
  • URL: https://api.mapmap.ai/geodata/validate
  • Auth: one of:
    • HTTP bearer
    • API key in query parameter api_key

Request body

declared_crsstring required

The CRS the dataset claims, e.g. "EPSG:4326" or "EPSG:32610".

Example request

{
  "coordinates": [
    {
      "x": 529000,
      "y": 4555000
    }
  ],
  "declared_crs": "EPSG:32610"
}

Response

Whether the declaration and the coordinates agree

interpreted_asstring required

The CRS family the declaration was understood as.

problemsstring[] required

Plain-language findings, most important first. Empty when consistent.

suggestionsstring[] required

What the numbers look like when the declaration does not fit.

verdictstring required

consistent, suspect or impossible.

Example response

{
  "interpreted_as": "UTM zone 10N",
  "verdict": "impossible"
}

Changes

No recorded changes to this operation across all 1 revision of this API.