Skip to main content
POST
/
v1
/
precipitations
/
geometry
Geometry Operation
curl --request POST \
  --url https://api.iklim.co/v1/precipitations/geometry \
  --header 'Content-Type: application/json' \
  --data '
{
  "eventIds": [
    "69baa6b76e0fe76a1957273f"
  ],
  "center": {
    "lng": 32.857358,
    "lat": 39.93504
  },
  "radius": 1000
}
'
"aSDinaTvuI8gbWludGxpZnk="

Body

application/json
eventIds
string[]
required

List of precipitation event IDs to retrieve geometry for. Maximum 10 items.

Maximum array length: 10
Example:
["69baa6b76e0fe76a1957273f"]
center
object

Latitude/longitude of the circle center used to crop the geometry.

radius
number<double>

Radius in meters (e.g. 25000 = 25 km) defining the circle boundary used to crop the geometry. Must be provided in meters. Maximum 200 kilometers (200000 meters).

Example:

1000

Response

Successfully retrieved the cropped geometry of the requested precipitation events.

Protobuf-encoded FeatureCollection containing the cropped MultiPolygon geometries of the requested events.