Key facts
- The Railway Milestone API contains about 266,000 records.
- New Zealand accounts for 96.4% of reported coverage.
- Australia accounts for 3.4% of reported coverage, including Victoria and New South Wales.
- The coverage breakdown is based on a sample of 4,000 rows.
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 Melbourne).
Bulk download
GET https://api.outerview.ai/api/v1/beacon/railway-milestone/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.
| Name | Country | Latitude | Longitude |
|---|---|---|---|
| 174/Midland Line | New Zealand | -42.57698 | 171.47957 |
| 175/Midland Line | New Zealand | -42.57311 | 171.47015 |
| 176/Midland Line | New Zealand | -42.56451 | 171.47329 |
| 181/Midland Line | New Zealand | -42.54469 | 171.42216 |
| 180/Midland Line | New Zealand | -42.54837 | 171.4332 |
| 182/Midland Line | New Zealand | -42.5412 | 171.41513 |
| 179/Midland Line | New Zealand | -42.55179 | 171.44443 |
| 178/Midland Line | New Zealand | -42.55479 | 171.45587 |
| 177/Midland Line | New Zealand | -42.55751 | 171.46748 |
| 173/Midland Line | New Zealand | -42.57996 | 171.49037 |
Overview
Railway milestones are markers, often small posts or signs beside railway tracks, that indicate distance. This API provides their mapped locations and associated attributes.
Developers, researchers and data buyers can use the records for railway mapping, infrastructure analysis and location-aware applications. The data is sourced from OpenStreetMap contributors under the ODbL.
Geographic coverage
The dataset contains about 266,000 records. New Zealand accounts for 96.4% of coverage, while Australia accounts for 3.4%; smaller shares are reported in Angola and Finland, among other countries.
Listed local coverage includes Victoria and New South Wales in Australia, Huíla Province in Angola, and Melbourne and Sydney. Coverage figures are based on a sample of 4,000 rows.
Fields
Each record includes name, lat and lng coordinates, properties containing OpenStreetMap tags, and source identifying the source dataset. These fields are reported as filled in 100% of records.
Context fields include settlement_class (city, town or countryside), ghsl_pop_1km_2020 (population within the surrounding area), flood_zone and climate_group. The first three are filled in 100% of records; climate_group is filled in 98%.
nameName of the placelatLatitudelngLongitudepropertiesAll OpenStreetMap tags for the placesourceSource datasetsettlement_classCity, town or countrysideghsl_pop_1km_2020How many people live here (people)flood_zoneFlood riskclimate_groupClimate group
Queries
Use region or radius filters to focus on a location, and select fields to retrieve the attributes your application needs. Date filtering is useful when supported by the available query options; the supplied field list does not identify a date field.
Use streaming for live queries and bulk downloads for whole datasets. Available data formats are JSON, GeoJSON, CSV and Parquet.
Use cases
Map railway distance markers along routes and compare their mapped distribution between regions.
Build railway infrastructure inventories that combine marker coordinates with OpenStreetMap tags.
Analyse markers by city, town or countryside using settlement_class and geographic coordinates.
Enrich location analysis with population, flood-risk and climate-group context.
Create geographic data products or research datasets using GeoJSON, CSV or Parquet exports.
Pricing
Data is available in JSON, GeoJSON, CSV and Parquet. Access requires an API key.
A free tier is available. Paid plans provide higher limits and bulk downloads; no prices are stated here.
Frequently asked questions
Is there an API for railway milestones in New Zealand?
Yes. The Railway Milestone API includes mapped railway distance markers in New Zealand, which accounts for 96.4% of reported coverage. Records include marker names and coordinates, as well as OpenStreetMap tags and contextual fields.
How many railway milestone records are available?
The dataset contains about 266,000 records. The coverage breakdown is based on a sample of 4,000 rows, and New Zealand makes up the largest reported share.
What fields does the Railway Milestone API return?
Records include name, lat, lng, properties, source, settlement_class, ghsl_pop_1km_2020, flood_zone and climate_group. The supplied field list reports all of these as filled in 98% or more of records.
How often is railway milestone data updated?
A refresh schedule is not specified in the available dataset information. The data source is OpenStreetMap contributors under the ODbL, but that source attribution does not establish how often this API's records are refreshed.
Can I filter railway milestones by region or radius?
Region and radius filters are useful ways to narrow railway milestone queries. The dataset includes coordinates and country coverage information, but the available details do not specify the exact filter syntax or supported parameter names.
Are railway milestones available in Australia?
Yes. Australia accounts for 3.4% of reported coverage. Listed areas include Victoria and New South Wales, with Melbourne and Sydney among the named cities.
What formats are available for railway milestone data?
The available formats are JSON, GeoJSON, CSV and Parquet. GeoJSON is suited to geographic workflows, while CSV and Parquet support tabular data work; the dataset information does not specify format-specific contents.
Does the API include flood or climate information?
Yes. Records include flood_zone and climate_group fields. Flood-zone information is reported as filled in 100% of records, while climate_group is filled in 98%.
Start building with the Railway Milestone API
Free to try. Paid plans raise limits and unlock bulk downloads.