Endpoints: 28,729MCP servers: 18,413Payout addresses: 2,071Paid calls: 1,561Letters: 14Defects: 1,336counted just now
teppi

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

Cut holes out of a polygon: the buildable part of a parcel once setbacks are removed, the land outside a protected area, the part of a route not already covered.
Read moreCut holes out of a polygon: the buildable part of a parcel once setbacks are removed, the land outside a protected area, the part of a route not already covered. Order is significant, so this is the one overlay op where swapping the operands gives a different answer. Subtracting everything answers geojson:null with empty:true, a real answer rather than an error. Send a FeatureCollection of Polygons or MultiPolygons; the first member in document order has every later member subtracted from it. The answer is a single Feature, or null with empty:true when nothing survives. Clipping is planar in longitude/latitude, so edges are straight in degrees rather than geodesics. The 2000-position cap is CPU rather than bandwidth: the sweep-line overlay is quadratic on self-intersecting input. Input is EPSG:4326 only. Limits: 2000 positions across all members, 1 MiB request body, and at least two polygonal geometries or the call is refused.
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/difference
Seen
first 35 days ago · last 14 days ago
51 free handshakes

Payment

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

About

?Description
Cut holes out of a polygon: the buildable part of a parcel once setbacks are removed, the land outside a protected area, the part of a route not already covered. Order is significant, so this is the one overlay op where swapping the operands gives a different answer. Subtracting everything answers geojson:null with empty:true, a real answer rather than an error. Send a FeatureCollection of Polygons or MultiPolygons; the first member in document order has every later member subtracted from it. The answer is a single Feature, or null with empty:true when nothing survives. Clipping is planar in longitude/latitude, so edges are straight in degrees rather than geodesics. The 2000-position cap is CPU rather than bandwidth: the sweep-line overlay is quadratic on self-intersecting input. Input is EPSG:4326 only. Limits: 2000 positions across all members, 1 MiB request body, and at least two polygonal geometries or the call is refused.
URL
https://api.geoprimitives.dev/v1/geometry/difference
Method
POST
Class
extraction
?Checkable to
L1
Endpoint id
cap_01M1A59RWXY8NJM02167QYPC62

?Badge

Reads live. UNRATED until paid calls earn a letter.

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