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. Create an account and generate an API key on the developer platform.
- 2. Send it as a Bearer token in the
Authorizationheader. - 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=geojsonAdd ®ion_slug=… to limit to one place. Formats: csv, geojson, parquet.
Sample records
Real records from the data, trimmed to the main fields.
| City | Name | Country | Wheelchair | Hours | Latitude | Longitude |
|---|---|---|---|---|---|---|
| Viladecans | barrera vehicles autoritzats | Spain | — | — | 41.27724 | 2.05351 |
| — | Puerta Naranja | Mexico | — | — | 28.70179 | -106.23844 |
| — | Uppony | Hungary | — | — | 48.21429 | 20.44089 |
| Beringen | Barrier 55 | Belgium | — | — | 51.07878 | 5.32557 |
| — | ACCESO INDIO AMERICANO | Mexico | yes | 24/7 | 32.49595 | -116.89804 |
| — | 木樁柵欄 | Taiwan | — | — | 22.675 | 121.50446 |
| Austin | Lost Creec Counrty Club Gate | United States | yes | sunrise-sunset | 30.2739 | -97.84558 |
| Greater London | Northumberland Avenue | United Kingdom | — | — | 51.56498 | 0.0406 |
| — | Flood gate | United Kingdom | — | — | 52.35293 | 0.04459 |
| — | Doodle Oak Gate;Duplicate of Doodle Oak Gate | United Kingdom | — | — | 51.84555 | 0.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.
latLatitudelngLongitudepropertiesAll OpenStreetMap tags for the placesourceSource datasetsettlement_classCity, town or countrysideghsl_pop_1km_2020How many people live here (people)flood_zoneFlood riskclimate_groupClimate groupland_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.