Places API

Barrier Swing Gate API

The Barrier Swing Gate API returns locations and OpenStreetMap tags for about 126,000 swinging gates that block or permit passage. Records include coordinates, settlement context, population, flood risk, climate group and land use. Use the data to map access points, assess nearby infrastructure or build geographic analyses in JSON, GeoJSON, CSV or Parquet.

Indonesia, Germany · JSON, GeoJSON, CSV, Parquet

POSThttps://api.outerview.ai/v1/stream
curl https://api.outerview.ai/v1/stream \
  -X POST \
  -H "Authorization: Bearer $OUTERVIEW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "barrier swing gate",
    "region_id": "170057",
    "limit": 50
  }'

Key facts

  • The dataset contains about 126,000 mapped swing gates.
  • Indonesia accounts for 32.7% of records, and Germany accounts for 20.8%.
  • Berlin represents 1.4% of records in the listed city coverage.
  • Latitude, longitude and OpenStreetMap properties are filled in 100% of records.

Quick start

  1. 1. Create an account and generate an API key on the developer platform.
  2. 2. Send it as a Bearer token in the Authorization header.
  3. 3. Query by place, radius or date (the example searches Berlin).

Bulk download

GET https://api.outerview.ai/api/v1/beacon/barrier-swing-gate/download?format=geojson

Add &region_slug=… to limit to one place. Formats: csv, geojson, parquet.

Sample records

Real records from the data, trimmed to the main fields.

10 records
CityNameCountryWheelchairHoursLatitudeLongitude
Viladecansbarrera vehicles autoritzatsSpain——41.277242.05351
—Puerta NaranjaMexico——28.70179-106.23844
—UpponyHungary——48.2142920.44089
BeringenBarrier 55Belgium——51.078785.32557
—ACCESO INDIO AMERICANOMexicoyes24/732.49595-116.89804
—木樁柵欄Taiwan——22.675121.50446
AustinLost Creec Counrty Club GateUnited Statesyessunrise-sunset30.2739-97.84558
Greater LondonNorthumberland AvenueUnited Kingdom——51.564980.0406
—Flood gateUnited Kingdom——52.352930.04459
—Doodle Oak Gate;Duplicate of Doodle Oak GateUnited Kingdom——51.845550.2324

Overview

This dataset covers swinging gates that block or permit passage, commonly attached to posts with hinges and a latch. It is sourced from OpenStreetMap contributors and is suited to developers, mapping teams and data buyers working with geographic features and access infrastructure.

Each record represents a mapped gate location with associated OpenStreetMap tags and geographic context. The source data is available under the Open Database License (ODbL).

Coverage

The dataset contains about 126,000 records across multiple countries. Indonesia accounts for 32.7% and Germany for 20.8%; Poland and France each account for 4.7%. The United Kingdom accounts for 3.6% and the United States for 3.5%.

Coverage includes places such as Banten and Jakarta in Indonesia, Berlin and Hamburg in Germany, and Greater London in the United Kingdom. These are mapped OpenStreetMap features, not a guarantee of complete coverage in every place.

Fields

Every record includes latitude and longitude, all OpenStreetMap tags in properties, source dataset, settlement class, population within one kilometre, and flood zone. These fields are filled in 100% of records. Climate group is filled in 99% and land use categories in 55%.

OpenStreetMap tags can include descriptive values such as a gate name, opening hours or wheelchair access when mapped. Sample records include gates in Viladecans, Austin and Greater London.

  • latLatitude
  • lngLongitude
  • propertiesAll OpenStreetMap tags for the place
  • sourceSource dataset
  • settlement_classCity, town or countryside
  • ghsl_pop_1km_2020How many people live here (people)
  • flood_zoneFlood risk
  • climate_groupClimate group
  • land_use_categoriesLand use

Queries

Narrow results by region or radius, select the fields your application needs, and use date filters where date information is available. The listed record fields do not include a date field, so date-based filtering depends on date information available for the query.

Use streaming for live queries and bulk downloads for whole datasets. Available formats are JSON, GeoJSON, CSV and Parquet.

Use cases

Build maps of mapped swing gates and access points; compare gate locations with settlement class, population and land use; add gate context to routing or fieldwork tools; identify mapped gates in flood-risk areas; and support geographic research using OpenStreetMap tags.

Pricing

Access requires an API key. JSON, GeoJSON, CSV and Parquet formats are available. A free tier is available, with paid plans for higher limits and bulk downloads; plan prices are not specified here.

Frequently asked questions

Is there an API for swing gate locations?

Yes. The Barrier Swing Gate API provides mapped swing gate locations with latitude, longitude and OpenStreetMap tags. The dataset has about 126,000 records and is available in JSON, GeoJSON, CSV and Parquet.

Which countries have the most mapped swing gates?

Indonesia and Germany have the largest shares in this dataset. Indonesia accounts for 32.7% of records and Germany for 20.8%, with coverage also including Poland, France, the United Kingdom and the United States.

What fields does the Barrier Swing Gate API return?

Records include latitude, longitude, OpenStreetMap properties, source dataset, settlement class, population within one kilometre, flood zone, climate group and land use categories. Climate group is present in 99% of records, while land use categories are present in 55%.

Can I get swing gate data for Berlin?

Yes. Berlin is among the listed cities in the coverage data, accounting for 1.4% of records. You can query by region to work with records for a particular place.

Can I filter swing gates by radius?

Yes. Radius filtering can be used to narrow geographic results around a location. Records include latitude and longitude, allowing locations to be used in geographic workflows.

Does the API include gate opening hours?

Opening hours may appear in the OpenStreetMap properties when they have been mapped. Sample records include values such as 24/7 and sunrise-sunset, but the field list does not guarantee that opening hours are available for every gate.

How often is the swing gate data updated?

The provided dataset facts do not specify an update schedule. The data source is OpenStreetMap contributors, and the records contain mapped features and tags; check the API's current data information for update timing.

Can I download the whole swing gate dataset?

Yes. Bulk downloads are available for whole datasets on paid plans. The supported formats are JSON, GeoJSON, CSV and Parquet; an API key is required for access.

Start building with the Barrier Swing Gate API

Free to try. Paid plans raise limits and unlock bulk downloads.