Commit graph

251 commits

Author SHA1 Message Date
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
Patrick Brosi
eff4ee4521 update cppgtfs 2019-01-12 01:32:38 +01:00
Patrick Brosi
118beffe71 require gcc 4.9 because of incomplete regex support in gcc 4.8 2019-01-12 01:31:17 +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
2cc2d2dc23 refactoring 2018-08-17 16:42:26 +02:00
Patrick Brosi
9816b93264 typo 2018-08-17 16:11:50 +02:00
Patrick Brosi
cc8067d90f typo 2018-08-17 16:11:10 +02:00
Patrick Brosi
2aef6cac5d img caption 2018-08-17 16:07:42 +02:00
Patrick Brosi
e10b090999 update readme 2018-08-17 15:59:53 +02:00
Patrick Brosi
69a360c48f handle cases where multiple endpoints are colinear as non-intersecting for line segments (because otherwise it cannot be used to check if intersection() has undefined behaviour, as there will be an infinite number of intersections) 2018-08-17 15:07:20 +02:00
Patrick Brosi
95ce5ba03d correctly clear stringstream 2018-08-10 19:17:48 +02:00
Patrick Brosi
dbceb0ef74 revert some changes in util 2018-08-10 16:55:27 +02: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
967963e180 use bus=designated 2018-08-09 20:55:23 +02:00
Patrick Brosi
18c00718f6 add util/json to repo 2018-08-09 19:33:20 +02:00
Patrick Brosi
dfce1a44fc refactoring 2018-08-09 19:32:54 +02:00
Patrick Brosi
10b72785ba evaluate our approach at the end in eval 2018-08-09 18:41:52 +02:00
Patrick Brosi
03aa3c5a7d fix deg output in geographjsonoutput 2018-08-08 18:58:48 +02:00
Patrick Brosi
713262f756 fix bug in line segment intersection 2018-08-08 17:36:28 +02:00
Patrick Brosi
f56294b597 correct use of numeric_limits 2018-08-02 19:41:39 +02:00
Patrick Brosi
64b83f569c refactoring 2018-08-01 14:25:54 +02:00