Isoline with Multiple Components

An isoline may consist of several isolated components, for example, when multiple reachable areas are connected by ferry links. The isolated components are returned as separate polygons (polygons) while the ferry links between them are returned as connections polyline geometries.

Below is an example of the 40 km isoline calculated around Rafina, Greece.

curl -X GET \
  'https://isoline.router.hereapi.com/v8/isolines?transportMode=car&origin=38.02026,24.00689&range[type]=distance&range[values]=40000'

Response:

{
  "departure": {
    "place": {
      "type": "place",
      "location": {
        "lat": 38.0202568,
        "lng": 24.0068924
      },
      "originalLocation": {
        "lat": 38.02026,
        "lng": 24.0068899
      }
    }
  },
  "isolines": [
    {
      "range": {
        "type": "distance",
        "value": 40000
      },
      "polygons": [
        {
          "outer": "BGkln1oC09phtB2rF4gE61CuhIAs3K51CwhI1rF0rF51CwhI61CwhI0uV0uVgjQ2rFq3Kq3K81CwhIA-lgB71CwhIzrF2rF71CwhIA-lgB81CwhI-iQ2rF2rF-iQ2rFA0rFzrF2rFAq3Kq3K2rFgjQ0rF0rFA2rFzrF0rF71CwhI81CwhI0rF2rFA0rFzrF2rFA0rF0rF2rF61CwhIAq3K51CwhIzrF2rFA0rF0rF2rF61CwhIA-lgB51CwhIvhI61Cp3KAvhI81Cp3Kq3K51CwhI61CuhIgjQ2rFq6aq6a0rFA2rF1rFgjQzrFq3Kp3K0rF_iQs3Kp3KuhI71Cs3KAuhI81C2rF0rF2rFA0rFzrFwhI71CwhI81Cq3Kq3K61CwhIA0uV81CwhI-iQ0rFgjQgjQgjQ2rF61CwhIA0uV61CwhIwhI61Cs3KAuhI61C2rFgjQgjQ2rF61CwhIAq3K61CwhI2rF0rFA2rF1rF0rF51CwhI61CwhI2rF2rF61CwhI51CwhI1rF0rF51CwhI61CwhIgjQ0rF61CwhIAq3K51CwhI1rF2rFzrFgjQ1rF0rFzrFgjQ_iQ2rF1rF-iQzrF2rF1rFgjQ_iQ0rF51CwhIAq3K51CwhI_iQ2rFzrF0rF_iQ2rF1rFgjQzrF0rF71CwhIAq3K51CwhIvhI61CvhI51CzrFzrF1rFA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ections": [
        {
          "fromPolygonIndex": 0,
          "toPolygonIndex": 1,
          "polyline": "BGqy2woCu2v5tBrL0uDsPgqH83Cq9qB63Cq9qBm3Co9qB83Cq9qB63Cq9qB83Co9qB63Cq9qB83Cq9qBq6B0ycwd0qO6xCkkoBgCm5Cmc08qBAWy_Eo9qBgCkQouImtqB6_FyjeusCwfosB_B"
        }
      ]
    }
  ]
}
Example of multiple components
Figure 1. Example of multiple components

results matching ""

    No results matching ""