Search:
Login
Preferences
Help/Guide
About Trac
Register
Forgot your password?
Wiki
Timeline
Changelog
Browse Source
View Tickets
New Ticket
Roadmap
Builds
Sonar
Search
Context Navigation
+0
Start Page
Index
History
Editing Styles/Schools
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
{{{ #!style type="mapcss" meta { title: "Schools"; description: "Highlight important information for importing schools and validation"; version: "1.[[revision]]_[[date]]"; author: "Polyglot"; link: "https://josm.openstreetmap.de/wiki/Styles/SchoolsImport"; min-josm-version: "5924"; } node|z12-[amenity=~/school|kindergarten|university/]::name, area|z12-[amenity=~/school|kindergarten|university/]::name {text-color: purple; font-size: 24; text: tag(name); text-halo-radius: 2; text-offset-y: 20;} node|z12-[amenity=~/school|kindergarten|university/]::wikidata, area|z12-[amenity=~/school|kindergarten|university/]::wikidata {text-color: blue; font-size: 18; text: tag(wikidata); text-halo-radius: 2; text-offset-y: 50;} node|z12-[amenity=~/school|kindergarten|university/]::wikipedia, area|z12-[amenity=~/school|kindergarten|university/]::wikipedia {text-color: blue; font-size: 18; text: tag(wikipedia); text-halo-radius: 2; text-offset-y: 70;} node|z12-[amenity=~/school|kindergarten|university/]::note_code, area|z12-[amenity=~/school|kindergarten|university/]::note_code {text-color: cyan; font-size: 20; text: concat(tag("note:code")); text-halo-radius: 2; text-offset-x: -5; text-offset-y: -40; z-index:1.0;} node|z14-[amenity=~/school|kindergarten|university/]::note_remarks, area|z14-[amenity=~/school|kindergarten|university/]::note_remarks {text-color: black; font-size: 19; text: tag("note:remarks"); text-halo-radius: -5; text-offset-y: -80; z-index:4.0;} node|z12-[amenity=~/school|kindergarten|university/]::fixme, area|z12-[amenity=~/school|kindergarten|university/]::fixme {text-color: pink; font-size: 30; text: tag("fixme"); text-halo-radius: 2; text-offset-x: -5; text-offset-y: -20; z-index:2.0;} node|z15-[amenity=~/school|kindergarten|university/]::district, area|z15-[amenity=~/school|kindergarten|university/]::district {text-color: red; font-size: 12; text: tag("addr:district"); text-halo-radius: 2; text-offset-x: -100; text-offset-y: 100; z-index:3.0;} node|z15-[amenity=~/school|kindergarten|university/]::county, area|z15-[amenity=~/school|kindergarten|university/]::county {text-color: red; font-size: 12; text: tag("addr:county"); text-halo-radius: 2; text-offset-x: -100; text-offset-y: 80; z-index:3.0;} node|z15-[amenity=~/school|kindergarten|university/]::subcounty, area|z15-[amenity=~/school|kindergarten|university/]::subcounty {text-color: red; font-size: 12; text: tag("addr:subcounty"); text-halo-radius: 2; text-offset-x: -100; text-offset-y: 60; z-index:3.0;} node|z15-[amenity=~/school|kindergarten|university/]::city, area|z15-[amenity=~/school|kindergarten|university/]::city {text-color: red; font-size: 12; text: concat(tag("addr:postcode")," ",tag("addr:city")); text-halo-radius: 2; text-offset-x: -100; text-offset-y: 40; z-index:3.0;} node|z15-[amenity=~/school|kindergarten|university/]::parishORstreet, area|z15-[amenity=~/school|kindergarten|university/]::parishORstreet {text-color: red; font-size: 12; text: concat(tag("addr:parish")," ",tag("addr:street")," ",tag("addr:housenumber")); text-halo-radius: 2; text-offset-x: -100; text-offset-y: 20; z-index:3.0;} node|z15-[amenity=~/school|kindergarten|university/]::isced_level, area|z15-[amenity=~/school|kindergarten|university/]::isced_level {text-color: cyan; font-size: 18; text: cond(has_tag_key("isced:level"), tag("isced:level"), "isced:level is missing"); text-halo-radius: 2; text-offset-x: -200; text-offset-y: -20; z-index:3.0;} }}}
Note:
See
WikiFormatting
and
TracWiki
for help on editing wiki content.
Change information
Your email or username:
E-mail address and name can be saved in the
Preferences
Comment about this change (optional):
Note:
See
TracWiki
for help on using the wiki.