This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How do I filter a place based on facilities?

0

I want to create a map for an event showing places with lists of facilities, "food", "toilets", "water" etc. I want the user to be able to filter out everything except the thing they want eg "food". Any suggestions?

asked 24 Dec '22, 21:46

Stuart%20at%20Bikefix's gravatar image

Stuart at Bi...
11112
accept rate: 0%


2 Answers:

0

uMap might help you.

Mapcontrib and mapcomplete are primarily editors, but can also serve as thematic viewers.

More information about these softwares and many others can be found on the OSM wiki.

Regards.

answered 26 Dec '22, 13:39

H_mlet's gravatar image

H_mlet
5.4k1781
accept rate: 13%

Been trying to find something in umap but without success.

(26 Dec '22, 18:29) Stuart at Bi...

Did you check this guide ?

You would need to create a new layer, with a dedicated overpass query, for each "category" that users might enable or disable.

Might be quite slow though.

(sorry for the loong delay).

(06 Jan '23, 15:53) H_mlet

0

If you want a static site, that works fast, the better is to download the data of each "layer" as GPX (or another geo format), through overpass-turbo for exemple, and load them over an OSM background using leaflet and one of its plugins. There are also plugins for layer management and such.

Regards.

answered 06 Jan '23, 15:58

H_mlet's gravatar image

H_mlet
5.4k1781
accept rate: 13%

Source code available on GitHub .