{"uid":"cap_6I6Nr0S2FjXmusDjK7dXc","slug":"writerslogic-gis-coordinate-axis-unit-validator-1f9a084f","name":"WritersLogic GIS Coordinate Axis & Unit Validator","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/geo-axis-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"crs":{"type":"string","maxLength":80,"description":"EPSG code in any common form (EPSG:4326, 4326, urn:ogc:def:crs:EPSG::4326) or CRS84. See versions for the snapshot of known codes; others return unknown unless areaOfUse is supplied."},"bounds":{"type":"array","items":{"type":"number"},"maxItems":4,"minItems":4,"description":"[minFirst, minSecond, maxFirst, maxSecond] in the data's own order; its two corners are checked like points and min must not exceed max."},"areaOfUse":{"type":"array","items":{"type":"number"},"maxItems":4,"minItems":4,"description":"[south, west, north, east] degrees; overrides the snapshot for a geographic CRS or supplies one for an unknown geographic code."},"coordinates":{"type":"array","items":{"type":"array","items":{"type":"number"},"maxItems":2,"minItems":2},"maxItems":1000,"description":"[first, second] pairs exactly as they appear in the data."},"declaredOrder":{"enum":["lon-lat","lat-lon","easting-northing","northing-easting"],"type":"string","description":"What the data claims: lon-lat or easting-northing means the first value is the east axis; lat-lon or northing-easting means north first. Default: the CRS's EPSG authority order (CRS84: lon-lat)."}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uR-ReZuU5oXHQWbkDtKAz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates up to 1000 coordinate pairs (or one bounding box) against a named EPSG CRS, flagging axis swaps, unit mismatches, out-of-bounds values, and inverted bounds.","exampleAgentPrompt":"Check these 500 coordinate pairs for me — they're supposed to be in EPSG:4326 lon-lat order, but I want to make sure none are axis-swapped, out of bounds, or mixing up degree and metre units.","exampleUseCases":[{"title":"Catch swapped lat/lon before map load","prompt":"I have a list of 200 coordinates I'm about to load into a Leaflet map using EPSG:4326, but I think some might have latitude and longitude swapped — can you check them all in lon-lat order and flag any that look wrong?"},{"title":"Detect degree/metre unit mix-up in Web Mercator data","prompt":"My pipeline exports coordinates for EPSG:3857 but I suspect some upstream source is sending degrees instead of metres — can you run these 150 coordinate pairs through the axis check in easting-northing order and flag any unit mismatches?"},{"title":"Validate bounding box before spatial query","prompt":"Before I fire off this spatial query, can you verify my bounding box [-180, -90, 180, 90] is valid for EPSG:4326 and check that the min values aren't greater than the max values?"}],"resultDescription":"A structured response indicating per-coordinate validation results: each flagged point includes its index, the values supplied, and the type of issue detected (axis swap, unit mismatch, out-of-area, or inverted bounds). For projected CRS codes other than EPSG:3857, clean results return 'unknown' rather than 'pass' since no projection math is applied.","failureModes":["Unknown EPSG code without an areaOfUse override returns 'unknown' result rather than 'pass' or 'fail'","Projected CRS other than EPSG:3857 cannot distinguish axis swaps from unit errors and returns 'unknown' for clean points","More than 1000 coordinate pairs submitted — request will be rejected","Malformed EPSG code string that cannot be parsed returns an error","Bounding box array with fewer or more than 4 elements is rejected","Supplying both coordinates and bounds simultaneously may produce ambiguous results"],"whenToPreferThis":"Use this endpoint when you need to catch axis-order swaps, degree-vs-metre unit confusion, out-of-area values, or inverted bounding boxes in coordinate data before it enters a GIS pipeline or map rendering step. It is not a reprojection or geocoding service — prefer it for lightweight pre-flight validation of raw coordinate arrays against a named CRS, especially when handling data from multiple sources with inconsistent conventions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T18:44:16.063Z","isFirstParty":false,"canonicalSlug":"writerslogic-gis-coordinate-axis-unit-validator-1f9a084f"}