You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried to run the following code (available in example/command_line_example):
GPS trajectory matching in CSV file using fmm:
# XML configuration
fmm fmm_config_csv_trajectory.xml
# Command line arguments
fmm --ubodt ../data/ubodt.txt --network ../data/edges.shp --gps ../data/trips.csv --k 4 -r 0.4 -e 0.5 --output mr.txt
GPS point matching in CSV file using fmm:
# XML configuration
fmm fmm_config_csv_point.xml
# Command line arguments
fmm --ubodt ../data/ubodt.txt --network ../data/edges.shp --gps ../data/gps.csv --gps_point -k 4 -r 0.4 -e 0.5 --output mr.txt
Also the notebook: stmatch_example.ipynb specifically the part "Match GPS data stored in a file".
(I copied in a file fmm_test_new.py the stmatch_example.ipynb).
I always get the following error:
[2022-11-24 10:55:11.856] [critical] [gps_reader.cpp:137] Id id or Geometry column geom not found
Traceback (most recent call last):
File "fmm_test_nuevo.py", line 34, in
status = model.match_gps_file(input_config, result_config, fmm_config)
File "/usr/lib/python2.7/dist-packages/fmm.py", line 1217, in match_gps_file
return _fmm.FastMapMatch_match_gps_file(self, gps_config, result_config, config, use_omp)
RuntimeError: Id id or Geometry column geom not found
I followed all the installation steps correctly, without any error.
The text was updated successfully, but these errors were encountered:
Maybe this should be clarified in the documentation?
The exact specification of the default csv behavior (id / geometry) mode vs the gps-point mode behavior (id, x, y, time) seems not to be very clearly identified anywhere in the documentation.
I have tried to run the following code (available in example/command_line_example):
GPS trajectory matching in CSV file using fmm:
# XML configuration
fmm fmm_config_csv_trajectory.xml
# Command line arguments
fmm --ubodt ../data/ubodt.txt --network ../data/edges.shp --gps ../data/trips.csv --k 4 -r 0.4 -e 0.5 --output mr.txt
GPS point matching in CSV file using fmm:
# XML configuration
fmm fmm_config_csv_point.xml
# Command line arguments
fmm --ubodt ../data/ubodt.txt --network ../data/edges.shp --gps ../data/gps.csv --gps_point -k 4 -r 0.4 -e 0.5 --output mr.txt
Also the notebook: stmatch_example.ipynb specifically the part "Match GPS data stored in a file".
(I copied in a file fmm_test_new.py the stmatch_example.ipynb).
I always get the following error:
[2022-11-24 10:55:11.856] [critical] [gps_reader.cpp:137] Id id or Geometry column geom not found
Traceback (most recent call last):
File "fmm_test_nuevo.py", line 34, in
status = model.match_gps_file(input_config, result_config, fmm_config)
File "/usr/lib/python2.7/dist-packages/fmm.py", line 1217, in match_gps_file
return _fmm.FastMapMatch_match_gps_file(self, gps_config, result_config, config, use_omp)
RuntimeError: Id id or Geometry column geom not found
I followed all the installation steps correctly, without any error.
The text was updated successfully, but these errors were encountered: