Skip to content
Fourohtwo

agents.writerslogic.com/api/v1/geo-axis-check

Checks up to 1000 coordinate pairs (or one bounding box) against the EPSG coordinate system you name, for agents handling GIS or map data: it flags longitude/latitude swaps, degrees supplied where metres are expected (or the reverse), values outside the CRS's area of use, and inverted bounds, with the point index and values. It does not reproject, geocode, validate geometry topology or datum, or j

BaseAnswering
POSThttps://agents.writerslogic.com/api/v1/geo-axis-check

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.writerslogic.com/api/v1/geo-axis-check", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"crs":"EPSG:4326","coordinates":[[51.5074,-0.1278],[-0.1278,51.5074],[4500000,5600000]],"declaredOrder":"lat-lon"}),
});
console.log(await res.json());

Example input

{
  "crs": "EPSG:4326",
  "coordinates": [
    [
      51.5074,
      -0.1278
    ],
    [
      -0.1278,
      51.5074
    ],
    [
      4500000,
      5600000
    ]
  ],
  "declaredOrder": "lat-lon"
}