#17482 closed enhancement (fixed)
remove building:ruian:type tag where it duplicates building tag
Reported by: | mkoniecz | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 19.04 |
Component: | Core validator | Version: | |
Keywords: | template_report | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- create object with
building=garage
andbuilding:ruian:type=18
- run validator
What is the expected result?
Validator offers to remove useless and cryptic duplicate of building
tag
What happens instead?
Presets do not contain property key - Key 'building:ruian:type' not in presets. (1)
Please provide any additional information below. Attach a screenshot if possible.
See https://wiki.openstreetmap.org/wiki/Key:building:ruian:type?uselang=en documenting widespread duplication of nearly all building:ruian:type
tags.
http://overpass-turbo.eu/s/H7I alone has more matches than displayable in a browser
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2019-03-10 20:57:11 +0100 (Sun, 10 Mar 2019) Build-Date:2019-03-11 02:30:51 Revision:14877 Relative:URL: ^/trunk Identification: JOSM/1.5 (14877 en) Linux Ubuntu 16.04.6 LTS Memory Usage: 479 MB / 869 MB (117 MB allocated, but free) Java version: 1.8.0_201-b09, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Screen: :0.0 1920x1080 Maximum Screen Size: 1920x1080 Dataset consistency test: No problems found Plugins: + OpeningHoursEditor (34867) + buildings_tools (34904) + continuosDownload (82) + imagery_offset_db (34867) + measurement (34867) + reverter (34867) + todo (30306) Validator rules: + ${HOME}/Desktop/tmp/unnecessary.validator.mapcss Last errors/warnings: - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet - W: java.io.IOException: Attribution is not loaded yet
Attachments (0)
Change History (30)
comment:1 by , 6 years ago
Description: | modified (diff) |
---|
comment:2 by , 6 years ago
Milestone: | → 19.03 |
---|
comment:4 by , 6 years ago
What about:
1 ( průmyslový objekt industrial object building=industrial
)
10 (stavba pro obchod commercial building building=commercial
)
17 ( stavba pro dopravu building for transportation building=transportation
)
26 ( jez weir waterway=weir
)
I think these codes also add no useful information over standard OSM tag if it is present.
comment:5 by , 6 years ago
What would be preferred to get feedback on what I posted in the previous comment? Reopen this issue? Open new one?
comment:7 by , 6 years ago
I didn't add these values on purpose because if we remove the ruian:type we cannot retrieve the original value from the OSM tag, as there are several possibilities (for example we cannot distinguish 1 from 16, 10 from 14 and so on).
comment:8 by , 6 years ago
"we cannot retrieve the original value from the OSM tag" - is there any reason at all to care about original value in the external database? Also, if one really cares about original value it is possible to process history.
In addition it anyway impossible to distinguish with current replacements building=garage
that in past had building:ruian:type
tag and one that never had it.
comment:9 by , 6 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Hi,
this tag is a part of RUIAN manual import that is done via Tracer-Testing plugin. https://wiki.openstreetmap.org/wiki/Cs:R%C3%9AIAN#Stavebn.C3.AD_objekty_.28SO.29
Please do not remove it. Just put it to ignore list instead.
If you want discuss it more, please contact us on @talk-cz.
Thanks,
Marián
(Tracer-Testing plugin maintainer and member of Czech community)
follow-up: 12 comment:10 by , 6 years ago
this tag is a part of RUIAN manual import
Is there any reason why the same information is presented both as standard OSM building
tag and again with building:ruian:type
? What kind of information is added by having both building:ruian:type=18
and building=garage
?
please contact us on @talk-cz
Is it OK to use English there?
follow-up: 13 comment:11 by , 6 years ago
Just put it to ignore list instead.
Note that key on "ignore list" (discardable tags) are not only not displayed but also silently removed. So it is not something that you want.
comment:12 by , 6 years ago
Replying to mkoniecz:
this tag is a part of RUIAN manual import
Is there any reason why the same information is presented both as standard OSM
building
tag and again withbuilding:ruian:type
? What kind of information is added by having bothbuilding:ruian:type=18
andbuilding=garage
?
1) Consistency - all buildings added from RUIAN have this tag.
2) Mapping is not always 1:1 - Some general tags, like "civic" can be changed by mapper to more specific like school, church, station...
3) This tag can be used to check changes made by users and review them or do an analyze of data.
4) If some mapping change in future (a new mappig will be agreed), it can be used to identify objects that needs to be changed.
please contact us on @talk-cz
Is it OK to use English there?
Yes.
BTW: why are you interested in this tag?
comment:13 by , 6 years ago
Replying to mkoniecz:
Just put it to ignore list instead.
Note that key on "ignore list" (discardable tags) are not only not displayed but also silently removed. So it is not something that you want.
OK. So just ignore it in JOSM at all ;-)
follow-up: 16 comment:14 by , 6 years ago
Consistency - all buildings added from RUIAN have this tag.
For tagging source we have tags in changesets, or source
tag on objects if someone really wants it
Some general tags, like "civic" can be changed by mapper to more specific like school, church, station...
Note that only 100% duplicates are suggested for removal by JOSM - see https://josm.openstreetmap.de/ticket/17482#comment:2
This tag can be used to check changes made by users and review them or do an analyze of data.
Why not use ref:ruian:building
for comparing ruian and OSM databases?
If some mapping change in future (a new mappig will be agreed), it can be used to identify objects that needs to be changed.
Again, only obvious duplicates are removed, not less specific ones.
BTW: why are you interested in this tag?
During fixing unrelated broken data I spotted this tag duplicating standard OSM tags (it is fairly common mistake made during imports). But it is not something unique - see https://josm.openstreetmap.de/query?status=closed&resolution=fixed&component=Core+validator&reporter=~mkoniecz&max=1000&col=id&col=summary&col=status&col=component&col=type&col=priority&col=milestone&col=time&report=2&order=id for my other JOSM validator proposals.
comment:15 by , 6 years ago
Is it OK to use English there?
Yes.
I subscribed and will post explanation once new post will be made in "[talk-cz] Varování JOSM -- kombinace building:ruian:type a building" thread (to avoid starting a separated thread).
In general:
Tags duplicating standard tags are generally pointless, especially tags added during imports. For example import of villages adding both place=village
and OBJECT_CLASS:PREFIX=Populated place
is undesirable, adding just place=village
would be better.
https://wiki.openstreetmap.org/wiki/Key:building:ruian:type?uselang=en documents that for example building:ruian:type=18
is not providing any information over standard OSM tag building=garage
The same applies to some additional codes listed in https://josm.openstreetmap.de/ticket/17482#comment:2
Validators may be mistaken and in such cases it is good to report problems. But in this case this warning was deliberate and as far as I can see it is not reporting any false positives.
Note that for example removal of code 29 for building tagged as building=yes
("stavba odkaliště") would not be desirable and JOSM is not proposing to do that.
comment:16 by , 6 years ago
Replying to mkoniecz:
Consistency - all buildings added from RUIAN have this tag.
For tagging source we have tags in changesets, or
source
tag on objects if someone really wants it
It is not about identify the ruian building itself (we are using ref:ruian:* for it), but about a fact, that all ruain building have the same minimal set of tags.
Some general tags, like "civic" can be changed by mapper to more specific like school, church, station...
Note that only 100% duplicates are suggested for removal by JOSM - see https://josm.openstreetmap.de/ticket/17482#comment:2
Having this tag only on some buildings is useless for us.
This tag can be used to check changes made by users and review them or do an analyze of data.
Why not use
ref:ruian:building
for comparing ruian and OSM databases?
This is a snapshot. As we are doing a semi-manual import, the value in the source database could change in meantime and comparison wil be not correct.
follow-up: 18 comment:17 by , 6 years ago
Having this tag only on some buildings is useless for us.
Why?
all ruain building have the same minimal set of tags.
Why it is more important than not adding tags that provide no additional information?
comment:18 by , 6 years ago
Replying to mkoniecz:
Having this tag only on some buildings is useless for us.
Why?
Because I don't like exceptions. Have this tag only on some ruian building is a mess and complicating things. From my point of view it is either all or none. Nothing between.
all ruain building have the same minimal set of tags.
Why it is more important than not adding tags that provide no additional information?
Is there some rule, that forbids this? What looks to you as a duplicity could be something different for someone else.
follow-up: 25 comment:19 by , 6 years ago
Is there some rule, that forbids this?
Common sense? If somebody would tag river with waterway=river waterway:cs=řeka waterway:pl=rzeka
I would remove two latter tags as useless duplicates, and for example import of villages adding both place=village
and OBJECT_CLASS:PREFIX=Populated place
is undesirable, adding just place=village
would be better.
I see no reason to make exception for this specific tag - and note that JOSM routinely removes completely pointless tags, see https://josm.openstreetmap.de/browser/josm/trunk/data/validator/unnecessary.mapcss
comment:21 by , 6 years ago
This tag is useless for you. Not for me. If this tag should be removed, then completely. From plugin and database. But I'm still not sure, if I want to remove it.
comment:23 by , 6 years ago
Hello,
RUIAN id is not 1:1 mappable to OSM tags, so please leave it as it is. Removing just some special values creates only a big mess, making OSM data unusable for those wishing to use *:ruian: tags.
follow-up: 26 comment:24 by , 6 years ago
RUIAN id is not 1:1 mappable to OSM tags
Only ones mappable 1:1 are removed.
comment:25 by , 6 years ago
Replying to anonymní:
I see no reason to make exception for this specific tag - and note that JOSM routinely removes completely pointless tags, see https://josm.openstreetmap.de/browser/josm/trunk/data/validator/unnecessary.mapcss
Well, it might be doing so, but it isn't exactly what I would expect. This might be a solution for very old, pointless tags, but it is completely counterproductive for data quality. If somebody is putting pointless tags in recent changesets, others should be addressing the person, not fixing it silently.
Only ones mappable 1:1 are removed.
The tag are directional. You are removing only part of it.
BTW, why is automated edit by a software acceptable and automated edit by a person not?
comment:26 by , 6 years ago
Replying to anonymní:
RUIAN id is not 1:1 mappable to OSM tags
Only ones mappable 1:1 are removed.
And that's the main point why it is wrong. Removing just some values of a tag is a road to hell. I can randomly remove nodes from OSM as well with the same logic, just because I do not need them.
Are you trying to force CZ users not to use JOSM at all or have us to fork this project?
comment:27 by , 6 years ago
Milestone: | 19.03 → 19.04 |
---|
This validator test should be reconsidered after the mentioned discussion on talk-cz (comment:15).
IMHO if the czech community wants to use the building:ruian:type tagging schema on their buildings then josm should respect this and not raise a warning.
comment:30 by , 6 years ago
I added note at https://wiki.openstreetmap.org/wiki/Key:building:ruian:type with link to this issue to make people aware that local community currently prefers to keep this tags.
Including "Please consult talk-cz mailing list before removing them".
Some values add more information than the osm building tag and should not be removed automatically. But for following values there is no added value, so the tag can be removed without any loss of information: