Multigraph Hexbin Polygons

Hexagon reachability coverage with multigraph
curl --compressed -X POST \
  'https://service.targomo.com/westcentraleurope/v1/multigraph?key=__targomo_key_here__' \
  -H 'Content-Type: application/json' \
  -d '{
  "edgeWeight": "time",
  "maxEdgeWeight": 1800,
  "multigraph": {
    "layer": {
      "type": "HEXAGON",
      "edgeAggregationType": "min",
      "geometryDetailLevel": 13
    },
    "serialization": {
      "format": "geojson"
    },
    "aggregation": {
      "type": "routing_union"
    }
  },
  "sources": [
    {
      "id": "1",
      "lat": 52.450411,
      "lng": 13.43755,
      "tm": {
        "car": {}
      }
    },
    {
      "id": "2",
      "lat": 52.451,
      "lng": 13.437,
      "tm": {
        "car": {}
      }
    }
  ]
}'
content_copy
Copied to clipboard