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

unable to query "created_by" tag with value "~OsmAnd.*" #202

Closed
govvin opened this issue Sep 12, 2015 · 1 comment
Closed

unable to query "created_by" tag with value "~OsmAnd.*" #202

govvin opened this issue Sep 12, 2015 · 1 comment
Labels

Comments

@govvin
Copy link

govvin commented Sep 12, 2015

I'm trying to find out how often OsmAnd is used for collecting POIs in a certain region [0]. I ran a query [1] using regex but it returns an empty result, although I know for a fact that POIs in the area exists as tag created_by=OsmAnd~ 2.1.1

Trying out a more generic query [1], using "created_by=*" produces results, but do not include those POIs with the value "OsmAnd~ 2.1.1".

Would this have to do with the tilde within the tag value?

[0] http://www.openstreetmap.org/changeset/33974559
[1] http://overpass-turbo.eu/s/bp8
[2] http://overpass-turbo.eu/s/bp7

@mmd-osm
Copy link
Contributor

mmd-osm commented Sep 12, 2015

The tag "created_by" you're referring to in [0] is part of the changeset metadata.

At this time, you can only query for nodes, ways, relations and areas, i.e. what you're trying to do is unfortunately impossible with Overpass API / overpass turbo. Both your examples [1] and [2] query for a tag created_by on the level node/way/relation. That's really something completely different!

There's already a GitHub ticket for your requirement. Please follow up there as needed: drolbr/Overpass-API#189

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

No branches or pull requests

3 participants