Skip to content

Commit

Permalink
feat(vector-styles): new plan IGN version (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
azarz authored Feb 20, 2025
1 parent 4830ac5 commit aefba65
Show file tree
Hide file tree
Showing 2 changed files with 171 additions and 350 deletions.
100 changes: 49 additions & 51 deletions www/data/mixte.json
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,6 @@
"type": "line",
"source": "plan_ign",
"source-layer": "routier_route_sou",
"maxzoom": 18,
"layout": {
"visibility": "visible",
"line-cap": "round",
Expand Down Expand Up @@ -1063,7 +1062,6 @@
"type": "line",
"source": "plan_ign",
"source-layer": "routier_route_sou",
"maxzoom": 18,
"layout": {
"visibility": "visible",
"line-cap": "round",
Expand Down Expand Up @@ -2193,40 +2191,40 @@
"RUE_PIETONNE"
],
"paint": {
"line-color": "#8C7274",
"line-color": "#B89799",
"line-opacity": {
"stops": [
[
7,
0.6
0.75
],
[
14,
0.4
0.7
]
]
},
"line-width": {
"stops": [
[
14,
1
2
],
[
15,
1.2
2.4
],
[
16,
1.4
2.8
],
[
17,
2
4
],
[
18,
5
8
]
]
},
Expand All @@ -2253,40 +2251,40 @@
"SENTIER"
],
"paint": {
"line-color": "#8C7274",
"line-color": "#B89799",
"line-opacity": {
"stops": [
[
7,
0.6
0.75
],
[
14,
0.4
0.7
]
]
},
"line-width": {
"stops": [
[
14,
1
3
],
[
15,
1.2
3.6
],
[
16,
1.4
4.2
],
[
17,
2
6
],
[
18,
6
12
]
]
},
Expand All @@ -2313,40 +2311,40 @@
"CHEMIN"
],
"paint": {
"line-color": "#8C7274",
"line-color": "#B89799",
"line-opacity": {
"stops": [
[
7,
0.6
0.75
],
[
14,
0.4
0.7
]
]
},
"line-width": {
"stops": [
[
14,
1
3
],
[
15,
1.2
3.6
],
[
16,
1.4
4.2
],
[
17,
2
6
],
[
18,
7
13
]
]
}
Expand All @@ -2357,7 +2355,6 @@
"type": "line",
"source": "plan_ign",
"source-layer": "routier_route",
"maxzoom": 18,
"layout": {
"visibility": "visible",
"line-cap": "round",
Expand Down Expand Up @@ -3210,10 +3207,6 @@
[
17,
13.5
],
[
18,
16.8
]
]
}
Expand Down Expand Up @@ -3265,10 +3258,6 @@
[
17,
13.5
],
[
18,
16.8
]
]
}
Expand Down Expand Up @@ -4165,7 +4154,7 @@
}
},
{
"id": "liaison routiere - Bac Liaison Maritime",
"id": "liaison routiere - Bac",
"type": "line",
"source": "plan_ign",
"source-layer": "routier_liaison",
Expand All @@ -4180,8 +4169,7 @@
"in",
"symbo",
"BAC_AUTO",
"BAC",
"LIAISON_MARITIME"
"BAC"
],
"paint": {
"line-color": "#5792C2",
Expand Down Expand Up @@ -4211,6 +4199,25 @@
}
}
},
{
"id": "liaison routiere - Liaison Maritime",
"type": "line",
"source": "plan_ign",
"source-layer": "routier_liaison",
"minzoom": 12,
"layout": {
"visibility": "visible",
"line-cap": "round",
"line-join": "round"
},
"filter": ["==","symbo","LIAISON_MARITIME"],
"paint": {
"line-color": "#5792C2",
"line-width": {
"stops": [[8, 1], [13, 2.5]]
}
}
},
{
"id": "liaison routiere - Gue route",
"type": "line",
Expand Down Expand Up @@ -4277,7 +4284,6 @@
"type": "line",
"source": "plan_ign",
"source-layer": "routier_liaison",
"maxzoom": 18,
"layout": {
"visibility": "visible",
"line-cap": "butt",
Expand Down Expand Up @@ -4398,7 +4404,6 @@
"type": "line",
"source": "plan_ign",
"source-layer": "routier_liaison",
"maxzoom": 18,
"layout": {
"visibility": "visible",
"line-cap": "butt",
Expand Down Expand Up @@ -4452,7 +4457,6 @@
"type": "fill",
"source": "plan_ign",
"source-layer": "routier_surf",
"maxzoom": 18,
"layout": {
"visibility": "visible"
},
Expand Down Expand Up @@ -4859,7 +4863,6 @@
"type": "line",
"source": "plan_ign",
"source-layer": "routier_route_sup",
"maxzoom": 18,
"layout": {
"visibility": "visible",
"line-cap": "butt",
Expand Down Expand Up @@ -5711,10 +5714,6 @@
[
17,
13.5
],
[
18,
16.8
]
]
}
Expand Down Expand Up @@ -6713,7 +6712,6 @@
"source": "plan_ign",
"source-layer": "limite_lin",
"minzoom": 13,
"maxzoom": 18,
"layout": {
"visibility": "visible",
"line-cap": "butt",
Expand Down Expand Up @@ -6787,7 +6785,6 @@
"source": "plan_ign",
"source-layer": "limite_lin",
"minzoom": 13,
"maxzoom": 18,
"layout": {
"visibility": "visible",
"line-cap": "butt",
Expand Down Expand Up @@ -6927,7 +6924,7 @@
"type": "symbol",
"source": "plan_ign",
"source-layer": "toponyme_routier_liaison_lin",
"minzoom": 8,
"minzoom": 12,
"maxzoom": 18,
"filter": [
"in",
Expand Down Expand Up @@ -6964,7 +6961,7 @@
[
"==",
"txt_typo",
"TYPO_E_1"
"TYPO_E_GE"
],
[
"==",
Expand Down Expand Up @@ -7477,7 +7474,7 @@
"type": "symbol",
"source": "plan_ign",
"source-layer": "toponyme_bati_ponc",
"minzoom": 14,
"minzoom": 15,
"filter": [
"==",
"txt_typo",
Expand Down Expand Up @@ -9154,6 +9151,7 @@
"type": "symbol",
"source": "plan_ign",
"source-layer": "toponyme_hydro_ponc",
"minzoom": 9,
"filter": [
"in",
"txt_typo",
Expand Down
Loading

0 comments on commit aefba65

Please sign in to comment.