← Market

Wgs84 Polyline Chainage Leg Index

Route chainage returns the containing leg and local coordinate for a distance along a multi-leg polyline. Use it when an agent needs to map a cumulative station onto its route segment.

POST https://ort.halowerk.com/v1/wgs84-polyline-chainage-leg-index

0.002 USDC on Base · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.002 USDC · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E · via cdp · settles direct
{
  "metres": 200000,
  "points": [
    {
      "lat": 52.3676,
      "lon": 4.9041
    },
    {
      "lat": 50.8503,
      "lon": 4.3517
    },
    {
      "lat": 48.8566,
      "lon": 2.3522
    }
  ]
}
{
  "data": {
    "leg_index": 1,
    "metres_on_leg": 26903.8546888,
    "position": {
      "lat": 50.6489708101,
      "lon": 4.1404799719
    }
  },
  "limitations": "WGS84 surface geometry. Near-antipodal solutions may be unavailable.",
  "measured_at": "2026-11-18T23:55:50.164Z",
  "source": {
    "reference": "WGS84 / Proj4js Vincenty",
    "retrieved_at": "2026-11-18T23:55:50.164Z"
  }
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score76 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency253 ms
Paid calls (30d, on-chain)272 calls · 11 buyers · shared price cohort of 1344

How to call

POST https://ort.halowerk.com/v1/wgs84-polyline-chainage-leg-index · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "points": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "lat": {
            "type": "number",
            "minimum": -90,
            "maximum": 90
          },
          "lon": {
            "type": "number",
            "minimum": -180,
            "maximum": 180
          }
        },
        "required": [
          "lat",
          "lon"
        ],
        "additionalProperties": false
      },
      "maxItems": 24,
      "minItems": 2
    },
    "metres": {
      "type": "number",
      "minimum": 0,
      "maximum": 20000000
    }
  },
  "required": [
    "points",
    "metres"
  ],
  "additionalProperties": false
}
Output schema
{
  "type": "object"
}
curl -i -X POST 'https://ort.halowerk.com/v1/wgs84-polyline-chainage-leg-index' \
  -H 'content-type: application/json' -d '{"points":[{"lat":52.3676,"lon":4.9041},{"lat":50.8503,"lon":4.3517},{"lat":48.8566,"lon":2.3522}],"metres":200000}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)