MapMap
M
MapMap
/geo_nearest_point_on_line

geo nearest point on line

The closest position on a polyline to a given coordinate, plus the geodesic distance to it in metres. The answer may lie between vertices, not only on them. Use

liveverifiedunknown~5s typical
mcpprobedmapmap
$0.0020
per call
plus $0.001 platform fee per run
Open MCP server; Cracked bills routing only
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run mcp-ai-mapmap-mapmap /geo_nearest_point_on_line for me.

Input

FieldTypeDescription
line*arrayThe polyline's coordinates, 2 or more.
point*stringThe coordinate to measure from.

Call it

curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
  -H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
  -d '{"provider":"mcp-ai-mapmap-mapmap","endpoint":"/geo_nearest_point_on_line","input":{"line":[],"point":"..."}}'
cli
npx cracked-ai run -p mcp-ai-mapmap-mapmap -e /geo_nearest_point_on_line -i '{"line":[],"point":"..."}'
mcp
run_tool({ provider: "mcp-ai-mapmap-mapmap", endpoint: "/geo_nearest_point_on_line", input: {"line":[],"point":"..."} })

Try it

Runs against your signed-in workspace balance. Sign in if you have not.