Solutions / Spatial analysis

Spatial analysis without another service

Send geographic inputs to one documented endpoint for measurements, transformations and relationships your application can map or compose.

Live map example

Loading the Mapsource map…

Request / Response

Buffer a coordinate

Create a one-kilometer GeoJSON buffer around a point for display or later analysis.

API call

curl --fail-with-body "https://api.mapsource.io/analyze" \
  -H "Authorization: Bearer $MAPSOURCE_API_KEY" -H "Content-Type: application/json" \
  --data '{"operation":"buffer","a":[-122.3321,47.6062],"distance":1,"units":"kilometers"}'

Example response

{"schema":"mapsource-analysis.v1","operation":"buffer","geometry":{"type":"Polygon","coordinates":[[[-122.3454,47.6062],[-122.3321,47.6152],[-122.3188,47.6062],[-122.3321,47.5972],[-122.3454,47.6062]]]},"meta":{"computeMs":4}}

Work directly with geographic inputs

Analyze GeoJSON, coordinate pairs, query results and compatible result handles. Explicit operations and units keep behavior inspectable across application workflows.

Connect data, routes and regions

Buffer a site, measure a route, test a point against a service area, intersect boundaries or simplify geometry before delivery to a client.

Service details

Built around a published contract

Inputs, outputs and limits remain inspectable in the generated API reference.

Endpoint
POST /api/analyze
Operations
14 measurement and geometry tools
Inputs
GeoJSON, coordinates and handles
Output
Geometry, value or relationship