Dubious tags
Detects and lists dubious OSM tags - with explanation why they are suspicious. In many cases it is possible to find better tagging for affected objects, making OSM data more usable and more clear.
This is intended to cover rather rarely used tags.
It definitely should not include tags that I merely dislike but are accepted by OSM community.
It does not include all problematic tags in OSM or even all problematic tags that I am aware of.
Warning
Do not change or edits this tags blindly! This tags are listed here rather than proposed for bot edit as it is not safe to change them without verification or local knowledge.
And blindly editing them in manual edits, without thinking is actually worse than automated bot edit. It has all bot edits problems, adds some new one and is a pure waste of time.
Not editing is better than editing and breaking things.
Though in some cases you may have local knowledge or better understanding. In such case follow OSM rules if it is possible to reliably retag objects without individual review and local community agrees with such idea.
Usage
OpenStreetMap discussions
If things go well then using this list looks like https://www.openstreetmap.org/changeset/133103215 or https://www.openstreetmap.org/changeset/142498355
Taginfo listing
It is displayed at Taginfo - see listing of this specific project.
It will be also listed at project tab of tags and keys listed here as dubious.
As Python package
import dubious_tags
print(dubious_tags.list.dubious_tags_with_explanation())
Note that this will make calls to taginfo to fetch some data.
tags_in_taginfo_format.json file is generated by build script.
Installation as a python package
pip install dubious_tags
It is uploaded to pypi.org
Run tests
python3 -m unittest
Metadata
Release files for dubious-tags 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| dubious_tags-0.0.2.tar.gz | 81.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dubious_tags-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 161.8 kB
Security for dubious-tags 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.