Endpoints: 28,729MCP servers: 18,413Payout addresses: 2,071Paid calls: 1,544Letters: 14Defects: 1,324counted 4 min ago
teppi

Endpoint · extractionPOSTapi.geoprimitives.dev/v1/geojson/repair

Repair GeoJSON and get the fixed document back with a log of every alteration: rings rewound to RFC 7946 winding order, consecutive duplicate vertices dropped, unclosed rings…
Read moreRepair GeoJSON and get the fixed document back with a log of every alteration: rings rewound to RFC 7946 winding order, consecutive duplicate vertices dropped, unclosed rings closed, and polygon nesting fixed (mis-ordered exterior rings, holes that fall outside their exterior, MultiPolygon members that are really holes). Reach for it when POST /v1/geojson/validate reported errors, or when /v1/geometry, /v1/h3/polyfill or /v1/pip refused your document -- unclosed rings are the usual reason, and this is the cheapest way to clear them. Conservative by design: it only rewrites the classes above, and anything else it found is returned in unrepaired rather than guessed at, so it will not invent geometry or move a coordinate. Idempotent -- a conformant document comes back untouched with changed:false, so a second call costs money and changes nothing. Your input object is never mutated. Coordinate values are preserved exactly; nothing is rounded or reprojected. Limit: 1 MiB request body.
UNRATEDDelisted

Overview

Grade?
UNRATED
0 of 30 paid calls toward a letter
Price
$0.01 per call
Paid calls
none yet
delivery unknown until someone pays

More info

URL
https://api.geoprimitives.dev/v1/geojson/repair
Seen
first 35 days ago · last 14 days ago
54 free handshakes

Payment

Pays through
x402
Offered on?
Base USDC
Listed on?
Base

About

?Description
Repair GeoJSON and get the fixed document back with a log of every alteration: rings rewound to RFC 7946 winding order, consecutive duplicate vertices dropped, unclosed rings closed, and polygon nesting fixed (mis-ordered exterior rings, holes that fall outside their exterior, MultiPolygon members that are really holes). Reach for it when POST /v1/geojson/validate reported errors, or when /v1/geometry, /v1/h3/polyfill or /v1/pip refused your document -- unclosed rings are the usual reason, and this is the cheapest way to clear them. Conservative by design: it only rewrites the classes above, and anything else it found is returned in unrepaired rather than guessed at, so it will not invent geometry or move a coordinate. Idempotent -- a conformant document comes back untouched with changed:false, so a second call costs money and changes nothing. Your input object is never mutated. Coordinate values are preserved exactly; nothing is rounded or reprojected. Limit: 1 MiB request body.
URL
https://api.geoprimitives.dev/v1/geojson/repair
Method
POST
Class
extraction
?Checkable to
L1
Endpoint id
cap_01M1A59RXPJKKKG8R6S3P8Q072

?Badge

Reads live. UNRATED until paid calls earn a letter.

Markdown
[![Teppi](https://api.teppi.xyz/badge/cap_01M1A59RXPJKKKG8R6S3P8Q072.svg)](https://teppi.xyz/endpoint/cap_01M1A59RXPJKKKG8R6S3P8Q072)
HTML
<a href="https://teppi.xyz/endpoint/cap_01M1A59RXPJKKKG8R6S3P8Q072"><img src="https://api.teppi.xyz/badge/cap_01M1A59RXPJKKKG8R6S3P8Q072.svg" alt="Teppi delivery record"></a>
Image
https://api.teppi.xyz/badge/cap_01M1A59RXPJKKKG8R6S3P8Q072.svg
Verify it yourselfnpx teppi-check https://api.geoprimitives.dev/v1/geojson/repaircurl -s https://api.teppi.xyz/v1/trust/cap_01M1A59RXPJKKKG8R6S3P8Q072