[[TranslatedPages(revision=36, outdated=Перевод не завершён. Исходная англоязычная страница неполная.)]] = Настройки > Проверка данных = == Обзор == В этом диалоговом окне настроек можно активировать только нужные вам тесты. По умолчанию активны все проверки на ошибки и предупреждения. [[Image(wiki:Help/Preferences/Validator:validator_settings.gif)]] == Список ошибок == 1. Если вы новичок в OSM и столкнулись с ошибками при проверке объектов, которые вы не редактировали, пожалуйста, пока игнорируйте эти сообщения об ошибках. 2. Валидатор может ошибаться или знать не всё о практике тегирования. Не исправляйте ошибки, насчёт которых вы полностью не уверены. 3. Сначала ознакомьтесь с тем, [wiki:Ru:Help/Dialog/Validator как использовать валидатор] Третий столбец содержит также '''(видео)''' пояснения. Таблица неполная. || ||= ''Проверка'' =||= ''Что проверяется'' =||= Комментарий =|| ||||= '''Адреса''' =|||| Ошибки в [[osmwiki:RU:Addresses|адресах]] и [[osmwiki:RU:Relation:associatedStreet|отношениях associatedStreet]]. || || [[Image(source:/trunk/images/data/warning.png)]] || Номер дома без указания улицы || Объекты с тегом `addr:housenumber`, но без `addr:street` или `addr:place`. Название улицы можно также указать с помощью отношения `associatedStreet` или интерполируемой линии. || Добавьте отсутствующую информацию об улице. || || [[Image(source:/trunk/images/data/warning.png)]] || Дублирующиеся номера домов || Два участника отношения `associatedStreet` имеют одинаковый номер дома. || Это возможно, но маловероятно. || || [[Image(source:/trunk/images/data/warning.png)]] || Несколько названий улиц в отношении || Тег `name` в отношении `associatedStreet` совпадает с тегом `name` участников с ролью `street` и тегом `addr:street` участников с ролью `house`. || [[Image(source:/trunk/images/data/warning.png)]] || Номер дома слишком далеко от улицы || Дома в `associatedStreet` слишком далеко от соответствующей улицы. || Проверьте, действительно ли дом относится к улице, указанной в отношении. || || [[Image(source:/trunk/images/data/warning.png)]] || Несколько отношений associatedStreet || Объект участвует в нескольких отношениях `associatedStreet`. || || ||||= '''Преграды и проходы''' =|||| Ошибки в [[osmwiki:RU:Barriers|преградах]] и [[osmwiki:RU:Key:entrance|проходах]]. || ||||= '''Береговые линии''' =|||| [[osmwiki:Coastline]] are correct. || ||||= '''Ключи, зависящие от условий''' =|| usage of `*:conditional` tags. || Imprecise rules covered at [http://wiki.openstreetmap.org/wiki/Conditional_restrictions osm wiki page "Conditional restrictions"] ||||= '''Пересекающиеся барьеры / границы / линии''' =|| || || [[Image(source:/trunk/images/data/warning.png)]] ||Crossing ways||ways (with highway/railway/waterway tags) that crosses in same layer with no crossing node|| 1. [https://commons.wikimedia.org/wiki/File:JOSM_9900_en_validator_message_%22Crossing_ways%22_with_shortcuts.ogv (video) usually you need to add a common node] or 2. add appropriate [[osmwiki:Key:layer]] (and possibly [[osmwiki:Key:bridge]] or [[osmwiki:Key:tunnel]]) || ||||= '''Дублированные точки''' =|||| || || [[Image(source:/trunk/images/data/error.png)]] ||Duplicated nodes||no nodes in the very same location||Merge the nodes into only one, adding the properties from all nodes to the merged one|| ||||= '''Дублирующиеся отношения''' =|||| no relations with same tags and same members with same roles. || ||||= '''Сдублированные линии''' =|||| no ways with same node coordinates and optionally also same tags. || ||||= '''Дублирующиеся точки на линии''' =|||| ways with identical consecutive nodes. || ||||= '''Дороги''' =|||| semantic checks on highways. || ||||= '''Теги полос движения''' =|||| `lane:` tags. || ||||= '''Проверка тегов (основана на MapCSS)''' =|||| errors in tag keys and values. || ||||= '''Мультиполигон''' =|||| multipolygons are valid. || ||||= '''Отсутствующий перевод name:*''' =|||| finds multilingual objects whose ''name'' attribute is not equal to some ''name:*'' attribute and not a composition of ''name:*'' attributes, e.g., Italia - Italien - Italy. || ||||= '''Синтаксис часов работы''' =|| correct usage of the opening hours syntax. || [http://wiki.openstreetmap.org/wiki/Key:opening_hours#Examples common OH examples] [http://wiki.openstreetmap.org/wiki/Key:opening_hours#Common_mistakes common mistakes] [http://wiki.openstreetmap.org/wiki/Key:opening_hours/specification complete OH spec] || ||||= '''Перекрытие линий''' =|| a connection between two nodes is not used by more than one way. || [https://commons.wikimedia.org/wiki/File:JOSM_9900_en_validator_message_%22Overlapping_ways%22_with_shortcuts.ogv (video) Using selection, split and middle mouse] || || [[Image(source:/trunk/images/data/warning.png)]] ||Overlapping (high)ways || two (high) ways that share the same nodes || ||||= '''Линии электропередачи''' =|||| nodes in power lines that do not have a power=tower/pole tag. || ||||= '''Проверка отношений''' =|||| errors in relations. || ||||= '''Линии, пересекающие сами себя''' =|||| ways that contain some of their nodes more than once. || ||||= '''Похожие названия линий''' =|||| ways with similar names that may have been misspelled. || || [[Image(source:/trunk/images/data/warning.png)]] ||Similar named ways||ways with very similar names, possibly a typo || ||||= '''Проверка тегов''' =|||| errors in tag keys and values. || ||||= '''Ограничения на поворот''' =|||| [[osmwiki:Relation:restriction|turn restrictions]] are valid. || || [[Image(source:/trunk/images/data/warning.png)]] || Unknown role || the role for members of a turn restriction relation is either `from`, `to` (ways) or `via` (nodes and ways) || || || [[Image(source:/trunk/images/data/warning.png)]] || Unknown member type || only nodes and ways (and not relations) are members of a turn restriction relation. || || || [[Image(source:/trunk/images/data/error.png)]] || No "from" way found [[br]] No "to" way found [[br]] No "via" node or way found || all necessary elements of a turn restriction relation are present. || || || [[Image(source:/trunk/images/data/error.png)]] || More than one "from" way found [[br]] More than one "to" way found [[br]] More than one "via" node found || at most one way with role `from` and `to` and at most one node with role `via` in a turn restriction relaion. || || || [[Image(source:/trunk/images/data/error.png)]] || Cannot mix node and way for role "via" || there is either a "via" node or multiple "via" ways, but not a mix of nodes and ways with role `via`. || || || [[Image(source:/trunk/images/data/error.png)]] || The "from" way does not start or end at a "via" node. [[br]] The "to" way does not start or end at a "via" node. [[br]] The "from" and the first "via" way are not connected. [[br]] The "via" ways are not connected. [[br]] The last "via" and the "to" way are not connected. || the different parts of a turn restriction relation are connected. is also aware of oneway streets and considers parts unconnected, if they cannot be traveled in the intended order due to the oneway restriction. || Make sure that consecutive member of a turn restriction relation are connected. (Ways must be connected end-to-end.) || || [[Image(source:/trunk/images/data/warning.png)]] || Superfluous turnrestriction as "to" way is oneway || The turn restriction is not needed, because the corresponding turn would mean to enter a oneway street from the wrong side. || Verify that the "from" and "to" ways are correctly assigned and delete the relation if it is indeed superfluous. || ||||= '''Незамкнутые линии''' =|||| ways which should be circular are closed. || ||||= '''Несоединённые автодороги / natural lands and landuses / power ways / railways / waterways''' |||| a way has an endpoint very near to another way. || ||||= '''Несоединённые точки без тегов''' =|| untagged nodes that are not part of any way. || 1. If it is yours node, you are to decide if to remove it otherwise 2. Download parent relations and contact mappers who added these nodes in unclear cases || ||||= '''Пустые, без тегов и состоящие из одной точки линии''' =|||| untagged, empty and one node ways. || ||||= '''Линия соединена с полигоном''' =|||| ways connected to areas. || ||||= '''Неправильно упорядоченные линии''' =|||| direction of water, land and coastline ways. || ||||= '''Без категории''' =|||| Descriptions that need to be checked, updated and added to one of the categories above. || || [[Image(source:/trunk/images/data/error.png)]] ||Duplicated way nodes||ways contain no loop edges (i.e., a single step from a node to itself)||Split the way, and delete the way consisting of the loop edge.|| || [[Image(source:/trunk/images/data/error.png)]] ||Reversed coastline: land not on left side||coastlines that are not counter-clockwise or that are otherwise misplaced (coastline misused as inland lake)||Reverse coastline|| || [[Image(source:/trunk/images/data/error.png)]] ||Unconnected coastline: coastline ways do not form closed loops||coastlines ways that are not connected to the end of other coastline ways|| || || [[Image(source:/trunk/images/data/error.png)]] ||Unordered coastline: coastline ways are not connected start-to-end||coastline ways of which either the start is not connected to the end of another coastline or the end is not connected to the start of another coastline||Reverse coastline|| ||[[Image(source:/trunk/images/data/error.png)]]||Incomplete ways||ways with zero or only one node||Removes the way|| || ||Check property keys||misspelled property keys. See the [source:/trunk/data/validator/words.cfg words.cfg] for file of misspelled property keys||Replace wrong key with right one|| || ||Check property values||misspelled property values. Uses the [TaggingPresets tagging presets] file for checking|| || ||Empty properties||properties with empty values|| || || [[Image(source:/trunk/images/data/warning.png)]] ||Self-intersecting ways||a way crosses itself||Remove the self-crossing, remove overlapping parts or split way|| || [[Image(source:/trunk/images/data/warning.png)]] ||Unclosed ways||way types, which should be closed really are closed||Close unclosed ways|| || [[Image(source:/trunk/images/data/warning.png)]] ||Untagged ways||untagged ways|| 1. describe them correctly if you know this objects or 2. leave them until somebody describes them || || [[Image(source:/trunk/images/data/warning.png)]] ||Way end node near other highway|| End point of a way is very near to other ways || Connect the ways or when really unconnected set a 'noexit' tag to prevent further warnings || || [[Image(source:/trunk/images/data/warning.png)]] ||Style for outer way mismatches||Within a multipolygon relation, one of the tags of the relation and the outer ways is shared but with different values||Copy relation related tags to the relation itself|| || [[Image(source:/trunk/images/data/warning.png)]] ||Style for inner way equals multipolygon||Within a multipolygon relation, one of the tags of the relation and the inner ways is shared and has the same value||Remove tag from inner way || [[Image(source:/trunk/images/data/other.png)]] ||FIXME||Любое свойство со словом "FIXME" внутри || || [[Image(source:/trunk/images/data/other.png)]] ||Highway without a reference||there is a [osmwiki:Key:ref ref tag] for highways that are tagged tertiary. Not always required, see for instance [osmwiki:Map_Features#Highway Highway]|| || || [[Image(source:/trunk/images/data/other.png)]] ||Key 'x' invalid. - ...||illegal key combinations, names and similar issues || || [[Image(source:/trunk/images/data/other.png)]] ||Nodes with the same name||two nodes have equal name|| || || [[Image(source:/trunk/images/data/other.png)]] ||Overlapping areas||areas overlap||Remove overlapping only when really wrong.|| || [[Image(source:/trunk/images/data/other.png)]] ||Unknown propery value||proper use of tags||If it is your new tag, it is good idea document it at wiki [[osmwiki:Any tags you like]]|| || [[Image(source:/trunk/images/data/other.png)]] ||No style in multipolygon relation||The multipolygon relation is missing a tag describing what it represents||For a building, add building=yes to the relation etc.|| == Смотрите также == * [wiki:/Help/Dialog/Validator Validator dialog] * [wiki:Rules JOSM Validator Custom rules from "Tag Checker Rules"] * [wiki:/Help/Validator/MapCSSTagChecker MapCSSTagChecker] - about the syntax of validator checks, which are based on MapCSS ---- Back to [wiki:/Help/Action/Preferences Preferences][[Br]] Back to [wiki:/Help Main Help]