Commit graph

56 commits

Author SHA1 Message Date
Patrick Brosi
647a596dea make jaccard-geodist the default statsimi classifier 2022-01-31 23:44:53 +01:00
Patrick Brosi
cdbfb0966d correctly read osm_max_osm_station_distance, use default of 10 meters 2022-01-22 23:01:00 +01:00
Patrick Brosi
15e84d930a update segmentation in shapevl, add --unique mode 2022-01-21 23:59:14 +01:00
Patrick Brosi
39fb167cbf some minor changes 2022-01-17 13:29:35 +01:00
Patrick Brosi
ea79e3ac52 remove gtfs_has_shapes from stats output, was always true as checked after the shapes were calculated 2022-01-14 17:44:48 +01:00
Patrick Brosi
516f04b9c5 bts classifier 2022-01-13 21:41:52 +01:00
Patrick Brosi
749044ce97 fix misnamed turning_circle parameter 2022-01-12 20:21:27 +01:00
Patrick Brosi
1febc192ce add "all" to keep-tags option for osmfilter 2022-01-11 23:21:12 +01:00
Patrick Brosi
c25d174e60 add --osmfilter option 2022-01-11 17:32:50 +01:00
Patrick Brosi
f10397db41 add gaussian noise parameter 2022-01-09 15:09:41 +01:00
Patrick Brosi
6b445b84d1 some updates to shapevl 2022-01-07 17:35:30 +01:00
Patrick Brosi
3a08b63d8e better stats.json 2022-01-05 11:24:42 +01:00
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
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
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
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
Alexander Matheisen
6c42f8244e Fix name of config param 2020-02-26 11:36:34 +01:00
Patrick Brosi
31f9cb72ff refactoring 2019-09-16 00:39:17 +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
79303f12f2 update /util 2019-06-28 15:10:15 +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
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
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
72bc6106ae explicitely check if intermediate file is not already present in GTFS writing 2019-01-13 01:41:45 +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
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
dfce1a44fc refactoring 2018-08-09 19:32:54 +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