mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-23 03:32:07 +08:00
c726a82eaf
* mapd: offline/local database * link overpy before manager * add path to deps * down here * this too * don't force redownload/reinstall unless db not current * make things neater in json * small fix * Revert "small fix" This reverts commit dbc70ee6d40b51e4d7c4a4af4523d23737350905. * Revert "make things neater in json" This reverts commit 1b244c552c1bf877e8b6bf879ca73ebf72617025. * neater attempt 2 (no reboot for now) * neater attempt 2 (no reboot for now) * "selected" not working * make it stick * already QString * check when menu is up * check when menu is up * interactive buttons * add label to inform users about car off * update texts * set all params properly * clean up ui logic * test * revert * ui logic again * interactive button * after confirmation updates * only check when selected * stop signs? * bruh * missed * small cleanup * query for real from local db * Revert "query for real from local db" This reverts commit d7eb664da2949b073c7d7eb00e0098aa01c83ad3. * don't hold in same object * remote server as fallback if local server fails * use different waypoint * use function * declare missing vars * skip SSL/TLS verification * fallback to online query if local query fails * don't prompt to reboot if none is selected * update ui on press * Revert "skip SSL/TLS verification" This reverts commit 2eb5c0972a08227edbfc4f50c38d22d2ced62423. * simplier * handle ConnectionError * point to sunnypilot-osm S3 bucket * revert freq of road name * small cleanup * small cleanup * revert * cleanup * TEMP: test online/offline switchover * Revert "TEMP: test online/offline switchover" This reverts commit 4641b8e6f26f4015559a9aff2271f1850708ab09. * set user-agent * more databases! * new urls * TEST: remove check here * parse timestamp from file content instead of HEAD Last Modified * not correct * wrong var * don't need this * have list in cpp * don't read from json * provide expectation * add var to gate feature speed limits * remove unused
113 lines
2.5 KiB
JSON
113 lines
2.5 KiB
JSON
{
|
|
"_comment": "These speeds are from https://wiki.openstreetmap.org/wiki/Speed_limits Special cases have been stripped",
|
|
"AR:urban": "40",
|
|
"AR:urban:primary": "60",
|
|
"AR:urban:secondary": "60",
|
|
"AR:rural": "110",
|
|
"AT:urban": "50",
|
|
"AT:rural": "100",
|
|
"AT:trunk": "100",
|
|
"AT:motorway": "130",
|
|
"BE:urban": "50",
|
|
"BE-VLG:rural": "70",
|
|
"BE-WAL:rural": "90",
|
|
"BE:trunk": "120",
|
|
"BE:motorway": "120",
|
|
"CH:urban[1]": "50",
|
|
"CH:rural": "80",
|
|
"CH:trunk": "100",
|
|
"CH:motorway": "120",
|
|
"CZ:pedestrian_zone": "20",
|
|
"CZ:living_street": "20",
|
|
"CZ:urban": "50",
|
|
"CZ:urban_trunk": "80",
|
|
"CZ:urban_motorway": "80",
|
|
"CZ:rural": "90",
|
|
"CZ:trunk": "110",
|
|
"CZ:motorway": "130",
|
|
"DK:urban": "50",
|
|
"DK:rural": "80",
|
|
"DK:motorway": "130",
|
|
"DE:living_street": "10",
|
|
"DE:service": "10",
|
|
"DE:residential": "30",
|
|
"DE:urban": "50",
|
|
"DE:rural": "100",
|
|
"DE:trunk": "none",
|
|
"DE:motorway": "none",
|
|
"FI:urban": "50",
|
|
"FI:rural": "80",
|
|
"FI:trunk": "100",
|
|
"FI:motorway": "120",
|
|
"FR:urban": "50",
|
|
"FR:rural": "80",
|
|
"FR:trunk": "110",
|
|
"FR:motorway": "130",
|
|
"GR:urban": "50",
|
|
"GR:rural": "90",
|
|
"GR:trunk": "110",
|
|
"GR:motorway": "130",
|
|
"HU:urban": "50",
|
|
"HU:rural": "90",
|
|
"HU:trunk": "110",
|
|
"HU:motorway": "130",
|
|
"IT:urban": "50",
|
|
"IT:rural": "90",
|
|
"IT:trunk": "110",
|
|
"IT:motorway": "130",
|
|
"JP:national": "60",
|
|
"JP:motorway": "100",
|
|
"LT:living_street": "20",
|
|
"LT:urban": "50",
|
|
"LT:rural": "90",
|
|
"LT:trunk": "120",
|
|
"LT:motorway": "130",
|
|
"PL:living_street": "20",
|
|
"PL:urban": "50",
|
|
"PL:rural": "90",
|
|
"PL:trunk": "100",
|
|
"PL:motorway": "140",
|
|
"RO:urban": "50",
|
|
"RO:rural": "90",
|
|
"RO:trunk": "100",
|
|
"RO:motorway": "130",
|
|
"RU:living_street": "20",
|
|
"RU:urban": "60",
|
|
"RU:rural": "90",
|
|
"RU:motorway": "110",
|
|
"SK:urban": "50",
|
|
"SK:rural": "90",
|
|
"SK:trunk": "90",
|
|
"SK:motorway": "90",
|
|
"SI:urban": "50",
|
|
"SI:rural": "90",
|
|
"SI:trunk": "110",
|
|
"SI:motorway": "130",
|
|
"ES:living_street": "20",
|
|
"ES:urban": "50",
|
|
"ES:rural": "50",
|
|
"ES:trunk": "90",
|
|
"ES:motorway": "120",
|
|
"SE:urban": "50",
|
|
"SE:rural": "70",
|
|
"SE:trunk": "90",
|
|
"SE:motorway": "110",
|
|
"GB:nsl_restricted": "30 mph",
|
|
"GB:nsl_single": "60 mph",
|
|
"GB:nsl_dual": "70 mph",
|
|
"GB:motorway": "70 mph",
|
|
"UA:urban": "50",
|
|
"UA:rural": "90",
|
|
"UA:trunk": "110",
|
|
"UA:motorway": "130",
|
|
"UZ:living_street": "30",
|
|
"UZ:urban": "70",
|
|
"UZ:rural": "100",
|
|
"UZ:motorway": "110",
|
|
"ZA:trunk": "120",
|
|
"ZA:residential": "60",
|
|
"ZA:rural": "100",
|
|
"ZA:urban": "60",
|
|
"ZA:motorway": "120"
|
|
}
|