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/NewModifiedBuildings
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
== Highlight new and modified buildings This mapstyle highlights new and modified buildings. Never loose track of the buildings you mapped. Especially useful in areas with many objects. See this animated gif for a demo. [[Image(https://raw.githubusercontent.com/martien-176/new-modified-buildings/main/new-modified-buildings.gif,link=)]] {{{ #!style type="mapcss" meta { title: "new-modified-buildings"; version:"1.[[revision]]_[[date]]"; description: "Flags new and modified buildings. This mapstyle is partly inspired by another mapstyle named Modified Objects"; author: "martien-176"; link: "https://josm.openstreetmap.de/wiki/Styles/NewModifiedBuildings"; } setting::building_line_width { type: double; label: tr("Choose line width of modified / new building"); default: 2; } setting::building_node_width { type: double; label: tr("Choose modified node width"); default: 10; } way[building]:modified > node:modified, way[building] > node:modified { symbol-shape: circle; symbol-size: setting("building_node_width"); symbol-stroke-color: #00FF00; /* green */ symbol-stroke-width: 2; } way[building]:modified, way[building]:new { color: #ffffff; /* white */ dashes: 12,9; width: setting("building_line_width"); } way[building]:modified { dashes-background-color: #ff10e1; /* purple */ } way[building]:new { dashes-background-color: #0000ff; /* blue */ } }}}
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.