Dennis Luxen
d4bf02c882
replace boost integer range
2014-08-05 17:19:09 +02:00
Dennis Luxen
759449b4be
remove an unneeded check in JSONDescriptor
2014-08-01 15:59:45 +02:00
dmbreaker
a999cb9db9
Fixes alternative route end-point ( http://imgur.com/ZQhwTZi )
2014-07-31 16:10:02 +04:00
Dennis Luxen
1188002bcb
downcast position explicitly to unsigned
2014-07-15 16:48:04 +02:00
Dennis Luxen
fc399e01fe
explicitly cast segment length from float to int
2014-07-10 15:06:20 +02:00
Dennis Luxen
1d3932e8c5
fix an off-by-one issue in the output JSON
2014-06-27 16:18:38 +02:00
Dennis Luxen
61f3d85af1
add even more cast sanity
2014-06-18 11:49:01 +02:00
Dennis Luxen
0f2062b739
round bearing value to integers
2014-06-18 11:00:13 +02:00
Dennis Luxen
f6bab21928
use double consistently in JSONDescriptor
2014-06-18 10:44:09 +02:00
Dennis Luxen
bbc0ba147a
reformat Descriptors/JSONDescriptor.h
2014-06-18 10:15:38 +02:00
Dennis Luxen
71c4f81b59
avoid signed/unsigned comparison
2014-06-10 18:08:58 +02:00
Dennis Luxen
38ebdbb563
implements #949 , wrong duration on first segment
2014-05-27 16:54:10 +02:00
Dennis Luxen
5f4d342d45
move last leg handling into DescribeLeg() function
2014-05-27 11:48:19 +02:00
Dennis Luxen
78270c8155
fix unneeded variable warning in release build
2014-05-26 18:40:21 +02:00
Dennis Luxen
37f8285a6e
implements #1020
2014-05-26 15:31:09 +02:00
Dennis Luxen
917b1cbd6c
fix index of instructions
2014-05-26 11:38:35 +02:00
Dennis Luxen
8983c0f927
move GetBearing(.) function into FixedPointCoordinate
2014-05-20 14:33:01 +02:00
Dennis Luxen
a47467f29b
store facade ptr in c'tor, save a param in sub-sequent function calls
2014-05-20 14:33:01 +02:00
Dennis Luxen
da5eec1c5f
refactor route name extraction into its own class, fix name extraction
2014-05-20 14:33:01 +02:00
Dennis Luxen
d2f19353ed
remove some debug output
2014-05-20 14:33:00 +02:00
Dennis Luxen
a80815d57a
implements output generation through a dedicated JSON container:
...
- JSON syntax is not scattered over several files, but one place
- Reduces code duplication
- breaking changes:
- new property in json(p) formatted response: "found_alternative": True/False
- returned filenames now response.js(on) or route.gpx
- /hello plugin returns JSON now
2014-05-20 14:33:00 +02:00
Dennis Luxen
24a61dc650
remove unused function parameters
2014-05-11 17:58:37 +02:00
Dennis Luxen
f060dfda40
refactor list of const static int into scoped enum
2014-05-08 18:04:05 +02:00
Dennis Luxen
50594febc7
consequently use emplace back instead of push
2014-05-08 11:18:46 +02:00
Dennis Luxen
e12ad48822
migrate DataStructures to C++11
2014-05-07 18:39:16 +02:00
Dennis Luxen
17ed4f908c
(partially) migrate Descriptors to use C++11 syntax
2014-05-07 10:38:31 +02:00
Dennis Luxen
2ec952032a
fix rounding of travel times
2014-04-25 13:22:58 +02:00
Dennis Luxen
0eed39cdf1
rebase branch onto develop
2014-04-24 18:13:50 +02:00
Dennis Luxen
ace59411cb
fix and/or remove unused variables
2014-04-24 13:31:04 +02:00
Dennis Luxen
ede5cca2e7
fix unpacking of geometry for shared memory
2014-04-24 13:17:11 +02:00
Dennis Luxen
2c9edcaf23
remove debug code
2014-04-24 13:06:57 +02:00
Dennis Luxen
39914cd933
remove some debug code
2014-04-24 13:06:56 +02:00
Dennis Luxen
394e369b54
fix edge-expanded offsets
2014-04-24 13:06:55 +02:00
Dennis Luxen
752fb880be
switch edge-expanded street name indexes to be first segment names (18 failed tests left)
2014-04-24 12:55:53 +02:00
Dennis Luxen
44077cb007
refactor and streamline use of TurnInstructionsClass members
2014-04-24 12:55:53 +02:00
Dennis Luxen
7b5902a580
rename phantom nodes members
2014-04-24 12:55:53 +02:00
Dennis Luxen
02adaac468
remove an empty line to test jenkins web hook, take 2
2014-04-03 19:45:00 +02:00
Dennis Luxen
2b2a0d685f
remove an empty line to test jenkins web hook
2014-04-03 19:27:13 +02:00
Dennis Luxen
6f2ec17640
pass path as ref to JSONDescriptor.h
2014-04-03 18:28:16 +02:00
Dennis Luxen
c5f6065280
reorder code to make it a bit more readable
2013-12-27 12:38:08 +01:00
DennisOSRM
4718cf6cc0
fixed signed/unsigned comparison
2013-12-20 15:30:39 +01:00
Dennis Luxen
0c34addfa7
fix signed/unsigned comparison
2013-12-18 15:50:14 +01:00
Dennis Luxen
b030fe7db2
break out Coordinate in compile unit
2013-12-13 17:26:57 -05:00
Dennis Luxen
924a41a2f4
Initialize pointer always
2013-12-13 09:52:57 -05:00
Dennis Luxen
d0b5929a9e
explicitly give the locations of all via locations in response
2013-12-12 18:35:23 -05:00
Dennis Luxen
009f08dca3
Refactoring PathData class
2013-12-08 19:10:10 +01:00
Dennis Luxen
2edf4906a4
refactoring SegmentInformation to fit into a cache line
2013-12-08 18:33:53 +01:00
Dennis Luxen
cabaad4b17
replaced contigouos output data with collection of small'ish sub blocks. saves (re-)allocations. also removed a remaining stringstream
2013-11-14 17:16:26 -05:00
Dennis Luxen
c56a57c0ba
refactor legacy code
2013-11-13 15:52:01 -05:00
Dennis Luxen
fb1361b00d
Reworking data access to go always through facades
2013-10-15 14:19:52 +02:00