Commit graph

26 commits

Author SHA1 Message Date
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
516f04b9c5 bts classifier 2022-01-13 21:41:52 +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
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
Patrick Brosi
feacae92ef output all GeoJSON as WGS84 to be RFC 7946 conform 2019-07-23 22:47:35 +02:00
Patrick Brosi
ee948a8810 prevent possible race condition while obtaining collision-free shape ID 2019-05-13 15:05:34 +02:00
Patrick Brosi
d995f77b53 add missing stdexcept includes 2019-02-11 12:38:30 +01:00
Patrick Brosi
3e8672a268 fix typo in heur dist 2019-02-06 01:51:24 +01:00
Patrick Brosi
89be7a1760 handle station entrances (should only occur in erroneous feeds) 2019-02-03 14:14:31 +01:00
Patrick Brosi
4733b0c676 refactoring 2019-02-03 12:48:48 +01:00
Patrick Brosi
2fb157ef37 dont output warning for unsnap if station lies outside the GTFS bounding box (because the trip it belongs to was filtered for some reason) 2019-01-16 15:37:42 +01:00
Patrick Brosi
63f0b61ea1 clean up and refactor half-baked development commits and squash them into a new version.
Changes:

* support for multiple GTFS feeds as input in filtering, read default global and local configuration files
* be a bit more memory conservative
* make caching optional
* dont delete orphan edge if it would transform a degree 3 node with a possible full turn into a degree 2 node eligible for contraction
* dedicated filters for funicular and gondola
* make max snap level option more intuitive
* allow filter rules for level 0
* additional fallback for station snapping
* dont try to route for MOT unequal to trip in -T mode, force-snap to orphaned OSM station if not snap was possible
* write bounds to filtered osm
* remove unused surrounding heuristic
* use bus lanes info
* be a bit more tolerant for bus oneway streets
* create missing directories
* error if no cfg is present, clean up evaluation Makefile
2019-01-12 01:08:13 +01:00
Patrick Brosi
8446db5c4b make geometry precision configurable for build 2018-08-10 16:42:38 +02:00
Patrick Brosi
486a8136fd use double precision 2018-08-10 15:21:27 +02:00
Patrick Brosi
dfce1a44fc refactoring 2018-08-09 19:32:54 +02:00
Patrick Brosi
64b83f569c refactoring 2018-08-01 14:25:54 +02:00
Patrick Brosi
7f0443243c be a bit less verbose 2018-07-24 19:33:18 +02:00
Patrick Brosi
df2ab2df77 try to compile with clang and on osx in travis 2018-07-23 02:46:31 +02:00
Patrick Brosi
d387314715 get rid of libboost dependency 2018-07-15 14:13:31 +02:00
Patrick Brosi
efcd3e1892 initial commit 2018-06-09 17:14:08 +02:00