Commit graph

161 commits

Author SHA1 Message Date
Patrick Brosi
27da2a9c9e output -T geojson as WGS84 coordinates 2019-07-23 21:32:07 +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
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
3e8672a268 fix typo in heur dist 2019-02-06 01:51:24 +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
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
Patrick Brosi
5703eb47bd refactoring 2018-07-25 20:14:46 +02:00
Patrick Brosi
7f0443243c be a bit less verbose 2018-07-24 19:33:18 +02:00
Patrick Brosi
4220ad6efb add missing include 2018-07-23 17:10:29 +02:00
Patrick Brosi
e584eb7cbd another try to build on osx 2018-07-23 17:05:14 +02:00
Patrick Brosi
eb415cd234 use ctest command for verbose output 2018-07-23 03:07:28 +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
30883e6487 fix some compiler warnings 2018-07-22 18:37:03 +02:00
Patrick Brosi
13fb21f626 get rid of boost 2018-07-22 17:32:31 +02:00
Patrick Brosi
63dfda9749 delete some unneeded code 2018-07-19 02:08:10 +02:00
Patrick Brosi
4710b4ae20 further work on util 2018-07-18 19:26:34 +02:00
Patrick Brosi
3af004e49b more work on util 2018-07-17 19:33:05 +02:00
Patrick Brosi
223ffa6f6b some work on util 2018-07-16 02:03:10 +02:00
Patrick Brosi
d387314715 get rid of libboost dependency 2018-07-15 14:13:31 +02:00
Patrick Brosi
4674f0f116 make destructor virtual 2018-07-13 18:04:27 +02:00
Patrick Brosi
b07110840e some work on util 2018-07-12 14:23:29 +02:00
Patrick Brosi
cf79e67631 changes 2018-07-10 17:04:59 +02:00
Patrick Brosi
73eb2c16da changes 2018-07-06 16:22:06 +02:00
Patrick Brosi
57efddbcf3 add missing submodule 2018-06-09 17:33:19 +02:00
Patrick Brosi
7d70f3c529 add submodules 2018-06-09 17:28:38 +02:00
Patrick Brosi
efcd3e1892 initial commit 2018-06-09 17:14:08 +02:00