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 Rules/OSMLint
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
{{{ #!rule meta { title: "OSM Lint Validations"; version: "[[revision]]_[[date]]"; description: "Checks for errors based on OSM Lint"; author: "Dave Manzer"; link: "https://github.com/osmlab/osmlint/tree/master/validators"; } /* osmlint missinglayerbridges */ way[bridge][!layer] { throwWarning: tr("{0} without {1}", "{0.key}", "{1.key}"); group: "OSM Lint"; } /* missing tunnel layer: not officially an osmlint check but is similar to missinglayerbridges. */ way[tunnel][!layer][tunnel!=building_passage] { throwWarning: tr("{0} without {1}", "{0.key}", "{1.key}"); group: "OSM Lint"; } /*OSMlint missingoneways: Identifies motorway links without oneway tag , which is connected to a highway=motorway with a oneway */ way[highway=motorway][oneway=yes] node:connection { set osmlint_oneway; } way[highway=motorway_link][!oneway] node.osmlint_oneway, way[highway=motorway_link][oneway][oneway!=yes] node.osmlint_oneway { throwWarning: tr("missing oneway on motorway_link"); group: "osmlint"; } }}}
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.