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.***
Pages: 1
#1 2019-06-28 04:53:31
- Дмитрий_
- Member
- Registered: 2018-08-06
- Posts: 4
Поиск Poi по части слова.
Привет. Подскажите есть ли способ поиска через API по части названия точки poi. Например нужно все poi или адреса которые начинаются на "красное"
Offline
#2 2019-06-28 11:48:17
- alexey_zakharenkov
- Member
- From: Московская область
- Registered: 2015-12-09
- Posts: 87
Re: Поиск Poi по части слова.
Overpass API поддерживает фильтрацию ключей и значений по регулярному выражению. Примерно так:
nwr[name~"^Красное"]({{bbox}});Только нужно существенно ограничить такой поиск либо дополнительными тегами, либо небольшим bounding box-ом.
Offline
Pages: 1