Skip to content

Commit 8aaf9ce

Browse files
updated on 2026-04-01T16:27:46.803446
1 parent 7a24a90 commit 8aaf9ce

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

OSMRailway/README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
[![Smart Data Models](https://smartdatamodels.org/wp-content/uploads/2022/01/SmartDataModels_logo.png "Logo")](https://smartdatamodels.org)
2+
# OSMRailway
3+
Version: 0.0.1
4+
5+
## Description
6+
7+
A railway track or infrastructure element from OpenStreetMap tagged with the railway key. Covers all types of rail infrastructure, from mainline heavy rail to trams, subways and funiculars.
8+
9+
### Specification
10+
11+
Link to the [interactive specification](https://swagger.lab.fiware.org/?url=https://smart-data-models.github.io/dataModel.OpenStreetMap/OSMRailway/swagger.yaml)
12+
13+
### Examples
14+
15+
Link to the [example](https://smart-data-models.github.io/dataModel.OpenStreetMap/OSMRailway/examples/example.json) (keyvalues) for NGSI v2
16+
17+
Link to the [example](https://smart-data-models.github.io/dataModel.OpenStreetMap/OSMRailway/examples/example.jsonld) (keyvalues) for NGSI-LD
18+
19+
Link to the [example](https://smart-data-models.github.io/dataModel.OpenStreetMap/OSMRailway/examples/example-normalized.json) (normalized) for NGSI-V2
20+
21+
Link to the [example](https://smart-data-models.github.io/dataModel.OpenStreetMap/OSMRailway/examples/example-normalized.jsonld) (normalized) for NGSI-LD
22+
23+
### Dynamic Examples generation
24+
25+
Link to the [Generator](https://smartdatamodels.org/extra/ngsi-ld_generator.php?schemaUrl=https://raw.githubusercontent.com/smart-data-models/dataModel.OpenStreetMap/master/OSMRailway/schema.json&email=info@smartdatamodels.org) of NGSI-LD normalized payloads compliant with this data model. Refresh for new values
26+
27+
Link to the [Generator](https://smartdatamodels.org/extra/ngsi-ld_generator_keyvalues.php?schemaUrl=https://raw.githubusercontent.com/smart-data-models/dataModel.OpenStreetMap/master/OSMRailway/schema.json&email=info@smartdatamodels.org) of NGSI-LD keyvalues payloads compliant with this data model. Refresh for new values
28+
29+
Link to the [Generator](https://smartdatamodels.org/extra/geojson_features_generator.php?schemaUrl=https://raw.githubusercontent.com/smart-data-models/dataModel.OpenStreetMap/master/OSMRailway/schema.json&email=info@smartdatamodels.org) of geojson feature format payloads compliant with this data model. Refresh for new values
30+
31+
### PostgreSQL schema
32+
33+
### Contribution
34+
35+
If you have any issue on this data model you can raise an [issue](https://github.com/smart-data-models/dataModel.OpenStreetMap/issues) or contribute with a [PR](https://github.com/smart-data-models/dataModel.OpenStreetMap/pulls)
36+
37+
If you wish to develop your own data model you can start from [contribution manual](https://bit.ly/contribution_manual). Several services have been developed to help with:
38+
- [Test data model repository](https://smartdatamodels.org/index.php/data-models-contribution-api/) including the schema and example payloads, etc
39+
- [Generate PostgreSQL schema](https://smartdatamodels.org/index.php/sql-service/) to help create a table, create type, etc

0 commit comments

Comments
 (0)