Rijwind · Schema

MapMatchingRequest

Snap a noisy GPS trace to the road network. Provide the trace either as a `shape` array of `(lat, lon)` points or as an `encodedPolyline` string — exactly one is required.

MappingGeocodingRoutingLocation Data

Properties

Name Type Description
costing object
encodedPolyline stringnull The GPS trace as a single encoded polyline (precision 6). An alternative to `shape` for compact transport of long traces.
shape arraynull The GPS trace as ordered `(lat, lon)` points. Capped at 100 points; use `encodedPolyline` for longer traces. Omit when using `encodedPolyline`.
shapeMatch stringnull How aggressively to snap to roads. `map_snap` (default) matches to the road network; `walk_or_snap` and `edge_walk` trade accuracy for speed on dense traces.
units object
View JSON Schema on GitHub

JSON Schema

rijwind-com-map-matching-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rijwind-com/json-schema/rijwind-com-map-matching-request-schema.json",
  "title": "MapMatchingRequest",
  "description": "Snap a noisy GPS trace to the road network. Provide the trace either as a `shape` array of `(lat, lon)` points or as an `encodedPolyline` string — exactly one is required.",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rijwind-com-openapi.json#/components/schemas/MapMatchingRequest",
  "properties": {
    "costing": {
      "$ref": "#/$defs/Costing"
    },
    "encodedPolyline": {
      "description": "The GPS trace as a single encoded polyline (precision 6). An\nalternative to `shape` for compact transport of long traces.",
      "type": [
        "string",
        "null"
      ]
    },
    "shape": {
      "description": "The GPS trace as ordered `(lat, lon)` points. Capped at 100 points;\nuse `encodedPolyline` for longer traces. Omit when using\n`encodedPolyline`.",
      "items": {
        "$ref": "#/$defs/LngLat"
      },
      "maxItems": 100,
      "type": [
        "array",
        "null"
      ]
    },
    "shapeMatch": {
      "description": "How aggressively to snap to roads. `map_snap` (default) matches to\nthe road network; `walk_or_snap` and `edge_walk` trade accuracy for\nspeed on dense traces.",
      "type": [
        "string",
        "null"
      ]
    },
    "units": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/Units"
        }
      ]
    }
  },
  "required": [
    "costing"
  ],
  "type": "object",
  "$defs": {
    "Costing": {
      "description": "Routing profile. `auto` (car), `bicycle`, or `pedestrian` (foot).",
      "enum": [
        "auto",
        "bicycle",
        "pedestrian"
      ],
      "type": "string"
    },
    "LngLat": {
      "description": "A `(lat, lon)` pair. Latitude is in [-90, 90], longitude in [-180, 180].",
      "properties": {
        "lat": {
          "format": "double",
          "type": "number"
        },
        "lon": {
          "format": "double",
          "type": "number"
        }
      },
      "required": [
        "lat",
        "lon"
      ],
      "type": "object"
    },
    "Units": {
      "enum": [
        "kilometers",
        "miles"
      ],
      "type": "string"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/rijwind-com-map-matching-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.