gtfs:AccessPoint

Description

See https://developers.google.com/transit/gtfs/reference/#stopstxt

It is a GTFS stop which location_type is equal to 2.

Data Model

The data model is defined as shown below:

  • id: Entity ID

    • It shall be urn:ngsi-ld:gtfs:AccessPoint:<access_point_identifier> being access_point_identifier a value that can derived from the stop_id field.
  • type: Entity Type

    • It shall be equal to gtfs:AccessPoint
  • dateCreated : Entity's creation timestamp.

    • Attribute type: DateTime
    • Read-Only. Automatically generated.
  • dateModified : Last update timestamp of this Entity.

    • Attribute type: DateTime
    • Read-Only. Automatically generated.

The following Attributes shall be as mandated by gtfs:Stop:

  • name
  • code
  • page
  • description
  • location
  • wheelChairAccessible
  • address
  • hasParentStation

Examples of use 1 (Normalized Format)

{
    "id": "urn:ngsi-ld:AccessPoint:Madrid:acc_4_1_3",
    "type": "gtfs:AccessPoint",
    "name": {
        "value": "Bravo Murillo"
    },
    "hasParentStation": {
        "type": "Relationship",
        "value": "urn:ngsi-ld:Station:Madrid:est_90_21"
    },
    "location": {
        "type": "geo:json",
        "value": {
            "type": "Point",
            "coordinates": [-3.69036, 40.46629]
        }
    },
    "address": {
        "type": "PostalAddress",
        "value": {
            "addressLocality": "Madrid",
            "addressCountry": "ES",
            "streetAddress": "Calle de Bravo Murillo 377",
            "type": "PostalAddress"
        }
    }
}

Examples of use 2 (?options=keyValues simplified representation for data consumers)

{
    "id": "urn:ngsi-ld:AccessPoint:Madrid:acc_4_1_3",
    "type": "gtfs:AccessPoint",
    "name": "Bravo Murillo",
    "location": {
        "type": "Point",
        "coordinates": [-3.69036, 40.46629]
    },
    "address": {
        "type": "PostalAddress",
        "streetAddress": "Calle de Bravo Murillo 377",
        "addressLocality": "Madrid",
        "addressCountry": "ES"
    },
    "hasParentStation": "urn:ngsi-ld:Station:Madrid:est_90_21"
}

Summary of mappings to GTFS

Properties

Same as gtfs:Stop.

Relationships

GTFS Field NGSI Attribute LinkedGTFS Comment
hasParentStation shall point to another Entity(ies) of type gtfs:Station

Open issues