Closed marioscrock closed 3 years ago
the mapping in YARRRML
shapes:
sources:
- [/home/magarcia/nextcloud/MV/grecia/shapes.txt~csv]
s: http://transport.linkeddata.es/greece/shape/$(shape_id)
po:
- [a, gtfs:Shape]
- [gtfs:shapePoint, http://transport.linkeddata.es/greece/shape_point/$(shape_id)-$(shape_pt_sequence)]
shape_point:
sources:
- [/home/magarcia/nextcloud/MV/grecia/shapes.txt~csv]
s: http://transport.linkeddata.es/greece/shape_point/$(shape_id)-$(shape_pt_sequence)
po:
- [a, gtfs:ShapePoint]
- [geo:lat,$(shape_pt_lat),xsd:double]
- [geo:long,$(shape_pt_lon),xsd:double]
- [gtfs:pointSequence,$(shape_pt_sequence)]
- [gtfs:distanceTraveled,$(shape_dist_traveled)]
solved for all the mappings. @daniel-dona could you please check if these changes affects the generator?
queries have been also modified accordingly to the current version of the mappings. Affected queries: 1 and 9
Mapping for shapes GTFS file can be improved generating for each unique
shape_id
agtfs:Shape
and severalgtfs:ShapePoint
for related rows.