... | ... | @@ -130,82 +130,81 @@ The events are published in the topic in JSON format. Here you can see an exampl |
|
|
}
|
|
|
]
|
|
|
```
|
|
|
Description of the fields for the use case of "Eventos deportivos" through the DGT 3.0 platform. Publish the geometric information of the event along with its roads, pk and passing times:
|
|
|
|
|
|
Schema for publication of sporting events through the DGT 3.0 platform. Publish the geometric information of the event along with its roads, pk and passing times:
|
|
|
**(*)= Field that may not appear in the posted JSON**
|
|
|
|
|
|
- **type** (string): Feature Identifier.
|
|
|
|
|
|
- **geometry**: Collection of geometries of each stage section of TR10. Geometric representation with the coordinates.
|
|
|
- **geometry**: Collection of coordinates that represent the result of tracking a sports event. This collection of coordinates will be contained in the collection represented by the _geom_ field of this same JSON document
|
|
|
|
|
|
- **type**(string): Geometry type identifier.
|
|
|
|
|
|
- **coordinates**: Routemeter Coordinate Collection.
|
|
|
|
|
|
- **timestamp** (fecha UTC): Date and time in UTC format of the moment in which the car park was updated for the last time. It needs to not be a future timestamp with respect to the current UTC time. The date must end with the character 'Z' that marks that it is in UTC
|
|
|
|
|
|
- **properties**: Schema properties for the publication of sporting events.
|
|
|
|
|
|
- **objectid_1**(integer): Stage Identifier
|
|
|
|
|
|
- **objectid**(integer): Object identifier according to GIS.
|
|
|
- **eventoId** (integer):Sporting event identifier.
|
|
|
|
|
|
- **ddtram_cod**(int): Official identifier of the section in BDC (Road Database)
|
|
|
- **etapaId** (integer): Identificador de la etapa que pertenece a un evento deportivo único definido por el campo _**idEvento**_.
|
|
|
|
|
|
- **ddcar_codi**(string): Road identifier in BDC (Road Database)
|
|
|
- **objectid_1** (integer): Identificador del tramo que pertenece a una etapa única definida por el campo _**etapaId**_.
|
|
|
|
|
|
- **(*) objectid**(integer): Identificador del objeto según GIS.
|
|
|
|
|
|
- **ddcar_deno**(string): Road name in BDC (Road Database)
|
|
|
- **ddtram_cod**(int): Identificador oficial del tramo en BDC (Base de Datos de Carreteras)
|
|
|
|
|
|
- **ddtram_den**(string): Name of the section in the road database
|
|
|
- **ddcar_codi**(string): Identificador de la carretera en BDC (Base de Datos de Carreteras)
|
|
|
|
|
|
- **ddtram_tip**(string): Typology of the owner of the section in road databases
|
|
|
- **ddcar_deno**(string): Denominación de carretera en BDC (Base de Datos de Carreteras)
|
|
|
|
|
|
- **ddtram_tit**(string): Name of the owner of the section in road databases
|
|
|
- **ddtram_den**(string): Denominación del tramo en base de datos de carreteras
|
|
|
|
|
|
- **ddtram_t_1**(string): Typology of the section in the road database
|
|
|
- **ddtram_tip**(string):Tipología del titular del tramo en bases de datos de carreteras
|
|
|
|
|
|
- **ddtram_lon**(integer): Total length of the section in the road database
|
|
|
- **ddtram_tit**(string): Nombre del titular del tramo en bases de datos de carreteras
|
|
|
|
|
|
- **pk_ini**(string): Kilometer starting point of the section and official section in the road database.
|
|
|
- **ddtram_t_1**(string):Tipología del tramo en base de datos de carreteras
|
|
|
|
|
|
- **pk_fin**(string): Kilometer point of end of the section and official of the section in road database.
|
|
|
- **(*) ddtram_lon**(integer):Longitud total del tramo en base de datos de carreteras
|
|
|
|
|
|
- **idtipovian**(string): Road typology in road databases.
|
|
|
- **pk_ini**(string): Punto kilométrico de inicio del tramo y oficial del tramo en base de datos de carreteras.
|
|
|
|
|
|
- **ddprov_pro**(string): Province of the section in road database.
|
|
|
- **pk_fin**(string): Punto kilométrico de fin del tramo y oficial del tramo en base de datos de carreteras.
|
|
|
|
|
|
- **ddcom_comu**(string): Autonomous community of the section in the road database.
|
|
|
- **i(*) dtipovian**(string): Tipología de la carretera en Bases de datos de carreteras
|
|
|
|
|
|
- **color**(string): Road color according to GIS for mapamovilidad.es.
|
|
|
- **ddprov_pro**(string): Provincia del tramo en base de datos de carreteras
|
|
|
|
|
|
- **pkinigis**(integer): Starting kilometer point of the section according to the GIS.
|
|
|
- **(*) ddcom_comu**(string): Comunidad autónoma del tramo en base de datos de carreteras
|
|
|
|
|
|
- **pkfingis**(integer): Kilometric point of end of the section according to GIS.
|
|
|
- **(*) color**(string): Color de vía segun GIS para mapamovilidad.es
|
|
|
|
|
|
- **shape_length**(numeric): Length of the shape according to coordinates.
|
|
|
- **(*) pkinigis**(integer): Punto kilométrico de inicio del tramo según el GIS.
|
|
|
|
|
|
- **hora_fin_paso**(Time): Time of passage of the last participant.
|
|
|
- **(*) pkfingis**(integer): Punto kilométrico de fin del tramo según GIS.
|
|
|
|
|
|
- **hora_inicio_paso**(Time): Time of passage of the first participant.
|
|
|
- **(*) shape_leng**(numeric): Longitud de la forma según coordenadas
|
|
|
|
|
|
- **ddcar_carr**(string): Official highway nomenclature in highway database.
|
|
|
- **ddcar_carr**(string): Nomenclatura oficial de la carretera en base de datos de carreteras
|
|
|
|
|
|
- **pk_inicio_tram_etp**(integer): Kilometric starting point of occupation of the section.
|
|
|
- **pk_inicio_tram_etp**(integer): Punto kilométrico de inicio de ocupación del tramo
|
|
|
|
|
|
- **pk_fin_tram_etp**(integer): Kilometric point of end of occupation of the stage section.
|
|
|
- **pk_fin_tram_etp**(integer): Punto kilométrico de fin de ocupación del tramo etapa
|
|
|
|
|
|
- **tipo_vialidad**(string): Description of the road by which the section is affected.
|
|
|
- **tipo_vialidad**(string): Descripción de la vialidad por la que se ve afectado el tramo
|
|
|
|
|
|
- **cod_vialidad**(string): Identification code of the road by which the section is affected
|
|
|
- **cod_vialidad**(string): Código identificativo de la vialidad por la que se ve afectado el tramo
|
|
|
|
|
|
- **geom**(string): Collection of route meter coordinates.
|
|
|
- **geom**(string): Colección de coordenadas que representan la ruta total del tramo sobre el que se está haciendo el seguimiento.
|
|
|
|
|
|
- **tsinicio**(ZonedDateTime): Test start date.
|
|
|
- **tsinicio**(ZonedDateTime): Fecha de inicio de la prueba.
|
|
|
|
|
|
- **tsfin**(ZonedDateTime): Test end date.
|
|
|
- **tsfin**(ZonedDateTime): Fecha de fin de la prueba.
|
|
|
|
|
|
- **evento** (número entero): Name of the event resolved in DGT.
|
|
|
- **evento** (número entero): Denominación del evento resuelto en DGT
|
|
|
|
|
|
- **timestamp** (Date UTC): Date and time in UTC format of the moment in which the event was generated. It needs to be a maximum of 30 seconds old with respect to UTC time. The date must end with the character 'Z' that marks that it is in UTC.
|
|
|
- **timestamp** (Fecha UTC): Fecha y hora en formato UTC del momento en el que el evento se ha generado. Es necesario que sea de un máximo de 30 segundos de antiguedad con respecto a la hora UTC.
|
|
|
|
|
|
See more information and a connection example [here](https://gitlab.cs.cmobility30.es/dgt3.0_esp/general/-/wikis/MQTT).
|
|
|
|
... | ... | |