How to request distance-based isolines
A distance-based isoline, also called an Isodistance, can be requested using range[type]=distance and providing range[values] in meters.
mode can be either:
short: In this mode the isoline calculation simulates route calculation from start to destination minimizing route distance, disregarding any speed information.fast: In this mode the isoline calculation simulates route calculation from start to destination minimizing travel time.
The request below calculates a 4 km isoline in the short mode. The response answers the question: what area can I reach by driving 4 km or less, while trying to take the shortest possible route?
curl -gX GET 'https://isoline.router.hereapi.com/v8/isolines?'\
'transportMode=car&'\
'origin=52.51578,13.37749&'\
'range[type]=distance&'\
'range[values]=4000&'\
'routingMode=short&'\
'apiKey=YOUR_API_KEY'
The request below calculates a 4 km isoline around the center of Berlin in the fast mode. The response answers the question: what area can I reach by driving 4 km or less, while trying to take the fastest possible route?
curl -gX GET 'https://isoline.router.hereapi.com/v8/isolines?'\
'transportMode=car&'\
'origin=52.51578,13.37749&'\
'range[type]=distance&'\
'range[values]=4000&'\
'routingMode=fast&'\
'apiKey=YOUR_API_KEY'
Updated 8 days ago