Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search for date namespace suffix tags #108

Closed
ghost opened this issue Dec 20, 2014 · 6 comments
Closed

search for date namespace suffix tags #108

ghost opened this issue Dec 20, 2014 · 6 comments
Labels

Comments

@ghost
Copy link

ghost commented Dec 20, 2014

Hi,

I have recently added description of the "date namespace" suffix to the wiki ( http://wiki.openstreetmap.org/wiki/Date_namespace ) which is used for example in variations key:name .

It would be really nice to have statistics where and how it is actually used but I have not found documentation if I can do regexp search with "http://taginfo.openstreetmap.org/search?q=" ? Similar stats might be interesting for language suffixes.

Btw in the wikipage I have also suggested (as defined in ISO 8601) to use a double hyphen for date-ranges alternatively.

TIA

@pyrog
Copy link
Contributor

pyrog commented Dec 20, 2014

Hi Rico,
Separator for date range is not clear. See Talk:Date_namespace

I also (quickly) searched for keys with date inside: http://taginfo.openstreetmap.org/search?q=19

  • his:1839-1973:highway that should be written as highway:1839-1973 or highway:1839/1973

@ghost
Copy link
Author

ghost commented Dec 20, 2014

clarified in talk page - I think that "/" in key names would be awkward but open to suggestions.

In every case we need the single hyphen ("highway:1839-1973") because it is already in use for many variants of key:name

@joto joto added the bogus label Dec 20, 2014
@joto
Copy link
Member

joto commented Dec 20, 2014

Please keep discussions about tag formats somewhere else. This has nothing to do with taginfo.

@joto joto closed this as completed Dec 20, 2014
@ghost
Copy link
Author

ghost commented Dec 21, 2014

It is a feature (or documentation) request to taginfo:

How do I get statistics about the use of date ranges in key - all keys that are used with any date suffix like eg "name:1933-1945=.."

@joto
Copy link
Member

joto commented Dec 21, 2014

You don't. Don't make OSM into a historic database, the data model is not powerful enough.

@ghost
Copy link
Author

ghost commented Dec 22, 2014

It was not my idea, seems widespread with key:name although I have no statistics.

It is not a historical database but as long as the object is still existent and like some streets has been renamed more than once within 20 years it may be a good idea to keep the old names stored in the main database.

Independent of that, language code suffix for keys is widely accepted and in use but could use some extra support from taginfo - or documentation of what can be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants