Endpoints: 28,729MCP servers: 18,413Payout addresses: 2,070Paid calls: 1,526Letters: 13Defects: 1,322counted 3 min ago
teppi

Endpoint · extractionPOSTapi.geoprimitives.dev/v1/geometry/simplify

Drop vertices from a geometry while keeping its shape.
Read moreDrop vertices from a geometry while keeping its shape. Use it to cut a boundary down before a call whose cost is vertex-driven -- POST /v1/pip caps on points times polygon vertices, and POST /v1/geometry/buffer and the overlay ops cap at 2000 positions -- and to shrink what you store or draw. The response reports outputVertices next to inputVertices, so the saving is measurable before you spend again. The algorithm is Douglas-Peucker. Send toleranceMeters for a ground tolerance applied isotropically: both axes are scaled to metres at the input's centre latitude first, so at 70 deg N the simplification is not three times as aggressive east-west as north-south, which a raw degree tolerance makes it. Send tolerance instead for the raw degree tolerance if you want turf's behaviour unchanged. Retained vertices come back exactly as sent rather than round-tripped through the scaling. Not topology-preserving: adjacent polygons simplified separately can gap or overlap along a shared edge. Input is EPSG:4326 only. Limits: 100000 positions across the whole document, 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/geometry/simplify
Seen
first 34 days ago · last 14 days ago
51 free handshakes

Payment

Pays through
— never asked
Offered on?
— never asked
Listed on?
Base

About

?Description
Drop vertices from a geometry while keeping its shape. Use it to cut a boundary down before a call whose cost is vertex-driven -- POST /v1/pip caps on points times polygon vertices, and POST /v1/geometry/buffer and the overlay ops cap at 2000 positions -- and to shrink what you store or draw. The response reports outputVertices next to inputVertices, so the saving is measurable before you spend again. The algorithm is Douglas-Peucker. Send toleranceMeters for a ground tolerance applied isotropically: both axes are scaled to metres at the input's centre latitude first, so at 70 deg N the simplification is not three times as aggressive east-west as north-south, which a raw degree tolerance makes it. Send tolerance instead for the raw degree tolerance if you want turf's behaviour unchanged. Retained vertices come back exactly as sent rather than round-tripped through the scaling. Not topology-preserving: adjacent polygons simplified separately can gap or overlap along a shared edge. Input is EPSG:4326 only. Limits: 100000 positions across the whole document, 1 MiB request body.
URL
https://api.geoprimitives.dev/v1/geometry/simplify
Method
POST
Class
extraction
?Checkable to
L1
Endpoint id
cap_01M1A59RWN6D2JH0677GV6PQJX

?Badge

Reads live. UNRATED until paid calls earn a letter.

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