8 | | #!style |
9 | | <?xml version="1.0" encoding="UTF-8"?> |
10 | | <rules xmlns="http://josm.openstreetmap.de/mappaint-style-1.0" |
11 | | author="Don-vip" shortdescription="EPCI (France)" fr.shortdescription="EPCI (France)" |
12 | | description="Display French local authorities (known as EPCI)" |
13 | | fr.description="Afficher les EPCI avec le même style que Banatic" |
14 | | version="1.[[revision]]_[[date]]"> |
15 | | <rule> |
16 | | <condition k="type" v="boundary"/> |
17 | | <condition k="boundary" v="local_authority"/> |
18 | | <condition k="local_authority:FR" v="CU"/> |
19 | | <area colour="CU#6B207E"/> |
20 | | <icon annotate="true" src="misc/deprecated.png"/> |
21 | | </rule> |
22 | | <rule> |
23 | | <condition k="type" v="boundary"/> |
24 | | <condition k="boundary" v="local_authority"/> |
25 | | <condition k="local_authority:FR" v="CA"/> |
26 | | <area colour="CA#9061A7"/> |
27 | | <icon annotate="true" src="misc/deprecated.png"/> |
28 | | </rule> |
29 | | <rule> |
30 | | <condition k="type" v="boundary"/> |
31 | | <condition k="boundary" v="local_authority"/> |
32 | | <condition k="local_authority:FR" v="CC"/> |
33 | | <area colour="CC#FDC26F"/> |
34 | | <icon annotate="true" src="misc/deprecated.png"/> |
35 | | </rule> |
36 | | <rule> |
37 | | <condition k="type" v="boundary"/> |
38 | | <condition k="boundary" v="local_authority"/> |
39 | | <condition k="local_authority:FR" v="SAN"/> |
40 | | <area colour="SAN#C4ABD3"/> |
41 | | <icon annotate="true" src="misc/deprecated.png"/> |
42 | | </rule> |
43 | | </rules> |
| 6 | #!style type="mapcss" |
| 7 | meta { |
| 8 | title: "EPCI (France)"; |
| 9 | version: "2.0"; |
| 10 | description: "Display French local authorities (known as EPCI)"; |
| 11 | author: "Don-vip"; |
| 12 | link: "https://josm.openstreetmap.de/wiki/Styles/FrenchEPCI"; |
| 13 | } |
| 14 | area[type=boundary][boundary=local_authority][local_authority:FR=CU] |
| 15 | { |
| 16 | fill-color: #6B207E; |
| 17 | } |
| 18 | area[type=boundary][boundary=local_authority][local_authority:FR=CA] |
| 19 | { |
| 20 | fill-color: #9061A7; |
| 21 | } |
| 22 | area[type=boundary][boundary=local_authority][local_authority:FR=CC] |
| 23 | { |
| 24 | fill-color: #FDC26F; |
| 25 | } |
| 26 | area[type=boundary][boundary=local_authority][local_authority:FR=SAN] |
| 27 | { |
| 28 | fill-color: #C4ABD3; |
| 29 | } |
| 30 | area[type=boundary][boundary=local_authority][local_authority:FR=metropole] |
| 31 | { |
| 32 | fill-color: #4A2061; |
| 33 | } |