"Meta" tags #27
Replies: 5 comments 3 replies
-
If a meta tag section should be added to the data model, the edit API should allow to exclude it from downloading to save memory footprint and bandwidth. |
Beta Was this translation helpful? Give feedback.
-
The meta tags are very helpful for editing, especially I was thinking more about making it possible for end users to exclude these tags from their downloads. |
Beta Was this translation helpful? Give feedback.
-
Because the API intentionally doesn't know about the meaning of tags, this would require either all editors to have a list of all "meta keys" (which is inevitably going to be incomplete given "Any Tag You Like") or mappers to manually put tags into the correct category. Either way, it seems like this would create an extra source of mistakes when information is accidentally added as a tag instead of a meta tag, or vice versa. At the same time, the practical benefits seem quite minor. These tags are a relatively small fraction of all OSM data, so I predict removing them would not make a meaningful performance difference. And if you're serious about filtering OSM data for your use case, you almost certainly want to remove all the "real" tags your application doesn't care about in addition to the meta tags. I do appreciate that there is a certain sense of "cleanliness" in distinguishing metadata from information about the real world.
That's not something I would recommend for any application which cares about usability for a non-mapper audience. For starters, it's not even an option unless your website is in English. And even then, tags aren't (and shouldn't be expected to be) designed as an appealing presentation of data for a general audience. |
Beta Was this translation helpful? Give feedback.
-
This is indeed my main point. I think it would be practical if the API has a concept of metadata that users can edit.
As you said, the API is currently indifferent to what tags are related to the real world and which are meta tags, so separating these tags will undoubtly require some manual labour. Most of this can be done by visiting Taginfo and making a list of what keys should go in the future "meta" section. We probably won't find all meta tags before an update takes place, so there should probably be a way to (mass) edit tags from one category to the other.
It could make a slight difference for Overpass queries (
I would also not recommend it, but it would be a bit more viable if the meta tags were listed separately. It's a minor benefit, but for these use cases I think it would be a welcome one. |
Beta Was this translation helpful? Give feedback.
-
The topic of handling survey dates as extra data is already being discussed in #26. While I don't think it makes sense from API point of view, that users can manipulate the list of meta tags (this is only asking for trouble and abuse), I see there's at least some need to keep track of "meta" information like survey dates. I'm still a bit undecided if this is all massive over-engineering, given how little those tags are used in real life, and given the significant impact that would have on the API. So introducing the extra complexity that comes with those meta tags needs to be very carefully evaluated from an effort vs. benefit point of view. |
Beta Was this translation helpful? Give feedback.
-
This is related to chapter 3.14 of Jochen Topf's study on the OSM data model.
Our general understanding of tags is that each of them describes an aspect of a real life object. Over time, we have introduced many tags that do not refer to aspects of real life objects, but are instead meta tags that are only relevant to OSM users. Think about keys like
note
,fixme
,source
,created_by
,type
,survey:date
,check_date
and the list goes on.I propose that we put these tags into a separate "meta tags" category, so people who look at "tags" will only see the information that they expect to see.
This should mostly be relevant and helpful for data users who use OSM tags directly to get information about objects but who do not require any metadata. This includes maps that display a list of tags when you click on OSM objects, like gk.historic.place and openstreetbrowser.org.
Disclaimer: I do not possess the technical know-how to come up with suggestions on the implementation of such a change. I am just presenting a draft proposal here.
Beta Was this translation helpful? Give feedback.
All reactions