hauke96 / osm-open

Web application to visualize and filter opening hours of POIs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OSM Open

Visualizes open stores and lets you filter by date and tags. This enables you to find e.g. open restaurants for tomorrow evening.

There's a hosted version on hauke-stieler.de/osm-open.

OSM Open Screenshot

How to use

Load data

  1. Zoom to the area you want to search in.
  2. Click on "Load data" to load all elements with opening hours.
  3. Click on a point to get further information.

This step might take a few seconds depending on the amount of data and workload on the backend server (Overpass).

Select date

Select date and time to change the colors. If nothing is entered, the current date and time will be used.

Filter by tags

There are some presets availabel but you can also use your own queries. The "=" and "~" operators are supported, the latter one enables you to use regex syntax for the value.

For regex the normal JavaScript syntax is supported as the .match() method is used.

Examples

Search by equality: amenity=restaurant

Multiple possible values: amenity~(restaurant|fast_food|pub)

String occurrences: name~.*foo.* (all names with "foo" in it)

More complex query: name~^[aA].* (all things which name starts with the letter "a")

Contribute

This project only has a frontend, see the client README for details.

Also feel free to raise issues with feature requests or bugs. But keep in mind that this is a project I create in my spare time, so don't expect too much ;)

About

Web application to visualize and filter opening hours of POIs.

License:GNU General Public License v3.0


Languages

Language:TypeScript 86.2%Language:SCSS 8.2%Language:HTML 4.9%Language:JavaScript 0.7%