You are not logged in.
- Topics: Active | Unanswered
Announcement
*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
#1 2011-11-26 07:54:47
- Scholli
- Member
- Registered: 2011-11-26
- Posts: 3
Overpass API: Wildcard query such as "v=abc*" possible?
Given the following non-wildcard query:
<query type="node">
<has-kv k="name" v="San Francisco"/>
</query>
<print/>
(or http://www.overpass-api.de/api/xapi?node[name=San Francisco])
Is there a way to query this way:
<query type="node">
<has-kv k="name" v="San*"/>
</query>
<print/>
(or http://www.overpass-api.de/api/xapi?node[name=San*])
.. and getting results like "San Francisco", "San Jose", ...
The example above is actually not working, just used it to explain my needs.
Thanks
Last edited by Scholli (2011-11-26 10:23:49)
Offline
#2 2011-11-26 11:08:29
- greencaps
- Member
- Registered: 2009-10-05
- Posts: 423
Re: Overpass API: Wildcard query such as "v=abc*" possible?
Pleas do not post your question twice. It's already on answer in Questions and Answers.
Offline