POI Data
Last updated
Was this helpful?
Last updated
Was this helpful?
(OSM) is maybe the most extensive open data project for geo-data. It has rich information on points of interest (POIs), such as apartments, shops, or offices, globally.
Based on the original .osm
files, which provides as a daily update, we parse the OSM tags and create consolidated objects.
We aggregate tags that are useful for categorization into 24 high-level categories:
administration, airport, apartment, art_culture, automobile, beauty, cafe, drinks, education, entertainment, food, groceries, medical, misc, office, public_service, public_transportation, recreation, religious_building, service, shopping, social_service, sport, tourism, wholesaler
For ways and relations, we transform the building footprint into the GeoJSON
format. For address and contact details, we also consolidate the OSM tags into separate objects.
Installed version of node, npm, Docker and docker-compose.
This project has dependency on . This module requires you to have the following libraries installed on your machine: git, gyp, make, cmake, and a C compiler (gcc or clang).
An easy way to run docker on your machine is using with a GUI to manage your containers.
Hints for macOS
Installation of node + npm and docker-compose via Homebrew:
Install node modules in both the current folder/project and in the shared folder which is present in the root directory.
Make sure Docker is running on your machine.
Start mongo with docker-compose
Load OSM data into database
Follow the prompts to download, process and write data for a continent, country or region [2]
Run the app locally.
(Data can only be returned for regions that have previously been downloaded and processed.)
Get POIs within Radius
Request Method: GET
URL: /radius/:radius
Query Params (required): h3_index
OR lat, lng
Example: localhost:3001/radius/50?lat=52.5291472&lng=13.4015439
Get POIs within Polygon
Request Method: GET
URL: /geojson
Request Body (required): GeoJSON
format
Example: localhost:3001/geojson
Request Body:
Categories
Relevant yet unmatched OSM tags are automatically added to the category misc
and then can be added to more appropriate high-level categories. When committing, also include the new tags under misc
for later categorization.
Alternative: You can also download .osm.pbf files directly from and place them in an arbitrary folder under tmp/osmFiles
and follow [1] instead.
We are neither providing nor are we responsible for the OSM data. This repository is purely a tool for working with that data. You are responsible for complying with OSM's and 's licences when using the data.
OSM is published under the .