Commit graph

172 commits

Author SHA1 Message Date
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
Patrick Brosi
f6f1de05d2 remove unused class member 2019-02-11 17:55:38 +01:00
Patrick Brosi
1dff5eaf64 catch polymorphic exceptions by const reference 2019-02-11 17:55:05 +01:00
Patrick Brosi
d995f77b53 add missing stdexcept includes 2019-02-11 12:38:30 +01:00
Patrick Brosi
670bae2585 Merge branch 'master' of https://github.com/ad-freiburg/pfaedle 2019-02-06 01:51:43 +01:00
Patrick Brosi
3e8672a268 fix typo in heur dist 2019-02-06 01:51:24 +01:00
Patrick Brosi
ff7f810591 be more precise in readme 2019-02-04 16:46:56 +01:00
Patrick Brosi
e00e536bf2 typo 2019-02-04 16:46:14 +01:00
Patrick Brosi
c978217114 fix some typos in the readme 2019-02-04 16:44:38 +01:00
Patrick Brosi
02bda75f01 update submodules 2019-02-04 02:49:41 +01:00
Patrick Brosi
549cc90616 use current dir as default dbg path, not ./geo 2019-02-03 19:33:35 +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
8fb21919f3 only fail if not sort-in succeeded at all 2019-01-15 02:31:10 +01:00
Patrick Brosi
7835242cb8 update cppgtfs 2019-01-14 12:51:14 +01:00
Patrick Brosi
de787243c1 update cppgtfs 2019-01-13 01:42:13 +01:00
Patrick Brosi
72bc6106ae explicitely check if intermediate file is not already present in GTFS writing 2019-01-13 01:41:45 +01:00
Patrick Brosi
73ad8fdb96 update src/util 2019-01-12 01:46:29 +01:00
Patrick Brosi
50bbbc044d use default constructor in util lib to fix clang-5 compilation error 2019-01-12 01:38:19 +01:00