![]() |
MobilityDB 1.3
|
◆ MAX_LENGTH_TRIP
A simple program that reads from a CSV file synthetic trip data in Brussels generated by the MobilityDB-BerlinMOD generator https://github.com/MobilityDB/MobilityDB-BerlinMOD simplifies the trips using both Douglas-Peucker (DP) and Synchronized Euclidean Distance (SED, also known as Top-Down Time Ratio simplification), and outputs for each trip the initial number of instants and the number of instants of the two simplified trips. Please read the assumptions made about the input file The program can be build as follows gcc -Wall -g -I/usr/local/include -o 08_berlinmod_simplify 08_berlinmod_simplify.c -L/usr/local/lib -lmeos
Maximum length in characters of a trip in the input data. This value is set according to the following query executed in the database created by the MobilityDB-BerlinMOD generator. SELECT MAX(length(asHexEWKB(trip))) FROM trips;
-- 328178
|