routing

Snaps each location to the road graph (see module docs).

post/locate

Request

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

Request body

object required

Response

One entry per input location: the closest edges (way id, correlated point, side of street, percent along) and, in verbose mode, nodes with a dense administrative/access/geometry attribute tree. A location with no nearby graph edges (open sea, an unmapped area) answers an entry with empty edges/nodes arrays, never an error

object required

Changes

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