Maplint/FAQ

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — Maplint/FAQ
Afrikaans Alemannisch aragonés asturianu azərbaycanca Bahasa Indonesia Bahasa Melayu Bân-lâm-gú Basa Jawa Baso Minangkabau bosanski brezhoneg català čeština dansk Deutsch eesti English español Esperanto estremeñu euskara français Frysk Gaeilge Gàidhlig galego Hausa hrvatski Igbo interlingua Interlingue isiXhosa isiZulu íslenska italiano Kiswahili Kreyòl ayisyen kréyòl gwadloupéyen kurdî latviešu Lëtzebuergesch lietuvių magyar Malagasy Malti Nederlands Nedersaksies norsk norsk nynorsk occitan Oromoo oʻzbekcha/ўзбекча Plattdüütsch polski português português do Brasil română shqip slovenčina slovenščina Soomaaliga suomi svenska Tiếng Việt Türkçe Vahcuengh vèneto Wolof Yorùbá Zazaki српски / srpski беларуская български қазақша македонски монгол русский тоҷикӣ українська Ελληνικά Հայերեն ქართული नेपाली मराठी हिन्दी অসমীয়া বাংলা ਪੰਜਾਬੀ ગુજરાતી ଓଡ଼ିଆ தமிழ் తెలుగు ಕನ್ನಡ മലയാളം සිංහල ไทย မြန်မာဘာသာ ລາວ ភាសាខ្មែរ ⵜⴰⵎⴰⵣⵉⵖⵜ አማርኛ 한국어 日本語 中文(简体)‎ 吴语 粵語 中文(繁體)‎ ייִדיש עברית اردو العربية پښتو سنڌي فارسی ދިވެހިބަސް

Q: Shouldn't the editors and the database check the data on entry so that only good data can be entered instead of checking it retroactively?

A: Yes and No. Some problems can and should be checked for. But other problems are hard to detect and many "sort-of problems" can only be classified by a human. Also things change (for instance some tags which are used now might become deprecated in the future) and programmers make mistakes, too, so it is better to double-check.

Q: Why are you checking OSM files and not the data in the database directly?

A: Currently that was the easiest way to get started. In a later stage it might make sense to implement the checks directly in the database or when downloading data through the API. We can think about that when we have actually used Maplint and found it useful.

Q: Can we write our own tests?

A: Sure. Just go ahead and implement them. If they are applicable for everyone, they will be added to the main list of tests. Some test might only make sense on part of the data, though. One could, for instance, have a test that checks that all motorway refs have the form "A<number>", which is always true in Germany, but not necessarily in other parts of the world.