Commit graph

86 commits

Author SHA1 Message Date
Patrick Brosi
7ccc303022 write attributions.txt crediting OSM contributors, mention OSM copyright in README, closes #53 2024-03-04 13:41:19 +01:00
Patrick Brosi
67b9f7f6d2 remove TODOs 2024-02-15 12:53:33 +01:00
Patrick Brosi
ad0252695f add -W [ --warn ] flag to output warning messages, update cppgtfs 2024-01-30 12:51:22 +01:00
Patrick Brosi
22bc04aa9d dont delete orphan edges anymore, might remove some candidates for edge snapping 2024-01-24 14:06:54 +01:00
Patrick Brosi
80504b21fe use int instead of char to hold return value of getopt_long to avoid issues if the default char is unsigned (arm64), update util and cppgtfs to fix further issues on such architectures 2024-01-02 16:26:07 +01:00
Patrick Brosi
be3c41b784 include stdint.h in Osm.h 2023-11-07 01:02:25 +01:00
Patrick Brosi
dd05506c42 update cppgtfs, add (hidden as of now, as the mode is not complete) option -F to keep additional non-standard GTFS fields 2023-11-06 17:59:29 +01:00
Patrick Brosi
f6228ee7a2 better handling of trip hops with an impossibly small travel time, minor homogenization of edge case behavior of hops() and hopsFast() for hops near maxCost 2023-10-13 22:51:23 +02:00
Patrick Brosi
cb606ef75f correctly handle output zip files in directories 2023-10-13 12:43:59 +02:00
Patrick Brosi
7a772486d0 update subprojects, refactoring 2023-10-12 13:03:21 +02:00
Patrick Brosi
1c459816de remove stray resize of maxCosts which seems to have been (wrongly) used to init all values of maxCosts to 0 (they are already zero via construction in line 33). Probably a refactoring gone wrong. Fixes #48. 2023-10-11 12:42:02 +02:00
Patrick Brosi
580f1807f3 update util 2023-10-06 12:14:03 +02:00
Patrick Brosi
194f37fcd5 fixed precision for runtime output 2023-09-06 13:02:06 +02:00
Patrick Brosi
57ee83644e check if libzip and bzip2 have been found before adding them to include_directories 2023-09-06 12:43:33 +02:00
Patrick Brosi
5c1ad4579f Compute costs based on collapsed edge geometry length, not on distance between adjacent nodes, fixing a regression introduced last year. Fixes #47 2023-09-06 12:13:46 +02:00
Patrick Brosi
58c47bb1a5 bz2 support for OSM reading and writing 2023-08-24 17:29:01 +02:00
Patrick Brosi
d43d9fc908 gz support for OSM xml reading and writing 2023-08-23 13:46:23 +02:00
Patrick Brosi
33a92077df correctly handle trips with no stop times, fixes #46 2023-08-21 13:56:46 +02:00
Patrick Brosi
43904f2346 use new cppgtfs version, adjust motToStr methods to handle sets of MOTs 2023-04-03 20:57:25 +02:00
Patrick Brosi
e085cfb1b2 remove superfluous space 2022-11-03 14:27:21 +01:00
Patrick Brosi
59d4f96c68 if no GTFS feed is supplied, use the XML input bounding box (this allows XML filtering without GTFS feeds), write <osm> tag with "version" and "generator" attributes. Fixes #26 2022-11-03 13:27:54 +01:00
Patrick Brosi
3e6e7ebfed update cppgtfs to include new route types trolleybus and monorail 2022-11-03 12:37:24 +01:00
Patrick Brosi
29f5b9bd10 add libzip include dirs 2022-10-12 12:40:56 +02:00
Patrick Brosi
79dd70c2f5 set LIBZIP_LIBRARY to "" if libzip was not found 2022-10-12 12:22:16 +02:00
Patrick Brosi
57545ced30 make libzip optional 2022-10-12 12:08:52 +02:00
Patrick Brosi
0699fccb1e update cppgtfs, support pathways, parse continuous_pickup and drop_off 2022-10-12 00:24:01 +02:00
Patrick Brosi
9a8e5d4e31 update cppgtfs, support ZIP reading and writing for GTFS feeds 2022-10-11 15:04:24 +02:00
Patrick Brosi
c5ebfbb57b include clocale in PfaedleMain.cpp 2022-08-29 14:26:03 +02:00
Patrick Brosi
af4d2293a6 typo 2022-02-01 09:20:17 +01:00
Patrick Brosi
db437e1d95 change some default values 2022-02-01 01:59:42 +01:00
Patrick Brosi
647a596dea make jaccard-geodist the default statsimi classifier 2022-01-31 23:44:53 +01:00
Patrick Brosi
cdbfb0966d correctly read osm_max_osm_station_distance, use default of 10 meters 2022-01-22 23:01:00 +01:00
Patrick Brosi
15e84d930a update segmentation in shapevl, add --unique mode 2022-01-21 23:59:14 +01:00
Patrick Brosi
39fb167cbf some minor changes 2022-01-17 13:29:35 +01:00
Patrick Brosi
ea79e3ac52 remove gtfs_has_shapes from stats output, was always true as checked after the shapes were calculated 2022-01-14 17:44:48 +01:00
Patrick Brosi
516f04b9c5 bts classifier 2022-01-13 21:41:52 +01:00
Patrick Brosi
749044ce97 fix misnamed turning_circle parameter 2022-01-12 20:21:27 +01:00
Patrick Brosi
1febc192ce add "all" to keep-tags option for osmfilter 2022-01-11 23:21:12 +01:00
Patrick Brosi
c25d174e60 add --osmfilter option 2022-01-11 17:32:50 +01:00
Patrick Brosi
f10397db41 add gaussian noise parameter 2022-01-09 15:09:41 +01:00
Patrick Brosi
6b445b84d1 some updates to shapevl 2022-01-07 17:35:30 +01:00
Patrick Brosi
3a08b63d8e better stats.json 2022-01-05 11:24:42 +01:00
Patrick Brosi
4c29892658 * speed up hop-to-hop calculations
* better and faster trip clustering: trip tries
* add --write-colors to extract line colors from OSM data
* refactor config parameter names, update default pfaedle.cfg
* add --stats for writing a stats.json file
* add --no-fast-hops, --no-a-star, --no-trie for debugging
* general refactoring
2022-01-04 17:19:27 +01:00
Patrick Brosi
deaaf23caf linter 2021-07-24 11:02:02 +02:00
Patrick Brosi
cea4474631 write doubles as bytes to shape container, not strings, to safe some disk space and speed up writing 2021-07-24 11:02:02 +02:00
Patrick Brosi
b0a2cff43a fix possible race condition in Normalizer cache 2020-11-20 17:00:20 +01:00
Alexander Held
08b0685ad1
Optional transit line penalties when no explicit line was given (#19)
* Enable transit line penalties also when no explicit line was given

Currently, if no transit line is given, all edges get penalty factor 0
regardless of whether there are transit lines following the edge or not.
The change introduced in this commit will give penalty factor 0 if there
is at least one transit line following the edge and penalty factor 1 if
there are no tranist lines at all following the edge.
Behavior in the case when a transit line is given is untouched.

This should improve routing results by preferring edges with
associated transit lines. This used to be the behaviour before
some refactoring. Maybe it was broken unintentionally.
2020-10-13 20:27:20 +02:00
Alexander Held | geOps
c023bb963d Fix edge splitting fragment being registered with wrong geometry in edge grid
If I'm not mistaken, there is a typo in the OsmBuilder when an edge is split
into two edges to insert a station: one of the new edges is registered with
the wrong geometry in the edge grid. This should fix it.
2020-09-30 16:20:04 +02:00
Patrick Brosi
69dc466605 remove empty variable from link 2020-05-26 10:23:24 +02:00
Alexander Matheisen
6c42f8244e Fix name of config param 2020-02-26 11:36:34 +01:00