Alexander Held | geOps
f813c1f842
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-09-29 11:23:41 +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
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