Basic GeoJSON
Generate a single 30-minute walkshed polygon in GeoJSON format
curl --compressed -X POST \
'https://api.targomo.com/westcentraleurope/v1/polygon_post?key=__targomo_key_here__' \
-H 'Content-Type: application/json' \
-d '{
"sources": [{
"lat": 52.52,
"lng": 13.405,
"id": "id123",
"tm": {
"walk": {}
}
}],
"polygon": {
"serializer": "geojson",
"buffer": 0.002,
"srid": 4326,
"values": [1800]
}
}'
Copied to clipboard