Jump to content

User:Miksuko/Good practice

From OpenStreetMap Wiki

Anyone can edit OpenStreetMap. There are very few rigid rules, but over time mappers have settled on some common practices. Following them keeps the data accurate and easier for everyone to maintain.

  • Respect copyright. Add data you surveyed yourself or have permission to use. Don't copy from other maps.
  • Map what's in scope. Map things that exist now and that others can check. Leave out guesses, opinions, and private personal data.
  • Keep the map accurate. Align imagery before tracing, map each feature once, and use tags for what they mean, not for how they look on a particular map.
  • Work with the community. Keep element history, follow local guidelines, explain your edits, and talk to others before making big changes.

OpenStreetMap data is distributed freely under the Open Database License (ODbL). Contributors submit edits under the Contributor Terms with no extra restrictions or warranty. Contributions must not infringe others' copyright or database rights.

  • Use permitted sources. Contribute from your own local surveys, permitted aerial and street-level imagery built into OSM editors, public domain or CC0 sources, or external datasets explicitly cleared under the Contributor Terms (see Licence Compatibility).
  • Don't copy from other maps. Never copy from other maps (such as Google Maps, Apple Maps, or other commercial providers), commercial street-view imagery, or commercial directories without explicit permission. Publicly visible or "open" data is not automatically compatible with OSM.

Map what's in scope

OpenStreetMap is a geographic database of current features on Earth. We have some guidelines for what we consider to be in scope of the project.

  • Map verifiable features on the ground. Only add data another mapper can check in reality rather than assumptions or personal ratings. When sources conflict, local signage outweighs other sources so map users can match signs on the street (aside from obvious typos like John-F.-Kennwdy Square). Established exceptions include unmarked administrative borders and underground infrastructure mapped from surface markers or permitted records.
  • Don't map historic events or gone features. Historic events and objects that leave no visible trace on the ground belong in OpenHistoricalMap, though standing ruins can still be mapped (for example historic=ruins). Recently demolished features still visible in older imagery may temporarily use a Lifecycle prefix like demolished:*=* until imagery updates.
  • Don't map one-off events or speculative plans. OSM data is often used offline for weeks or months, so features should remain stable for at least a few weeks (regular recurring events like weekly markets can use opening_hours=*). Active construction can be mapped once work visibly starts, while unbuilt planned projects are generally left off the map (with proposed=* used sparingly for officially approved major infrastructure).
  • Don't map private personal information. Avoid adding private personal information such as resident or owner names, personal contacts, or private home interiors. Ordinary visible structures like houses, rooftops, and private driveways (using access=private on driveways where appropriate) are fine to map.
  • Don't map general country-wide legislation. Don't tag abstract national laws on highways (such as driving age or blood-alcohol limits) unless tied to specific objects or signs. Tagging implicit limits on specific roads (such as default maxspeed=* or Vienna Convention on Road Signs and Signals rules after an intersection) is fine, since it shows the road segment was checked.

Keep the map accurate

Place objects using surveys, GPS traces, or aligned imagery so spatial relationships reflect reality (such as houses sitting on land rather than overlapping water).

Imagery and GPS

  • Align aerial imagery before tracing. Aerial imagery can be misaligned from the actual position by a significant (and inconsistent) offset. Align it for the area you map against GPS traces, survey points, or trusted OSM data using the alignment tools in iD, JOSM, or Vespucci.
  • Check element history and imagery dates. Before overwriting existing data from aerial photos, check object history, changeset comments, and imagery dates so that older photos don't replace newer ground surveys (see Armchair mapping).
  • Average GPS traces. Single GPS tracks can drift by several meters, so average across multiple GPS traces instead of following one noisy track, and upload your traces even on already-mapped roads to help others align imagery.

Geometry

  • Keep straight ways straight and curves smooth. Avoid extra nodes between intersections, keep square corners squared, and give curves enough nodes to avoid sharp angles between consecutive segments. Use straightening tools in JOSM or iD while still following real bends visible in imagery or averaged traces. As an exception, on straight lines longer than roughly 500 meters (such as state borders), add intermediate nodes so alignment stays accurate across map projections.
  • Map each feature once. Represent each real-world feature as one OSM element instead of adding a duplicate node inside an identically tagged area just to make an editor icon appear. When converting a node to an area, reuse it in the outline or move its tags over and delete the old node (see One feature, one OSM element for exceptions).

Tagging

Tracks mistakenly given a descriptive name tag ("Waldweg", meaning "track" in German).
  • Don't map for the renderer or router. Never misuse tags against their established meaning or distort geometry to fix map visuals or influence routing. Report issues upstream (for example on openstreetmap-carto) or try another map or router instead (see Tagging for the renderer).
  • Use names only for real names. Use name=* only for a feature's common name, never as a description. For example, tag an unnamed forest track as highway=track without a descriptive name=* such as name=track or "Waldweg" (see Names).
  • Draw attention to rough estimates. Leave a map note on approximate positions or uncertain details or tag them with fixme=*, so someone knows to revisit them later.
  • Keep tag values simple. Avoid over-using semi-colon separated values in top-level tags like highway=* (keep them for list-like tags such as opening_hours=*).
  • Don't use relations as categories. Relations are used to model many types of features and relationships between different elements, but they are not for grouping features into broad categories such as "artworks by Banksy".

Work with the community

Anyone can edit in good faith without asking permission first, and discussions with fellow mappers should stay civil and factual across changeset comments, the forum, mailing lists, and other contact channels.

  • Be bold when adding or updating data. Map missing features and update changes on the ground directly. If you are unsure or mapping in a faraway area, ask local mappers to review your edits. Use the editing sandbox for test edits instead of the live database.
  • Check before deleting unfamiliar data. Research the wiki or contact the author before altering unclear tags or deleting valid details (such as a catenary mast or manhole) just because you don't need them, they don't render, or a validator flags them. Restoring deleted data is harder than adjusting additions (see Chesterton's fence on Wikipedia).
  • Preserve element history. Modify existing elements instead of deleting and redrawing them, and check history before changing major features (see Keep the history). Don't reuse a single element to carry the history of an unrelated replacement object (see Don't mix the history).
  • Write good changeset comments. Explain what you changed and why so fellow mappers understand your edits and can catch mistakes quickly (see Good changeset comments). Answer questions politely, avoid edit wars, and escalate unresolved disputes to the Data Working Group.
  • Follow local guidelines and document new tags. Follow local guidelines and prefer established tags on map features. Document custom tags in a proposal, user subpage, or discussion section rather than adding unestablished tags to Map features or creating premature Key: or Tag: recommendations before they see real use (see Any tags you like, Changelog, and Creating a page describing key or value).
  • Consult before large or automated edits. Discuss imports, automated edits, mass cleanups, and organised mapping campaigns with the community via Contact channels beforehand.

See also