Commit Graph

224 Commits

Author SHA1 Message Date
Dennis Luxen
4f666e4d53 remove dead code 2014-11-17 14:58:37 +01:00
Dennis Luxen
51c79f9784 rename ExtractorStructs into a more telling name 2014-11-17 14:58:37 +01:00
Dennis Luxen
d1454075ab untangle function object code for stxxl comperators 2014-11-17 14:58:37 +01:00
Dennis Luxen
a6f34d2044 rename ImportNode.h/cpp -> ExternalMemoryNode.h/cpp 2014-11-17 14:58:36 +01:00
Dennis Luxen
282800e6b1 replace boost::optional with mapbox::util::optional 2014-11-17 14:58:36 +01:00
Dennis Luxen
90d191f5f8 remove implicitly defined inline keywords from header-implemented functions in Extractor/ExtractionHelperFunctions.h 2014-11-17 14:58:36 +01:00
Dennis Luxen
f452e7f9d2 remove implicitly defined inline keywords from header-implemented functions in Util/ headers 2014-11-17 14:58:36 +01:00
Dennis Luxen
5556785804 remove implicitly defined inline keywords from header-implemented functions in ExtractionWay 2014-11-17 14:58:35 +01:00
Dennis Luxen
22ce4c24fb move key/value wrapper function into anonymous namespace in ScriptingEnvironment 2014-11-17 14:58:35 +01:00
Dennis Luxen
d4d2d127d1 pass an rvalue of a parsed node into the external memory storage 2014-11-17 14:58:35 +01:00
Dennis Luxen
7175180dc9 remove deprecated code 2014-11-17 14:58:34 +01:00
Dennis Luxen
94a2188090 explicitly specify optional parameter 2014-11-17 14:58:33 +01:00
Dennis Luxen
f9e780ed67 add a wrapper function to work around binding a function with default parameters against LuaBind 2014-11-17 14:58:33 +01:00
Dennis Luxen
18f8ce69cd remove default c'tor in ScriptingEnvironment 2014-11-17 14:58:33 +01:00
Dennis Luxen
dce665f14e reformat ExtractorCallbacks 2014-11-17 14:58:33 +01:00
Dennis Luxen
80046b646b actually parse the data that flowing thru osmium 2014-11-17 14:58:33 +01:00
Dennis Luxen
06ddceeac0 reset travel modes on ExtractionWay::clear() 2014-11-17 14:58:33 +01:00
Dennis Luxen
b7ea1dfcd0 fix generation of file names 2014-11-17 14:58:33 +01:00
Dennis Luxen
60c9701c3f reduce white space noise 2014-11-17 14:58:32 +01:00
Dennis Luxen
2a8644b72c expose libosmium types to LUA 2014-11-17 14:58:32 +01:00
Dennis Luxen
b6e469abd1 implement parsing thru libosmium 2014-11-17 14:58:32 +01:00
Dennis Luxen
398e3bdf82 implement new restriction type interface in PrepareData 2014-11-17 14:58:32 +01:00
Dennis Luxen
c4e785e523 remove explicit keyword from WayIDStartAndEndEdge ctor 2014-11-17 14:58:31 +01:00
Dennis Luxen
2f6f883f7f implement ExtractionWay and -Node 2014-11-17 14:58:31 +01:00
Dennis Luxen
d071e92a1c implement restriction parsing 2014-11-17 14:58:31 +01:00
Dennis Luxen
b18b4072e1 implement restriction parsing 2014-11-17 14:58:31 +01:00
Dennis Luxen
0a2898da17 remove legacy extrators 2014-11-17 14:58:30 +01:00
Dennis Luxen
274140d309 refactor SimpleLogger into simple_logger compile unit 2014-10-10 19:32:49 +02:00
Dennis Luxen
de264dbf94 untangle includes 2014-10-09 14:08:12 +02:00
Dennis Luxen
57fab61789 move casts from/to string into static class 2014-10-08 14:47:22 +02:00
Dennis Luxen
cc0bbc42a2 add duration to backward speed, fixes #1192 2014-09-29 11:37:36 +02:00
Emil Tin
774e6346e7 more robust check for parsed ways 2014-08-20 17:10:40 +02:00
Emil Tin
bcd55626ef make accessors const, add comments 2014-08-20 11:37:47 +02:00
Emil Tin
2e3d33dfcd remove type from more structs, remove asserts 2014-08-20 11:08:59 +02:00
Emil Tin
1e40cd6f0b remove type assertion 2014-08-20 11:08:59 +02:00
Emil Tin
60d80cf261 code style fixes 2014-08-20 11:08:59 +02:00
Emil Tin
fccb1aad32 remove type attribute 2014-08-20 11:08:59 +02:00
Emil Tin
30362cfc0c update lua interface to speed and mode 2014-08-20 11:08:58 +02:00
Emil Tin
6cdc590db5 typedef instead of enum for TravelMode to avoid gcc warnings 2014-08-20 11:08:58 +02:00
Emil Tin
6e364ff0ba rename travel mode None to Inaccessible 2014-08-20 11:08:58 +02:00
Emil Tin
6f6aff7493 remove direction field from ExtractionWay 2014-08-20 11:08:58 +02:00
Emil Tin
207cddd50b use enum for TravelMode 2014-08-20 11:08:58 +02:00
Emil Tin
3460bd0ba9 fix problems with mode, 1 failing test left 2014-08-20 11:08:42 +02:00
Emil Tin
8ea88468f3 remove unneeded methods 2014-08-20 11:08:42 +02:00
Emil Tin
235a52032a more tests passing 2014-08-20 11:08:42 +02:00
Emil Tin
a5ee7e78f6 fixes 2014-08-20 11:08:41 +02:00
Emil Tin
dae9c9a7ed use 4 bits for travel mode 2014-08-20 11:08:41 +02:00
Emil Tin
6d6d299ea4 most tests passing 2014-08-20 11:08:41 +02:00
Emil Tin
6fd615b9cd first cut at porting travel mode, some tests fail 2014-08-20 11:08:41 +02:00
Emil Tin
3e6f27d173 rename contra_flow to travel_mode, use unsigned char 2014-08-20 11:08:41 +02:00