Import part of Santiago

This commit is contained in:
Dustin Carlino 2022-11-21 11:28:59 +00:00
parent 6b8a54d031
commit ede907e239
5 changed files with 72 additions and 1 deletions

1
.gitignore vendored
View File

@ -14,6 +14,7 @@ data/system/br/sao_paulo
data/system/ca/montreal
data/system/ch/geneva
data/system/ch/zurich
data/system/cl/santiago
data/system/cz/frydek_mistek
data/system/de/berlin
data/system/de/bonn

View File

@ -160,6 +160,16 @@
"uncompressed_size_bytes": 14317062,
"compressed_size_bytes": 2455079
},
"data/input/cl/santiago/osm/chile-latest.osm.pbf": {
"checksum": "f919a3f08e0ed9c125e147a1cd200bee",
"uncompressed_size_bytes": 267563436,
"compressed_size_bytes": 267046599
},
"data/input/cl/santiago/raw_maps/bellavista.bin": {
"checksum": "82efb42fb7e120e12fe28d0e0bf61452",
"uncompressed_size_bytes": 18678584,
"compressed_size_bytes": 3054655
},
"data/input/cz/frydek_mistek/osm/czech-republic-latest.osm.pbf": {
"checksum": "3253ca53e2d50acddfaebe195eb3b870",
"uncompressed_size_bytes": 773986921,
@ -2195,6 +2205,11 @@
"uncompressed_size_bytes": 29429022,
"compressed_size_bytes": 10440511
},
"data/system/cl/santiago/maps/bellavista.bin": {
"checksum": "0a8102239efb0f9b1270ebae539aecf2",
"uncompressed_size_bytes": 53407245,
"compressed_size_bytes": 20625995
},
"data/system/cz/frydek_mistek/maps/huge.bin": {
"checksum": "e63bd6f367a3a36af7b43ec86d7a32bb",
"uncompressed_size_bytes": 29944805,

View File

@ -0,0 +1,14 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="-4 -4 24 16">
<path d="M20,12H-4V-4H20z" fill="#d52b1e"/>
<path d="M4,4H20V-4H-4z" fill="#fff"/>
<path d="M4,4H-4V-4H4z" fill="#0039a6"/>
<g id="f">
<g id="t">
<path d="M0,-2V0H1z" fill="#fff" transform="rotate(18,0,-2)" id="o"/>
<use xlink:href="#o" transform="scale(-1,1)"/>
</g>
<use xlink:href="#t" transform="rotate(72)"/>
</g>
<use xlink:href="#t" transform="rotate(-72)"/>
<use xlink:href="#f" transform="rotate(144)"/>
</svg>

After

Width:  |  Height:  |  Size: 526 B

View File

@ -0,0 +1,36 @@
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"coordinates": [
[
[
-70.70714471777148,
-33.440697401646055
],
[
-70.59785179190433,
-33.44358006159245
],
[
-70.5816034870058,
-33.4062468041792
],
[
-70.70434985682016,
-33.390396118901684
],
[
-70.70714471777148,
-33.440697401646055
]
]
],
"type": "Polygon"
}
}
]
}

View File

@ -125,6 +125,10 @@ pub fn nice_map_name(name: &MapName) -> &str {
("zurich", "west") => "Zürich (west)",
_ => &name.map,
},
"cl" => match (name.city.city.as_ref(), name.map.as_ref()) {
("santiago", "bellavista") => "Bellavista (Santiago)",
_ => &name.map,
},
"cz" => match (name.city.city.as_ref(), name.map.as_ref()) {
("frytek_mistek", "huge") => "Frýdek-Místek (entire area)",
_ => &name.map,
@ -320,13 +324,14 @@ pub fn nice_map_name(name: &MapName) -> &str {
pub fn nice_country_name(code: &str) -> &str {
// If you add something here, please also add the flag to data/system/assets/flags.
// https://github.com/hampusborgos/country-flags/tree/master/svg
// https://github.com/hampusborgos/country-flags/tree/main/svg
match code {
"au" => "Australia",
"at" => "Austria",
"br" => "Brazil",
"ca" => "Canada",
"ch" => "Switzerland",
"cl" => "Chile",
"cz" => "Czech Republic",
"de" => "Germany",
"fr" => "France",