You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: Harry Wood [Submitted to the original trac issue database at 1.56am, Wednesday, 12th September 2012]
I may be missing something but I don't think there is a convenient tool anywhere for finding just one example of a particular tag.
My idea is that taginfo could include a link, perhaps alongside XAPI and JOSM, just called "Example", which jumps you to a random occurrence of the tag (osm.org browse page). By random I mean it could be just the last/first occurrence it encountered while processing the DB.
For some tags there is only one in the planet anyway, but also for cases where the XAPI and JOSM links refuse to work because there's too many of them, it would be handy to just jump to one example. Often that's all I need for one reason or another.
The text was updated successfully, but these errors were encountered:
Author: Harry Wood [Added to the original trac issue at 6.22pm, Monday, 21st January 2013]
Ah hmm. I see what you mean about "Example". Can't think of a different word though.
Perhaps it could be an example picked to show proper use, by scraping from the wiki. So where an example is given on the wiki docs for a tag, it links that. Otherwise just random. But that's all getting a bit complicated.
A limit parameter on XAPI would be a neat addition I would have thought, although I was trying to think of a way to cut XAPI out of the picture. taginfo links direct to the element. It could certainly do this for tags where this is only one occurrence.
Author: jochen[at]topf.org [Added to the original trac issue at 10.12pm, Monday, 21st January 2013]
If somebody puts examples in the wiki in some parsable format, I could pull them in. Until that happens we are out of luck.
XAPI doesn't have a limit parameter, but the Overpass API has. So maybe that could be an option. I have also been thinking about how I could maybe add a bbox parameter to the XAPI request, but I am not sure how this could be done.
I have thought about keeping at least a single "example" ID of each key/tag. But in the end decided that taginfo should do one thing and do it well and not try to be everything to everybody. It is much better to leverage XAPI or whatever other service to add this kind of functionality.
I am closing this ticket now. This kind of discussion doesn't belong here, but on the taginfo-dev or dev mailing list.
Reporter: Harry Wood
[Submitted to the original trac issue database at 1.56am, Wednesday, 12th September 2012]
I may be missing something but I don't think there is a convenient tool anywhere for finding just one example of a particular tag.
My idea is that taginfo could include a link, perhaps alongside XAPI and JOSM, just called "Example", which jumps you to a random occurrence of the tag (osm.org browse page). By random I mean it could be just the last/first occurrence it encountered while processing the DB.
For some tags there is only one in the planet anyway, but also for cases where the XAPI and JOSM links refuse to work because there's too many of them, it would be handy to just jump to one example. Often that's all I need for one reason or another.
The text was updated successfully, but these errors were encountered: