Skip to content

GeoLayers.Amenity

Saif Shabou edited this page Aug 2, 2021 · 8 revisions

Definition

Amenity data represents physical features on the ground with their corresponding geographic attributes. These data are useful for assessing for example sectors exposure to natural hazards.

Data sources

Data source Description
OpenStreetMap OSM provides free access to amenities data by the mean of a specific API (Overpass API)
Google Places Google Map provides paying access to amenities data by the mean of a specific API (Googles Places API)

OpenStreetMap data

Data model

OpenStreetMap (OSM) provides a free access to the different geographical features mapped by OSM contributors. The physical features are represented using tags attached to its basic data structures:

  • nodes: defining points in space
  • ways: defining linear features and area boundaries
  • relations: which are sometimes used to explain how other elements work together

For more details about OSM data structure, please refer to the OSM Elements page.

OpenStreetMap's free tagging system allows the map to include an unlimited number of attributes describing each feature. These tags are represented in key: value structure. The key, is used to describe a topic, category, or type of feature (e.g., highway or name). The value provides detail for the key-specified feature. For example, school features can be tagged with key = amenity and value = school.

Features categories

key values description description page
aerialway cable_car, gondola , station... This is used to tag different forms of transportation for people or goods by using aerial wires. aerialway tags
aeroway aerodrome, gate , terminal... These are mainly related to aerodromes, airfields other ground facilities that support the operation of airplanes and helicopters. aeroway tags
amenity bar, cafe , fast_food, restaurant, college, school, university, bus_station, parking, bank, hospital, cinema... Used to map facilities used by visitors and residents. amenity tags
barrier city_wall, wall, border_control.... These are used to describe barriers and obstacles that are usually involved by traveling. barrier tags
boundary administrative, hazard, national_park .. These are used to describe administrative and other boundaries. boundary tags
building apartments, hotel, residential, commercial, retail, church, hospital, train_station .. This is used to identify individual buildings or groups of connected buildings. building tags
craft agricultural_engines, carpenter, door_construction, electrician, distillery, upholsterer... This is used as a place that produces or processes customised goods. craft tags
emergency ambulance_station, emergency_ward_entrance, assembly_point... This is used to describe the location of emergency facilities and equipment. emergency tags
geological volcanic_vent, outcrop... This is used to describe the geological makeup of an area. geological tags
healthcare hospice, nurse, vaccination_centre, rehabilitation... Healthcare services are delivered by a variety of different professionals in different types of facilities. healthcare tags
highway motorway, residential, primary, secondary, road, busway... This is used to describe roads and footpaths. highway tags
cycleway lane, share_busway, shared_lane... This is used to describe roads and footpaths. cycleway tags
historic aqueduct, building, castle, monument, monastery... This is used to describe various historic places. historic tags
landuse commercial, education, residential, farmyard, forest, port, religious... This is used to describe the purpose for which an area of land is being used. landuse tags
leisure beach_resort, fitness_centre, park, stadium, swimming_pool... This is used to tag leisure and sports facilities. leisure tags
military bunker, office, training_area... This is used for facilities and on land used by the military. military tags
natural wood, tree_row, tree, beach, volcano... This is used to describe natural and physical land features. natural tags
office accountant, architect, association, company, government... This is used to describe natural and physical land features. office tags
place country, state, district, county, municipality, village, sea, island, square... This is used mainly to give details about settlements. place tags
power converter, generator, plant, terminal... These are used to map electrical power generation and distributions systems. power tags
public_transport stop_position, platform, stop_area... This is used for features related to public transport. For example: railway stations, bus stops and services. public_transport tags
route bicycle, bus, hiking, road, tram, subway... This is used to describe routes of all different kinds. route tags
shop butcher, beverages, tea, mall, supermarket, shoes... The shop tag is used as a place of business that has stocked goods for sale. shop tags
sport basketball, boxing, climbing, fitness, judo, skiing... This is used to provide information about which sports are placed on a facility such as a pitch or stadium sport tags
telecom exchange, distribution_point, data_center... These are used to map telecommunication systems. telecom tags
tourism aquarium, camp_site, hostel, hotel, zoo... This is used to map places and things of specific interest to tourists. tourism tags

Using the Overpass API

Data extraction

Amenity data model