Sport facilities

Explore sport facilities in Amsterdam

that is reachable with each public transport line.

Tram: --
Metro: --

Search for Skate along Tram or Metro lines with radius of 500 meters.

HERE Interactive Map Layer: Spatial and Property Search

Features stored in interactive map layers can be retrieved by spatial and/or property search queries. The spatial search query can be used to retrieve features that intersect a given point, line or area. This can be provided to the API as a GeoJSON geometry. Additionally, a radius parameter defined in meters could be specified.

The property search query can be used to retrieve features that have a property value that matches a given value. It is possible to search for numeric ranges, to query multiple property values, and to combine the queries using logical operators. Property search can be combined with requests for tile, bounding box and spatial search.

This example includes a map to explore sport facilities, public transport lines and stations in the city of Amsterdam. Amsterdam manages 26 sports parks, 19 sports centres, 10 swimming pools and over 100 smaller sports facilities in various neighbourhoods.

Selecting a line or station on the map or in the menu on the left side, will construct a geometry of all stations along the line as a Multipoint. Alternatively, a single station can be selected. The Point or Multipoint geometry is used as an input for the spatial search to filter the facilitues within a radius. This is combined with property search to return only the features with the selected sport type.

This example uses: Interactive API, XYZ Maps

Data source: City of Amsterdam

Source code: GitHub