Imports and automated edits should only be carried out by those with experience and understanding of the way the OpenStreetMap community creates maps, and only with careful planning and consultation with the local community. See Import/Guidelines and Automated Edits code of conduct for more information. Imports/automated edits which do not follow these guidelines might be reverted!
This is a collection of quick fixes. Click "(run)", review each suggestion, and click "Save" only if you think the edit is correct. Note that you cannot determine the correctness of an edit without local knowledge or at least a good look at aerial imagery; anything else probably constitutes a mechanical edit which may only be executed after getting community approval. The fact that a quick fix is included on this page does not mean it has community approval. If you find any incorrect suggestion, please comment, so that the query can get fixed. See also service documentation.
SELECT?id?loc(osmt:areaas?tag_1)(falseas?val_1)WHERE{VALUES?truthy{'yes''true''1'}VALUES?tags{osmt:amenityosmt:landuseosmt:leisure}?idosmt:area?truthy;?tags?anything;osmm:isClosedtrue;# closed only applies to waysosmm:loc?loc.MINUS{?idosmt:highway?highway}}
SELECT?id?loc(osmt:areaas?tag_1)(falseas?val_1)WHERE{VALUES?truthy{'yes''true''1'}VALUES?tags{osmt:buildingosmt:naturalosmt:shop}?idosmt:area?truthy;?tags?anything;osmm:isClosedtrue;# closed only applies to waysosmm:loc?loc.}
(1009) JOSM autofix - remove unnecessary "area=yes" for aeroways
SELECT?id?loc(osmt:areaas?tag_1)(falseas?val_1)WHERE{VALUES?truthy{'yes''true''1'}VALUES?aeroway{'aerodrome''helipad'}?idosmt:area?truthy;osmt:aeroway?aeroway;osmm:isClosedtrue;# closed only applies to waysosmm:loc?loc.}
https://josm.openstreetmap.de/browser/josm/trunk/data/validator/wikipedia.mapcss?rev=12493#L89", "taskId":"josm_layer_plus", "minZoom":13 }SELECT?id?loc# keep the very last language prefix in the title(?wptagas?tag_1)(IRI(REPLACE(STR(?wp),'[a-z][a-z]\\.wikipedia\\.org/wiki/([a-z][a-z]:)*([a-z][a-z]):','$2.wikipedia.org/wiki/'))as?val_1)WHERE{VALUES?wptag{osmt:wikipediaosmt:brand:wikipediaosmt:operator:wikipediaosmt:subject:wikipediaosmt:artist:wikipediaosmt:name:entomology:wikipedia}?id?wptag?wp;osmm:loc?loc.FILTER(REGEX(STR(?wp),'https://([a-z][a-z])\\.wikipedia\\.org/wiki/[a-z][a-z]:'))}
Suspicious Tag Combination
(6,194) JOSM autofix - "waterway" together with "bridge", setting bridge=aqueduct
De-duplicate identical wikidata and brand:wikidata
Remove duplicate wikidata tag when an identical brand:wikidata exists. If wikipedia tag is also set, it must match brand:wikipedia. (more info). TODO: handle when wikipedia tag exists, but brand:wikipedia does not.
SELECT?id?loc(osmt:wikidataas?tag_1)(falseas?val_1)(osmt:wikipediaas?tag_2)(falseas?val_2)WHERE{# Get OSM features where tags wikidata = brand:wikidata?idosmt:wikidata?wd;osmt:brand:wikidata?wd;osmm:loc?loc.OPTIONAL{?idosmt:wikipedia?wp}OPTIONAL{?idosmt:brand:wikipedia?bwp}# Either wikipedia tag is missing, or it must be the same as brand:wikipediaFILTER(!BOUND(?wp)||(BOUND(?bwp)&&?wp=?bwp))# TODO: Handle wikipedia tag:# If no brand:wikipedia: if wikipedia tag matches wikidata tag, move it to brand:wikipedia.# If brand:wikipedia exists, ensure that it also matches wikidata, and if so, delete wikipedia tag.# Get labels for the Wikidata entry, and for all occupationsSERVICEwikibase:label{bd:serviceParamwikibase:language"[AUTO_LANGUAGE],en,de,fr,it,pl,ru,es,sv,nl".?wdrdfs:label?wdLabel.}}
SELECT# Generate output fields - id of the object, mark location, and the changeset comment?id?loc# Delete existing amenity tag by setting ?val_1 to false(osmt:amenityas?tag_1)(falseas?val_1)# Set leisure tag to the value 'resort'(osmt:leisureas?tag_2)('resort'as?val_2)# Set resort tag to the value 'sanatorium'(osmt:resortas?tag_3)('sanatorium'as?val_3)WHERE{# Must have amenity=sanatorium and a location.?idosmt:amenity'sanatorium';osmm:loc?loc.# Ignore if leisure tag already exists, and not set to 'resort'OPTIONAL{?idosmt:leisure?leisure}FILTER(!BOUND(?leisure)||?leisure='resort')# Ignore if resort tag already exists, and not set to 'sanatorium'OPTIONAL{?idosmt:resort?resort}FILTER(!BOUND(?resort)||?resort='sanatorium')}
SELECT?id?loc(osmt:religionas?tag_1)('christian'as?val_1)(osmt:denominationas?tag_2)(?religionas?val_2)WHERE{VALUES?religion{'mormon''anglican'}?idosmt:religion?religion;osmm:loc?loc.# Ignore if denomination tag already exists, and not set to the needed valueOPTIONAL{?idosmt:denomination?denomination}FILTER(!BOUND(?denomination)||?denomination=?religion)}
SELECT# Generate output fields - id of the object, mark location, and the change set comment?id?loc(osmt:religionas?tag_1)('christian'as?val_1)(osmt:denominationas?tag_2)(?denominationas?val_2)WHERE{BIND('catholic'as?denomination)VALUES?religion{'catholic''catolica'}VALUES?religion2{'catholic''catolica'}?idosmt:religion?religion;osmm:loc?loc.# Ignore if denomination tag already exists, and not set to the needed valueOPTIONAL{?idosmt:denomination?den}FILTER(!BOUND(?den)||?den=?religion2)}
Fix deprecated shop=furnace - This tag is confusing. A furnace is a big oven used for melting metals; some people also applied this tag for shops selling cooking stoves.