Leaf: Business Locations Dataset: OpenStreetMap — shop=*, amenity=*, office=*

OSM provides global point and polygon features for businesses and services. Coverage is strongest in dense urban areas.

osmnx access

import osmnx as ox
ox.settings.cache_folder = ".cache/"
 
businesses = ox.features_from_place(
    "Copenhagen, Denmark",
    tags={
        "shop": True,
        "amenity": ["restaurant", "cafe", "bank", "pharmacy", "hospital", "school"],
        "office": True,
    },
)

Geofabrik layers

LayerContent
gis_osm_pois_free_1.shpPoint POIs including shops and amenities
gis_osm_pois_a_free_1.shpPolygon POIs

Key OSM tags

TagMeaning
shop=*Retail business class
amenity=*Public/commercial service class
office=*Office function
name=*Business name
brand=*Brand chain
opening_hours=*Opening schedule