Get elevation working for Lisbon. #809

This commit is contained in:
Dustin Carlino 2024-07-09 22:14:38 +02:00
parent fd9023e379
commit d30c36a22a
2 changed files with 12 additions and 5 deletions

View File

@ -1986,9 +1986,9 @@
"compressed_size_bytes": 2548441 "compressed_size_bytes": 2548441
}, },
"data/input/pt/lisbon/raw_maps/center.bin": { "data/input/pt/lisbon/raw_maps/center.bin": {
"checksum": "d48b8afc4c3bc81a11cae88cbb7acefb", "checksum": "16dbf977887b0635129d41ae86048194",
"uncompressed_size_bytes": 14618774, "uncompressed_size_bytes": 14618774,
"compressed_size_bytes": 3782436 "compressed_size_bytes": 3949465
}, },
"data/input/sg/jurong/osm/center.osm.pbf": { "data/input/sg/jurong/osm/center.osm.pbf": {
"checksum": "d992f51f0ff9c88b51376fd07ca20363", "checksum": "d992f51f0ff9c88b51376fd07ca20363",
@ -2005,6 +2005,11 @@
"uncompressed_size_bytes": 16138801, "uncompressed_size_bytes": 16138801,
"compressed_size_bytes": 4011139 "compressed_size_bytes": 4011139
}, },
"data/input/shared/elevation/LisboaIST_10m_4326.tif": {
"checksum": "f82923bcdb7b9c964d8f8c1ccf3a9caf",
"uncompressed_size_bytes": 9054938,
"compressed_size_bytes": 4369346
},
"data/input/shared/elevation/UK-dem-50m-4326.tif": { "data/input/shared/elevation/UK-dem-50m-4326.tif": {
"checksum": "7634f42dd3d1f68951f46ae60f543657", "checksum": "7634f42dd3d1f68951f46ae60f543657",
"uncompressed_size_bytes": 1769781898, "uncompressed_size_bytes": 1769781898,
@ -5136,9 +5141,9 @@
"compressed_size_bytes": 36963145 "compressed_size_bytes": 36963145
}, },
"data/system/pt/lisbon/maps/center.bin": { "data/system/pt/lisbon/maps/center.bin": {
"checksum": "aa3780a40d328690cfb69c9b97a2b67e", "checksum": "b3f46d4024e165cb928cfa20e403e554",
"uncompressed_size_bytes": 35119650, "uncompressed_size_bytes": 35132890,
"compressed_size_bytes": 12669423 "compressed_size_bytes": 12833643
}, },
"data/system/sg/jurong/maps/center.bin": { "data/system/sg/jurong/maps/center.bin": {
"checksum": "1f735356c591b716fc724eb6e36ebb69", "checksum": "1f735356c591b716fc724eb6e36ebb69",

View File

@ -82,6 +82,8 @@ pub fn config_for_map(name: &MapName) -> convert_osm::Options {
Some("data/input/shared/elevation/king_county_2016_lidar.tif".to_string()) Some("data/input/shared/elevation/king_county_2016_lidar.tif".to_string())
} else if name.city.country == "gb" { } else if name.city.country == "gb" {
Some("data/input/shared/elevation/UK-dem-50m-4326.tif".to_string()) Some("data/input/shared/elevation/UK-dem-50m-4326.tif".to_string())
} else if name.city.country == "pt" {
Some("data/input/shared/elevation/LisboaIST_10m_4326.tif".to_string())
} else { } else {
None None
}, },