This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from creds import ID,CODE # isolines: driving from my house | |
| import folium | |
| import requests | |
| home =[-33.406654,-70.572701] # 085 LOS MILITARES / ALONSO DE CORDOVA | |
| head = 'https://isoline.route.cit.api.here.com/routing/7.2/calculateisoline.json?' | |
| URL_BASE = '{}app_id={}&app_code={}&mode=shortest;car;traffic:disabled&start=geo!{},{}&range={}&rangetype={}' | |
| def isodata(home, range, type): |