Commit graph

191 commits

Author SHA1 Message Date
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
f1822868c5 include cstddef in Node.h 2021-11-30 12:46:24 +01:00
Patrick Brosi
57de18844f update cppgtfs 2021-11-30 12:45:58 +01:00
Patrick Brosi
59e527bcb4 update repo URL 2021-11-09 12:01:49 +01:00
Patrick Brosi
364d6a19e5 update cppgtfs 2021-09-10 12:53:28 +02:00
Patrick Brosi
cfc41d01e7 remove check which was alywas true 2021-09-10 12:36:19 +02:00
Patrick Brosi
16e66e59a5 update cppgtfs 2021-09-09 00:14:52 +02:00
Patrick Brosi
366e4b2aba update cppgtfs 2021-09-08 21:21:44 +02: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
graue70
e0e4ee1f2b
Fix incorrect URL in README (#30)
Old URL forced login.
2021-06-27 12:20:15 +02:00
Patrick Brosi
087ea0310b move os condition to condition clause 2020-12-03 14:44:14 +01:00
Patrick Brosi
73101fcc03 only build image on linux 2020-12-03 12:50:17 +01:00
Patrick Brosi
dd64e075c8 only deploy on linux using gcc 2020-12-03 01:38:08 +01:00
Patrick Brosi
8fe7a30e31 add docker service to travis.yml 2020-12-03 00:05:34 +01:00
Patrick Brosi
2f7e6a028f update readme 2020-12-02 19:29:30 +01:00
Patrick Brosi
5d2bb9bbfd Merge branch 'derhuerst-docker-image' 2020-12-02 19:27:17 +01:00
Patrick Brosi
b9897bdd97 add docker pw and uname 2020-12-02 19:26:40 +01:00
Jannis R
9a8a64d38e
readme: explain docker usage 📝 2020-12-02 17:53:31 +01:00
Jannis R
4aa500b867
Travis CI: build & publish Docker image 💚 2020-12-02 13:53:50 +01:00
Jannis R
2a01eda564
add Dockerfile & .dockerignore 2020-12-02 13:53:29 +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
e06c15656b
Merge pull request #20 from aheld84/edge-splitting
Fix edge splitting fragment ending up with wrong geometry in edge grid
2020-09-30 17:57:14 +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
Patrick Brosi
9c51f2799d
Merge pull request #13 from rurseekatze/station-id-normalize
Fix name of config param
2020-02-26 16:50:56 +01:00
Alexander Matheisen
6c42f8244e Fix name of config param 2020-02-26 11:36:34 +01:00
Patrick Brosi
1163f11e57
Merge pull request #12 from Benitoite/patch-1
CMakeLists.txt: download submodules if needed
2020-02-11 10:18:51 +01:00
Benitoite
3eb5c881fe
Detect .git instead of CMakeLists.txt in submods 2020-02-10 07:10:46 -08:00
Benitoite
6d2671900b
also check for xml submodule 2020-02-09 04:52:18 -08:00
Benitoite
f856e9865c CMakeLists.txt: download submodules if needed
Download git submodules if the CMakeLists.txt files for the configparser or cppgtfs directories are not present.
2020-02-09 04:47:13 -08:00
Patrick Brosi
9262b3ad45 update xml submodule 2019-09-16 00:42:07 +02:00
Patrick Brosi
31f9cb72ff refactoring 2019-09-16 00:39:17 +02:00
Patrick Brosi
a5931eb9ec update util 2019-09-06 15:19:22 +02:00
Patrick Brosi
06aefa538a upate util 2019-09-06 01:24:24 +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
27da2a9c9e output -T geojson as WGS84 coordinates 2019-07-23 21:32:07 +02:00
Patrick Brosi
bfca604ab5 explicit permissions for install targets 2019-06-28 15:10:31 +02:00
Patrick Brosi
79303f12f2 update /util 2019-06-28 15:10:15 +02:00
Patrick Brosi
df1ba83a53 check if tmp is null 2019-05-14 00:46:53 +02:00
Patrick Brosi
347badf770 better tmp dir selection 2019-05-14 00:11:15 +02:00
Patrick Brosi
9d19e344d3 refactoring 2019-05-13 20:05:51 +02:00
Patrick Brosi
67308d02e9 centralize code for tmp storage file creation 2019-05-13 18:56:43 +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
0db43ad457 update cfgparser 2019-05-02 01:20:35 +02:00
Patrick Brosi
78f9eb7044 update cppgtfs 2019-05-01 22:47:00 +02:00
Patrick Brosi
4cf1cc2b39
Merge pull request #4 from ad-freiburg/niklas88-python-2
Explicitly use python 2 in shebang, fixes #3
2019-04-08 12:45:01 +02:00
Niklas Schnelle
9d1123e86e
Explicitly use python 2 in shebang, fixes #3 2019-04-08 12:38:38 +02:00
Patrick Brosi
a2e5b3be32 only cpplint in debug builds to avoid python2 dependency 2019-04-01 21:56:52 +02:00