...
Code Block |
---|
/// A known trajectory input_traj = ACCESS({ source='Source', wrapper='GenericPull', transport='File', protocol='Text', datahandler='Tuple', metaattribute = ['TimeInterval', 'PredictionTimes'], options=[ ['filename', '/home/tobi/dev/odysseus_workspace/phd-workspace/Moving Object/Basic Queries/predefinedTrajectory/temporalGeoJson.txt'], ['Delimiter', ';'] ], schema=[['data', 'String']] }) json = MAP({ expressions = [['FromTemporalGeoJson(data)','tempTrajectory']] },input_traj) |
https://github.com/socib/Leaflet.TimeDimension#ltimedimensionlayergeojson
Code Block | ||
---|---|---|
| ||
{ "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "times":[ "1534255083000", "1534255093000", "1534255003000", "1534255103000", "1534255113000", "1534255123000", "1534255133000", "1534255143000", "1534255153000", "1534255163000", "1534255173000", "1534255183000", "1534255193000" ] }, "geometry": { "type": "LineString", "coordinates": [ [ 8.188934326171875, 53.48722843308561 ], [ 8.206787109375, 53.55581022359457 ], [ 8.177947998046875, 53.63161060657857 ], [ 8.136749267578125, 53.69345406966439 ], [ 8.24249267578125, 53.747898723904164 ], [ 8.378448486328125, 53.78523783809317 ], [ 8.36334228515625, 53.820922446131306 ], [ 8.260345458984375, 53.82983885331911 ], [ 8.1573486328125, 53.82902834926158 ], [ 8.029632568359375, 53.82983885331911 ], [ 7.901916503906249, 53.82335438174398 ], [ 7.794799804687499, 53.81038242731128 ], [ 7.745361328125, 53.782803690625954 ] ] } } ] } |
...