Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Allow regexp (or wildcard) style queries for XAPI tag lookup #2025

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

Comments

@openstreetmap-trac
Copy link

Reporter: ShakespeareFan00
[Submitted to the original trac issue database at 5.35am, Friday, 3rd July 2009]

Currently it's nominaly possible to query XAPI directly if you know the
specfic tag you want.

Would it be possible to consider allowing the use of regexp so that a queries like

node[name={?}{?}{?)ton Place] (which would match to "name=Repton Place" "name=Manton Place"
but not to name="Acton Place" or name="Mansfield Place" or "name=Childs Way")
or

node[source={}Yahoo!{}] (which would match to "source=Yahoo!","source= NPE;Yahoo!","source=Yahoo!;NPE")

could be obtained via a XAPI.

I appreciate that matching regexps/wildcards might impose a sever load though.

@openstreetmap-trac
Copy link
Author

Author: pnorman
[Added to the original trac issue at 2.16am, Monday, 2nd April 2012]

Closing as this relates to the old XAPI which is no longer maintained. The new jxapi can be found at https://github.com/iandees/xapi-servlet and issues should be reported there.

With jxapi it would be prohibitively expensive to do a regexp server-side.

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

No branches or pull requests

1 participant