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

Investigate support for queries using XAPI-style predicates #21

Open
jkoshy opened this issue May 26, 2011 · 0 comments
Open

Investigate support for queries using XAPI-style predicates #21

jkoshy opened this issue May 26, 2011 · 0 comments
Assignees
Labels
Milestone

Comments

@jkoshy
Copy link
Contributor

jkoshy commented May 26, 2011

XAPI offers the ability to query the map using complex predicates.

For example:

  • /api/0.6/node[amenity=hospital]
    Queries the map for all nodes containing <tag k="amenity" v="hospital" />
  • /api/0.6/*[key1=value1][key2=value2]...
    Queries the map for all elements matching the predicates (key1 == value1 && key2 == value2).
  • /api/0.6/relation[not(way)]
    Retrieve relations that do not have way members.
  • /api/0.6/node[@user=name]
    Retrieve nodes last change by a specific user name.

Investigate how best these queries could be implemented in the current architecture.

@ghost ghost assigned jkoshy May 26, 2011
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

1 participant