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

make uid: and id: numerically comparable #331

Closed
polarbearing opened this issue Jul 19, 2017 · 1 comment
Closed

make uid: and id: numerically comparable #331

polarbearing opened this issue Jul 19, 2017 · 1 comment

Comments

@polarbearing
Copy link

As I understand, I can write statements to match a particular uid: or a list of such.
I can also make numerical comparisons with tag values, such as maxspeed>30.
However it seems I cannot make numerical comparisons with meta data (except the changset date).

It would be quite helpful e.g. when checking for sock puppets created by blocked users, based on the assumption that new uids are created with increasing numbers, to have a statement like number([uid:]) > 1000000.

Probably also good for the object id:

(So far my workaround is to create a CSV and throw it into sort -n )

@tyrasd
Copy link
Owner

tyrasd commented Jul 19, 2017

That sounds like a ticket for the upstream Overpass-API repository. Please consider reporting there – but it looks like as if (parts of) this feature request was already discussed in drolbr/Overpass-API#367

@tyrasd tyrasd closed this as completed Jul 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants