We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The query https://demo.addok.xyz/search/?q=gare à annecy return features with properties poi=bus_stop, poi=station or poi=platform.
poi=bus_stop
poi=station
poi=platform
https://demo.addok.xyz/search/?q=défibrillateur à marseille return features with property poi=defibrillator.
poi=defibrillator
I guess that poi is a filter of the demo.addok.xyz instance.
poi
Questions
The text was updated successfully, but these errors were encountered:
How to filter the search to get only poi=station ?
According #608 (comment) we could search for poi only: https://demo.addok.xyz/search/?q=annecy&type=poi Or filter the search to return city only: https://demo.addok.xyz/search/?q=annecy&type=city
{ "attribution": "BANO+OSM POI", "features": [ { "geometry": { "coordinates": [ 6.128885, 45.899235 ], "type": "Point" }, "properties": { "adm_weight": 4, "city": "Annecy", "departement": "Haute-Savoie", "id": "74010", "importance": 0.756, "label": "Annecy", "name": "Annecy", "population": 126924, "postcode": "74000", "region": "Auvergne-Rh\u00f4ne-Alpes", "score": 0.9778181818, "type": "city" }, "type": "Feature" } ], "filters": { "type": "city" }, "licence": "ODbL 1.0", "limit": 5, "query": "annecy", "type": "FeatureCollection", "version": "draft" }
Note: the query return the list of filters used (here type=city)
type=city
But https://demo.addok.xyz/search/?q=annecy&type=poi&poi=bus_stop don't work poi is not a filter for this instance.
Sorry, something went wrong.
POI data is generated by https://github.com/osm-fr/osmpoi4addok
It is then fed to addok in the standard way.
The types of POI taken into account are in the CVS file: https://github.com/osm-fr/osmpoi4addok/blob/master/def.csv
A filter exists on the type field, but none on the poi field itself. It could be added easily.
I've just added a filter on the poi field on demo.addok.xyz, but you still have to provide some text in the query q field...
https://demo.addok.xyz/search/?q=brest&poi=defibrillator&limit=100
Thank you 😃
cquest
No branches or pull requests
The query https://demo.addok.xyz/search/?q=gare à annecy return features with properties
poi=bus_stop
,poi=station
orpoi=platform
.https://demo.addok.xyz/search/?q=défibrillateur à marseille return features with property
poi=defibrillator
.I guess that
poi
is a filter of the demo.addok.xyz instance.Questions
poi=station
?The text was updated successfully, but these errors were encountered: