immich/server/resources/style-dark.json
Zack Pollard 698226634e
feat: postgres reverse geocoding (#5301)
* feat: add system metadata repository for storing key values for internal usage

* feat: add database entities for geodata

* feat: move reverse geocoding from local-reverse-geocoder to postgresql

* infra: disable synchronization for geodata_places table until typeorm supports earth column

* feat: remove cities override config as we will default all instances to cities500 now

* test: e2e tests don't clear geodata tables on reset
2023-11-25 18:53:30 +00:00

1895 lines
47 KiB
JSON

{
"version": 8,
"name": "Immich Map",
"sources": {
"immich-map": {
"type": "vector",
"url": "https://api-l.cofractal.com/v0/maps/vt/overture"
}
},
"sprite": "https://maputnik.github.io/osm-liberty/sprites/osm-liberty",
"glyphs": "https://fonts.openmaptiles.org/{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"paint": { "background-color": "rgb(42,42,41)" }
},
{
"id": "park",
"type": "fill",
"source": "immich-map",
"source-layer": "park",
"paint": {
"fill-color": "rgba(8, 8, 7, 1)",
"fill-opacity": 0.7,
"fill-outline-color": "rgba(0, 0, 0, 1)",
"fill-antialias": false
}
},
{
"id": "park_outline",
"type": "line",
"source": "immich-map",
"source-layer": "park",
"paint": { "line-dasharray": [1, 1.5], "line-color": "rgba(55, 55, 55, 1)" }
},
{
"id": "landuse_residential",
"type": "fill",
"source": "immich-map",
"source-layer": "landuse",
"maxzoom": 8,
"filter": ["==", "class", "residential"],
"paint": {
"fill-color": {
"base": 1,
"stops": [
[9, "rgba(59, 56, 56, 0.84)"],
[12, "hsla(35, 57%, 88%, 0.49)"]
]
}
}
},
{
"id": "landcover_wood",
"type": "fill",
"source": "immich-map",
"source-layer": "landcover",
"filter": ["all", ["==", "class", "wood"]],
"paint": {
"fill-antialias": false,
"fill-color": "rgba(186, 209, 173, 0.3)",
"fill-opacity": 0.4
}
},
{
"id": "landcover_grass",
"type": "fill",
"source": "immich-map",
"source-layer": "landcover",
"filter": ["all", ["==", "class", "grass"]],
"paint": {
"fill-antialias": false,
"fill-color": "rgba(176, 213, 154, 0.2)",
"fill-opacity": 0.3
}
},
{
"id": "landcover_ice",
"type": "fill",
"source": "immich-map",
"source-layer": "landcover",
"filter": ["all", ["==", "class", "ice"]],
"paint": {
"fill-antialias": false,
"fill-color": "rgba(94, 100, 100, 1)",
"fill-opacity": 0.8
}
},
{
"id": "landuse_cemetery",
"type": "fill",
"source": "immich-map",
"source-layer": "landuse",
"filter": ["==", "class", "cemetery"],
"layout": { "visibility": "none" },
"paint": { "fill-color": "rgba(69, 69, 65, 1)" }
},
{
"id": "landuse_hospital",
"type": "fill",
"source": "immich-map",
"source-layer": "landuse",
"filter": ["==", "class", "hospital"],
"layout": { "visibility": "none" },
"paint": { "fill-color": "#fde" }
},
{
"id": "landuse_school",
"type": "fill",
"source": "immich-map",
"source-layer": "landuse",
"filter": ["==", "class", "school"],
"layout": { "visibility": "none" },
"paint": { "fill-color": "rgb(236,238,204)" }
},
{
"id": "waterway_tunnel",
"type": "line",
"source": "immich-map",
"source-layer": "waterway",
"filter": ["all", ["==", "brunnel", "tunnel"]],
"paint": {
"line-color": "#a0c8f0",
"line-dasharray": [3, 3],
"line-gap-width": {
"stops": [
[12, 0],
[20, 6]
]
},
"line-opacity": 1,
"line-width": {
"base": 1.4,
"stops": [
[8, 1],
[20, 2]
]
}
}
},
{
"id": "waterway_river",
"type": "line",
"source": "immich-map",
"source-layer": "waterway",
"filter": ["all", ["==", "class", "river"], ["!=", "brunnel", "tunnel"]],
"layout": { "line-cap": "round" },
"paint": {
"line-color": "rgba(78, 85, 88, 1)",
"line-width": {
"base": 1.2,
"stops": [
[11, 0.5],
[20, 6]
]
}
}
},
{
"id": "waterway_other",
"type": "line",
"source": "immich-map",
"source-layer": "waterway",
"filter": ["all", ["!=", "class", "river"], ["!=", "brunnel", "tunnel"]],
"layout": { "line-cap": "round" },
"paint": {
"line-color": "#a0c8f0",
"line-width": {
"base": 1.3,
"stops": [
[13, 0.5],
[20, 6]
]
}
}
},
{
"id": "water",
"type": "fill",
"source": "immich-map",
"source-layer": "water",
"filter": ["all", ["!=", "brunnel", "tunnel"]],
"paint": { "fill-color": "rgba(26, 26, 26, 1)" }
},
{
"id": "landcover_sand",
"type": "fill",
"source": "immich-map",
"source-layer": "landcover",
"filter": ["all", ["==", "class", "sand"]],
"paint": { "fill-color": "rgba(193, 192, 188, 1)" }
},
{
"id": "aeroway_fill",
"type": "fill",
"source": "immich-map",
"source-layer": "aeroway",
"minzoom": 11,
"filter": ["==", "$type", "Polygon"],
"paint": { "fill-color": "rgba(229, 228, 224, 1)", "fill-opacity": 0.7 }
},
{
"id": "aeroway_runway",
"type": "line",
"source": "immich-map",
"source-layer": "aeroway",
"minzoom": 11,
"filter": ["all", ["==", "$type", "LineString"], ["==", "class", "runway"]],
"paint": {
"line-color": "#f0ede9",
"line-width": {
"base": 1.2,
"stops": [
[11, 3],
[20, 16]
]
}
}
},
{
"id": "aeroway_taxiway",
"type": "line",
"source": "immich-map",
"source-layer": "aeroway",
"minzoom": 11,
"filter": ["all", ["==", "$type", "LineString"], ["==", "class", "taxiway"]],
"paint": {
"line-color": "#f0ede9",
"line-width": {
"base": 1.2,
"stops": [
[11, 0.5],
[20, 6]
]
}
}
},
{
"id": "tunnel_motorway_link_casing",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "class", "motorway"], ["==", "ramp", 1], ["==", "brunnel", "tunnel"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "rgba(52, 51, 49, 1)",
"line-dasharray": [0.5, 0.25],
"line-width": {
"base": 1.2,
"stops": [
[12, 1],
[13, 3],
[14, 4],
[20, 15]
]
}
}
},
{
"id": "tunnel_service_track_casing",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "service", "track"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "#cfcdca",
"line-dasharray": [0.5, 0.25],
"line-width": {
"base": 1.2,
"stops": [
[15, 1],
[16, 4],
[20, 11]
]
}
}
},
{
"id": "tunnel_link_casing",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "ramp", 1], ["==", "brunnel", "tunnel"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "rgba(40, 38, 36, 1)",
"line-width": {
"base": 1.2,
"stops": [
[12, 1],
[13, 3],
[14, 4],
[20, 15]
]
}
}
},
{
"id": "tunnel_street_casing",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "street", "street_limited"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "#cfcdca",
"line-opacity": {
"stops": [
[12, 0],
[12.5, 1]
]
},
"line-width": {
"base": 1.2,
"stops": [
[12, 0.5],
[13, 1],
[14, 4],
[20, 15]
]
}
}
},
{
"id": "tunnel_secondary_tertiary_casing",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "secondary", "tertiary"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "#e9ac77",
"line-width": {
"base": 1.2,
"stops": [
[8, 1.5],
[20, 17]
]
}
}
},
{
"id": "tunnel_trunk_primary_casing",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "primary", "trunk"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "rgba(100, 86, 69, 1)",
"line-width": {
"base": 1.2,
"stops": [
[5, 0.4],
[6, 0.7],
[7, 1.75],
[20, 22]
]
}
}
},
{
"id": "tunnel_motorway_casing",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "class", "motorway"], ["!=", "ramp", 1], ["==", "brunnel", "tunnel"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "rgba(28, 26, 26, 1)",
"line-dasharray": [0.5, 0.25],
"line-width": {
"base": 1.2,
"stops": [
[5, 0.4],
[6, 0.7],
[7, 1.75],
[20, 22]
]
}
}
},
{
"id": "tunnel_path_pedestrian",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": [
"all",
["==", "$type", "LineString"],
["==", "brunnel", "tunnel"],
["in", "class", "path", "pedestrian"]
],
"paint": {
"line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [1, 0.75],
"line-width": {
"base": 1.2,
"stops": [
[14, 0.5],
[20, 10]
]
}
}
},
{
"id": "tunnel_motorway_link",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "class", "motorway"], ["==", "ramp", 1], ["==", "brunnel", "tunnel"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "#fc8",
"line-width": {
"base": 1.2,
"stops": [
[12.5, 0],
[13, 1.5],
[14, 2.5],
[20, 11.5]
]
}
}
},
{
"id": "tunnel_service_track",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "service", "track"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "#fff",
"line-width": {
"base": 1.2,
"stops": [
[15.5, 0],
[16, 2],
[20, 7.5]
]
}
}
},
{
"id": "tunnel_link",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "ramp", 1], ["==", "brunnel", "tunnel"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "rgba(149, 139, 93, 1)",
"line-width": {
"base": 1.2,
"stops": [
[12.5, 0],
[13, 1.5],
[14, 2.5],
[20, 11.5]
]
}
}
},
{
"id": "tunnel_minor",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "minor"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "#fff",
"line-width": {
"base": 1.2,
"stops": [
[13.5, 0],
[14, 2.5],
[20, 11.5]
]
}
}
},
{
"id": "tunnel_secondary_tertiary",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "secondary", "tertiary"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "#fff4c6",
"line-width": {
"base": 1.2,
"stops": [
[6.5, 0],
[7, 0.5],
[20, 10]
]
}
}
},
{
"id": "tunnel_trunk_primary",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "primary", "trunk"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "rgba(116, 114, 97, 1)",
"line-width": {
"base": 1.2,
"stops": [
[5, 0],
[7, 1],
[20, 18]
]
}
}
},
{
"id": "tunnel_motorway",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "class", "motorway"], ["!=", "ramp", 1], ["==", "brunnel", "tunnel"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "rgba(129, 124, 110, 1)",
"line-width": {
"base": 1.2,
"stops": [
[5, 0],
[7, 1],
[20, 18]
]
}
}
},
{
"id": "tunnel_major_rail",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "rail"]],
"paint": {
"line-color": "#bbb",
"line-width": {
"base": 1.4,
"stops": [
[14, 0.4],
[15, 0.75],
[20, 2]
]
}
}
},
{
"id": "tunnel_major_rail_hatching",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "tunnel"], ["==", "class", "rail"]],
"paint": {
"line-color": "#bbb",
"line-dasharray": [0.2, 8],
"line-width": {
"base": 1.4,
"stops": [
[14.5, 0],
[15, 3],
[20, 8]
]
}
}
},
{
"id": "tunnel_transit_rail",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "transit"]],
"paint": {
"line-color": "#bbb",
"line-width": {
"base": 1.4,
"stops": [
[14, 0.4],
[15, 0.75],
[20, 2]
]
}
}
},
{
"id": "tunnel_transit_rail_hatching",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "tunnel"], ["==", "class", "transit"]],
"paint": {
"line-color": "#bbb",
"line-dasharray": [0.2, 8],
"line-width": {
"base": 1.4,
"stops": [
[14.5, 0],
[15, 3],
[20, 8]
]
}
}
},
{
"id": "road_motorway_link_casing",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"minzoom": 12,
"filter": ["all", ["!in", "brunnel", "bridge", "tunnel"], ["==", "class", "motorway"], ["==", "ramp", 1]],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "rgba(65, 63, 62, 1)",
"line-width": {
"base": 1.2,
"stops": [
[12, 1],
[13, 3],
[14, 4],
[20, 15]
]
}
}
},
{
"id": "road_minor_casing",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": [
"all",
["==", "$type", "LineString"],
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "minor"],
["!=", "ramp", 1]
],
"layout": { "line-cap": "round", "line-join": "round" },
"paint": {
"line-color": "rgba(17, 17, 17, 1)",
"line-opacity": {
"stops": [
[12, 0],
[12.5, 1]
]
},
"line-width": {
"base": 1.2,
"stops": [
[12, 0.5],
[13, 1],
[14, 4],
[20, 20]
]
}
}
},
{
"id": "road_secondary_tertiary_casing",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "secondary", "tertiary"],
["!=", "ramp", 1]
],
"layout": { "line-cap": "round", "line-join": "round" },
"paint": {
"line-color": "rgba(102, 102, 102, 1)",
"line-width": {
"base": 1.2,
"stops": [
[8, 1.5],
[20, 17]
]
}
}
},
{
"id": "road_trunk_primary_casing",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["!in", "brunnel", "bridge", "tunnel"], ["in", "class", "primary", "trunk"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "rgba(61, 61, 61, 0.6)",
"line-width": {
"base": 1.2,
"stops": [
[5, 0.4],
[6, 0.7],
[7, 1.75],
[20, 22]
]
}
}
},
{
"id": "road_motorway_casing",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"minzoom": 5,
"filter": ["all", ["!in", "brunnel", "bridge", "tunnel"], ["==", "class", "motorway"], ["!=", "ramp", 1]],
"layout": { "line-cap": "round", "line-join": "round" },
"paint": {
"line-color": "rgba(61, 61, 61, 0.6)",
"line-width": {
"base": 1.2,
"stops": [
[5, 0.4],
[6, 0.7],
[7, 1.75],
[20, 22]
]
}
}
},
{
"id": "road_motorway_link",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"minzoom": 12,
"filter": ["all", ["!in", "brunnel", "bridge", "tunnel"], ["==", "class", "motorway"], ["==", "ramp", 1]],
"layout": { "line-cap": "round", "line-join": "round" },
"paint": {
"line-color": "rgba(184, 184, 179, 1)",
"line-width": {
"base": 1.2,
"stops": [
[12.5, 0],
[13, 1.5],
[14, 2.5],
[20, 11.5]
]
}
}
},
{
"id": "road_service_track",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["!in", "brunnel", "bridge", "tunnel"], ["in", "class", "service", "track"]],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "rgba(84, 81, 81, 1)",
"line-width": {
"base": 1.2,
"stops": [
[15.5, 0],
[16, 2],
[20, 7.5]
]
}
}
},
{
"id": "road_link",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"minzoom": 13,
"filter": [
"all",
["!in", "brunnel", "bridge", "tunnel"],
["==", "ramp", 1],
["!in", "class", "pedestrian", "path", "track", "service", "motorway"]
],
"layout": { "line-cap": "round", "line-join": "round" },
"paint": {
"line-color": "#fea",
"line-width": {
"base": 1.2,
"stops": [
[12.5, 0],
[13, 1.5],
[14, 2.5],
[20, 11.5]
]
}
}
},
{
"id": "road_minor",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": [
"all",
["==", "$type", "LineString"],
["!in", "brunnel", "bridge", "tunnel"],
["in", "class", "minor"]
],
"layout": { "line-cap": "round", "line-join": "round" },
"paint": {
"line-color": "rgba(40, 40, 40, 1)",
"line-width": {
"base": 1.2,
"stops": [
[13.5, 0],
[14, 2.5],
[20, 18]
]
}
}
},
{
"id": "road_secondary_tertiary",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["!in", "brunnel", "bridge", "tunnel"], ["in", "class", "secondary", "tertiary"]],
"layout": { "line-cap": "round", "line-join": "round" },
"paint": {
"line-color": "rgba(36, 33, 33, 1)",
"line-width": {
"base": 1.2,
"stops": [
[6.5, 0],
[8, 0.5],
[20, 13]
]
}
}
},
{
"id": "road_trunk_primary",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["!in", "brunnel", "bridge", "tunnel"], ["in", "class", "primary", "trunk"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "rgba(61, 61, 61, 0.6)",
"line-width": {
"base": 1.2,
"stops": [
[5, 0],
[7, 1],
[20, 18]
]
}
}
},
{
"id": "road_motorway",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"minzoom": 5,
"filter": ["all", ["!in", "brunnel", "bridge", "tunnel"], ["==", "class", "motorway"], ["!=", "ramp", 1]],
"layout": { "line-cap": "round", "line-join": "round" },
"paint": {
"line-color": "rgba(61, 61, 61, 0.6)",
"line-width": {
"base": 1.2,
"stops": [
[5, 0],
[7, 1],
[20, 18]
]
}
}
},
{
"id": "road_major_rail",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["!in", "brunnel", "bridge", "tunnel"], ["==", "class", "rail"]],
"paint": {
"line-color": "#bbb",
"line-width": {
"base": 1.4,
"stops": [
[14, 0.4],
[15, 0.75],
[20, 2]
]
}
}
},
{
"id": "road_major_rail_hatching",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["!in", "brunnel", "bridge", "tunnel"], ["==", "class", "rail"]],
"paint": {
"line-color": "#bbb",
"line-dasharray": [0.2, 8],
"line-width": {
"base": 1.4,
"stops": [
[14.5, 0],
[15, 3],
[20, 8]
]
}
}
},
{
"id": "road_transit_rail",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["!in", "brunnel", "bridge", "tunnel"], ["==", "class", "transit"]],
"paint": {
"line-color": "#bbb",
"line-width": {
"base": 1.4,
"stops": [
[14, 0.4],
[15, 0.75],
[20, 2]
]
}
}
},
{
"id": "road_transit_rail_hatching",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["!in", "brunnel", "bridge", "tunnel"], ["==", "class", "transit"]],
"paint": {
"line-color": "#bbb",
"line-dasharray": [0.2, 8],
"line-width": {
"base": 1.4,
"stops": [
[14.5, 0],
[15, 3],
[20, 8]
]
}
}
},
{
"id": "bridge_motorway_link_casing",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "class", "motorway"], ["==", "ramp", 1], ["==", "brunnel", "bridge"]],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "rgba(75, 68, 63, 1)",
"line-width": {
"base": 1.2,
"stops": [
[12, 1],
[13, 3],
[14, 4],
[20, 15]
]
}
}
},
{
"id": "bridge_service_track_casing",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "service", "track"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "#cfcdca",
"line-width": {
"base": 1.2,
"stops": [
[15, 1],
[16, 4],
[20, 11]
]
}
}
},
{
"id": "bridge_link_casing",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "class", "link"], ["==", "brunnel", "bridge"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "#e9ac77",
"line-width": {
"base": 1.2,
"stops": [
[12, 1],
[13, 3],
[14, 4],
[20, 15]
]
}
}
},
{
"id": "bridge_street_casing",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "street", "street_limited"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "hsl(36, 6%, 74%)",
"line-opacity": {
"stops": [
[12, 0],
[12.5, 1]
]
},
"line-width": {
"base": 1.2,
"stops": [
[12, 0.5],
[13, 1],
[14, 4],
[20, 25]
]
}
}
},
{
"id": "bridge_path_pedestrian_casing",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": [
"all",
["==", "$type", "LineString"],
["==", "brunnel", "bridge"],
["in", "class", "path", "pedestrian"]
],
"paint": {
"line-color": "hsl(35, 6%, 80%)",
"line-dasharray": [1, 0],
"line-width": {
"base": 1.2,
"stops": [
[14, 1.5],
[20, 18]
]
}
}
},
{
"id": "bridge_secondary_tertiary_casing",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "secondary", "tertiary"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "rgba(61, 57, 52, 1)",
"line-width": {
"base": 1.2,
"stops": [
[8, 1.5],
[20, 17]
]
}
}
},
{
"id": "bridge_trunk_primary_casing",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "primary", "trunk"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "rgba(102, 102, 102, 1)",
"line-width": {
"base": 1.2,
"stops": [
[5, 0.4],
[6, 0.7],
[7, 1.75],
[20, 22]
]
}
}
},
{
"id": "bridge_motorway_casing",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "class", "motorway"], ["!=", "ramp", 1], ["==", "brunnel", "bridge"]],
"layout": { "line-join": "round", "visibility": "none" },
"paint": {
"line-color": "#e9ac77",
"line-width": {
"base": 1.2,
"stops": [
[5, 0.4],
[6, 0.7],
[7, 1.75],
[20, 22]
]
}
}
},
{
"id": "bridge_path_pedestrian",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": [
"all",
["==", "$type", "LineString"],
["==", "brunnel", "bridge"],
["in", "class", "path", "pedestrian"]
],
"paint": {
"line-color": "hsl(0, 0%, 100%)",
"line-dasharray": [1, 0.3],
"line-width": {
"base": 1.2,
"stops": [
[14, 0.5],
[20, 10]
]
}
}
},
{
"id": "bridge_motorway_link",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "class", "motorway"], ["==", "ramp", 1], ["==", "brunnel", "bridge"]],
"layout": { "line-join": "round", "visibility": "none" },
"paint": {
"line-color": "#fc8",
"line-width": {
"base": 1.2,
"stops": [
[12.5, 0],
[13, 1.5],
[14, 2.5],
[20, 11.5]
]
}
}
},
{
"id": "bridge_service_track",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "service", "track"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "#fff",
"line-width": {
"base": 1.2,
"stops": [
[15.5, 0],
[16, 2],
[20, 7.5]
]
}
}
},
{
"id": "bridge_link",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "class", "link"], ["==", "brunnel", "bridge"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "#fea",
"line-width": {
"base": 1.2,
"stops": [
[12.5, 0],
[13, 1.5],
[14, 2.5],
[20, 11.5]
]
}
}
},
{
"id": "bridge_street",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "minor"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "#fff",
"line-width": {
"base": 1.2,
"stops": [
[13.5, 0],
[14, 2.5],
[20, 18]
]
}
}
},
{
"id": "bridge_secondary_tertiary",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "secondary", "tertiary"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "rgba(73, 71, 68, 1)",
"line-width": {
"base": 1.2,
"stops": [
[6.5, 0],
[7, 0.5],
[20, 10]
]
}
}
},
{
"id": "bridge_trunk_primary",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "primary", "trunk"]],
"layout": { "line-join": "round" },
"paint": {
"line-color": "rgba(147, 147, 143, 1)",
"line-width": {
"base": 1.2,
"stops": [
[5, 0],
[7, 1],
[20, 18]
]
}
}
},
{
"id": "bridge_motorway",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "class", "motorway"], ["!=", "ramp", 1], ["==", "brunnel", "bridge"]],
"layout": { "line-join": "round", "visibility": "none" },
"paint": {
"line-color": "#fc8",
"line-width": {
"base": 1.2,
"stops": [
[5, 0],
[7, 1],
[20, 18]
]
}
}
},
{
"id": "bridge_major_rail",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "class", "rail"], ["==", "brunnel", "bridge"]],
"paint": {
"line-color": "#bbb",
"line-width": {
"base": 1.4,
"stops": [
[14, 0.4],
[15, 0.75],
[20, 2]
]
}
}
},
{
"id": "bridge_major_rail_hatching",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "class", "rail"], ["==", "brunnel", "bridge"]],
"paint": {
"line-color": "#bbb",
"line-dasharray": [0.2, 8],
"line-width": {
"base": 1.4,
"stops": [
[14.5, 0],
[15, 3],
[20, 8]
]
}
}
},
{
"id": "bridge_transit_rail",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "class", "transit"], ["==", "brunnel", "bridge"]],
"paint": {
"line-color": "#bbb",
"line-width": {
"base": 1.4,
"stops": [
[14, 0.4],
[15, 0.75],
[20, 2]
]
}
}
},
{
"id": "bridge_transit_rail_hatching",
"type": "line",
"source": "immich-map",
"source-layer": "transportation",
"filter": ["all", ["==", "class", "transit"], ["==", "brunnel", "bridge"]],
"paint": {
"line-color": "#bbb",
"line-dasharray": [0.2, 8],
"line-width": {
"base": 1.4,
"stops": [
[14.5, 0],
[15, 3],
[20, 8]
]
}
}
},
{
"id": "building",
"type": "fill",
"source": "immich-map",
"source-layer": "building",
"minzoom": 13,
"maxzoom": 14,
"paint": {
"fill-color": "rgba(20, 20, 20, 1)",
"fill-outline-color": {
"base": 1,
"stops": [
[13, "rgba(10, 10, 9, 0.32)"],
[14, "rgba(22, 22, 22, 1)"]
]
}
}
},
{
"id": "building-3d",
"type": "fill-extrusion",
"source": "immich-map",
"source-layer": "building",
"minzoom": 14,
"paint": {
"fill-extrusion-color": "rgba(57, 57, 57, 1)",
"fill-extrusion-height": {
"property": "render_height",
"type": "identity"
},
"fill-extrusion-base": {
"property": "render_min_height",
"type": "identity"
},
"fill-extrusion-opacity": 0.8
}
},
{
"id": "boundary_state",
"type": "line",
"source": "immich-map",
"source-layer": "boundary"
},
{
"id": "boundary_3",
"type": "line",
"source": "immich-map",
"source-layer": "boundary",
"minzoom": 8,
"filter": ["all", ["in", "admin_level", 3, 4]],
"layout": { "line-join": "round", "visibility": "visible" },
"paint": {
"line-color": "#9e9cab",
"line-dasharray": [5, 1],
"line-width": {
"base": 1,
"stops": [
[4, 0.4],
[5, 1],
[12, 1.8]
]
}
}
},
{
"id": "boundary_country",
"type": "line",
"source": "immich-map",
"source-layer": "boundary",
"maxzoom": 5,
"filter": ["all", ["==", "admin_level", 2], ["!has", "claimed_by"]],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "visible"
},
"paint": {
"line-color": "hsl(248, 1%, 41%)",
"line-opacity": {
"base": 1,
"stops": [
[0, 0.4],
[4, 1]
]
},
"line-width": {
"base": 1,
"stops": [
[3, 1],
[5, 1.2],
[12, 3]
]
}
}
},
{
"id": "boundary_2_z5-",
"type": "line",
"source": "immich-map",
"source-layer": "boundary",
"minzoom": 5,
"filter": ["all", ["==", "admin_level", 2]],
"layout": {
"line-cap": "round",
"line-join": "round",
"visibility": "none"
},
"paint": {
"line-color": "hsl(248, 1%, 41%)",
"line-opacity": {
"base": 1,
"stops": [
[0, 0.4],
[4, 1]
]
},
"line-width": {
"base": 1,
"stops": [
[3, 1],
[5, 1.2],
[12, 3]
]
}
}
},
{
"id": "water_name_line",
"type": "symbol",
"source": "immich-map",
"source-layer": "waterway",
"filter": ["all", ["==", "$type", "LineString"]],
"layout": {
"text-field": "{name}",
"text-font": ["Open Sans Bold"],
"text-max-width": 5,
"text-size": 12,
"symbol-placement": "line"
},
"paint": {
"text-color": "rgba(70, 178, 228, 1)",
"text-halo-color": "rgba(255,255,255,0.7)",
"text-halo-width": 0
}
},
{
"id": "water_name_point",
"type": "symbol",
"source": "immich-map",
"source-layer": "water_name",
"filter": ["==", "$type", "Point"],
"layout": {
"text-field": "{name}",
"text-font": ["Open Sans Regular"],
"text-max-width": 5,
"text-size": 12
},
"paint": {
"text-color": "rgba(193, 193, 193, 1)",
"text-halo-color": "rgba(92, 105, 106, 0.7)",
"text-halo-width": 1
}
},
{
"id": "poi_z16",
"type": "symbol",
"source": "immich-map",
"source-layer": "poi",
"minzoom": 16,
"filter": ["all", ["==", "$type", "Point"], [">=", "rank", 20]],
"layout": {
"icon-image": "{class}_11",
"text-anchor": "top",
"text-field": "{name}",
"text-font": ["Open Sans Italic"],
"text-max-width": 9,
"text-offset": [0, 0.6],
"text-size": 12,
"visibility": "none"
},
"paint": {
"text-color": "#666",
"text-halo-blur": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "poi_z15",
"type": "symbol",
"source": "immich-map",
"source-layer": "poi",
"minzoom": 15,
"filter": ["all", ["==", "$type", "Point"], [">=", "rank", 7], ["<", "rank", 20]],
"layout": {
"icon-image": "{class}_11",
"text-anchor": "top",
"text-field": "{name}",
"text-font": ["Open Sans Italic"],
"text-max-width": 9,
"text-offset": [0, 0.6],
"text-size": 12
},
"paint": {
"text-color": "rgba(252, 135, 145, 1)",
"text-halo-blur": 0.5,
"text-halo-color": "rgba(54, 49, 49, 1)",
"text-halo-width": 1
}
},
{
"id": "poi_z14",
"type": "symbol",
"source": "immich-map",
"source-layer": "poi",
"minzoom": 14,
"filter": ["all", ["==", "$type", "Point"], [">=", "rank", 1], ["<", "rank", 7]],
"layout": {
"icon-image": "{class}_11",
"text-anchor": "top",
"text-field": "{name}",
"text-font": ["Open Sans Bold Italic"],
"text-max-width": 9,
"text-offset": [0, 0.6],
"text-size": 12
},
"paint": {
"text-color": "rgba(153, 242, 197, 1)",
"text-halo-blur": 0.5,
"text-halo-color": "rgba(0, 0, 0, 1)",
"text-halo-width": 0
}
},
{
"id": "poi_transit",
"type": "symbol",
"source": "immich-map",
"source-layer": "poi",
"filter": ["all", ["in", "class", "bus", "rail", "airport"]],
"layout": {
"icon-image": "{class}_11",
"text-anchor": "left",
"text-field": "{name_en}",
"text-font": ["Open Sans Italic"],
"text-max-width": 9,
"text-offset": [0.9, 0],
"text-size": 12,
"visibility": "none"
},
"paint": {
"text-color": "#4898ff",
"text-halo-blur": 0.5,
"text-halo-color": "#ffffff",
"text-halo-width": 1
}
},
{
"id": "road_label",
"type": "symbol",
"source": "immich-map",
"source-layer": "transportation_name",
"filter": ["all"],
"layout": {
"symbol-placement": "line",
"text-anchor": "center",
"text-field": "{name}",
"text-font": ["Open Sans Bold"],
"text-offset": [0, 0.15],
"text-size": {
"base": 1,
"stops": [
[13, 12],
[14, 13]
]
}
},
"paint": {
"text-color": "rgba(210, 210, 210, 1)",
"text-halo-blur": 0.5,
"text-halo-width": 1
}
},
{
"id": "road_shield",
"type": "symbol",
"source": "immich-map",
"source-layer": "transportation_name",
"minzoom": 7,
"filter": ["all", ["<=", "ref_length", 6]],
"layout": {
"icon-image": "default_{ref_length}",
"icon-rotation-alignment": "viewport",
"symbol-placement": {
"base": 1,
"stops": [
[10, "point"],
[11, "line"]
]
},
"symbol-spacing": 500,
"text-field": "{ref}",
"text-font": ["Open Sans Regular"],
"text-offset": [0, 0.1],
"text-rotation-alignment": "viewport",
"text-size": 10,
"icon-size": 0.8,
"visibility": "none"
}
},
{
"id": "place_other",
"type": "symbol",
"source": "immich-map",
"source-layer": "place",
"filter": ["all", ["in", "class", "hamlet", "island", "islet", "neighbourhood", "suburb", "quarter"]],
"layout": {
"text-field": "{name_en}",
"text-font": ["Open Sans Italic"],
"text-letter-spacing": 0.1,
"text-max-width": 9,
"text-size": {
"base": 1.2,
"stops": [
[12, 10],
[15, 14]
]
},
"text-transform": "uppercase"
},
"paint": {
"text-color": "rgba(255, 255, 255, 1)",
"text-halo-color": "rgba(0, 0, 0, 0.8)",
"text-halo-width": 1.2
}
},
{
"id": "place_village",
"type": "symbol",
"source": "immich-map",
"source-layer": "place",
"filter": ["all", ["==", "class", "village"]],
"layout": {
"text-field": "{name_en}",
"text-font": ["Open Sans Regular"],
"text-max-width": 8,
"text-size": {
"base": 1.2,
"stops": [
[10, 12],
[15, 22]
]
}
},
"paint": {
"text-color": "rgba(189, 189, 189, 1)",
"text-halo-color": "rgba(0, 0, 0, 0.8)",
"text-halo-width": 1
}
},
{
"id": "place_town",
"type": "symbol",
"source": "immich-map",
"source-layer": "place",
"filter": ["all", ["==", "class", "town"]],
"layout": {
"icon-image": {
"base": 1,
"stops": [
[0, "dot_9"],
[8, ""]
]
},
"text-anchor": "bottom",
"text-field": "{name_en}",
"text-font": ["Klokantech Noto Sans Regular"],
"text-max-width": 8,
"text-offset": [0, 0],
"text-size": {
"base": 1.2,
"stops": [
[7, 12],
[11, 16]
]
}
},
"paint": {
"text-color": "rgba(247, 247, 247, 0.5)",
"text-halo-color": "rgba(255,255,255,0.8)",
"text-halo-width": 0
}
},
{
"id": "place_city",
"type": "symbol",
"source": "immich-map",
"source-layer": "place",
"minzoom": 5,
"filter": ["all", ["==", "class", "city"]],
"layout": {
"icon-image": {
"base": 1,
"stops": [
[0, "dot_9"],
[8, ""]
]
},
"text-anchor": "bottom",
"text-field": "{name_en}",
"text-font": ["Open Sans Semibold"],
"text-max-width": 8,
"text-offset": [0, 0],
"text-size": {
"base": 0.5,
"stops": [
[7, 14],
[11, 24]
]
},
"icon-allow-overlap": true,
"icon-optional": false
},
"paint": {
"text-color": "rgba(230, 230, 230, 1)",
"text-halo-color": "rgba(0, 0, 0, 0.8)",
"text-halo-width": 0.5
}
},
{
"id": "state",
"type": "symbol",
"source": "immich-map",
"source-layer": "place",
"minzoom": 4,
"maxzoom": 6,
"filter": ["all", ["==", "class", "state"]],
"layout": {
"text-field": "{name_en}",
"text-font": ["Klokantech Noto Sans Regular"],
"text-size": {
"stops": [
[4, 9],
[6, 15]
]
},
"text-transform": "uppercase"
},
"paint": {
"text-color": "rgba(226, 219, 219, 1)",
"text-halo-color": "rgba(0, 0, 0, 0.7)",
"text-halo-width": 1,
"text-halo-blur": 0,
"text-translate": [1, 1]
}
},
{
"id": "country_3",
"type": "symbol",
"source": "immich-map",
"source-layer": "place",
"filter": ["all", [">=", "rank", 3], ["==", "class", "country"]],
"layout": {
"text-field": "{name_en}",
"text-font": ["Klokantech Noto Sans Bold"],
"text-max-width": 6.25,
"text-size": {
"stops": [
[1, 11],
[4, 17]
]
},
"text-transform": "none"
},
"paint": {
"text-color": "rgba(226, 221, 221, 1)",
"text-halo-blur": 1,
"text-halo-color": "rgba(0, 0, 0, 0.8)",
"text-halo-width": 1
}
},
{
"id": "country_2",
"type": "symbol",
"source": "immich-map",
"source-layer": "place",
"filter": ["all", ["==", "rank", 2], ["==", "class", "country"]],
"layout": {
"text-field": "{name_en}",
"text-font": ["Klokantech Noto Sans Bold"],
"text-max-width": 6.25,
"text-size": {
"stops": [
[1, 11],
[4, 17]
]
},
"text-transform": "none"
},
"paint": {
"text-color": "rgba(226, 221, 221, 1)",
"text-halo-blur": 1,
"text-halo-color": "rgba(0, 0, 0, 0.8)",
"text-halo-width": 1
}
},
{
"id": "country_1",
"type": "symbol",
"source": "immich-map",
"source-layer": "place",
"filter": ["all", ["==", "rank", 1], ["==", "class", "country"]],
"layout": {
"text-field": "{name_en}",
"text-font": ["Klokantech Noto Sans Bold"],
"text-max-width": 6.25,
"text-size": {
"stops": [
[1, 11],
[4, 17]
]
},
"text-transform": "none"
},
"paint": {
"text-color": "rgba(226, 221, 221, 1)",
"text-halo-blur": 1,
"text-halo-color": "rgba(0, 0, 0, 0.8)",
"text-halo-width": 1
}
}
],
"id": "immich-map-dark"
}