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
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
ede5cca2e7
fix unpacking of geometry for shared memory
2014-04-24 13:17:11 +02:00
Dennis Luxen
394e369b54
fix edge-expanded offsets
2014-04-24 13:06:55 +02:00
Dennis Luxen
9ccc8a7404
remove first segment if distance is 0 (down to 7 failed)
2014-04-24 12:55:53 +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
549bcb502b
minor renaming efforts
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
c71c8b0047
Unpacking of intermediate paths
2014-04-24 12:03:19 +02:00
Dennis Luxen
2855b94aa8
remove disabled debug output
2014-01-21 15:12:06 +01:00
Dennis Luxen
07509ba5c9
remove left-over debug output
2013-12-27 12:15:17 +01:00
DennisOSRM
41f3f53540
move includes to include/osrm
2013-12-20 13:12:56 +01:00
Dennis Luxen
fd2f000075
install lib header files with make install target
2013-12-17 17:59:44 +01:00
Dennis Luxen
b030fe7db2
break out Coordinate in compile unit
2013-12-13 17:26: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
8f4b0c8078
de-templetize polyline generalizer
2013-11-13 17:33:19 -05:00
Dennis Luxen
c56a57c0ba
refactor legacy code
2013-11-13 15:52:01 -05:00
Dennis Luxen
dced47024f
replace FLT_EPSILON with proper C++ variant
2013-10-15 18:42:25 +02:00
Dennis Luxen
e2f84d1acd
commenting unneeded variables
2013-10-15 14:32:45 +02:00
Dennis Luxen
ffb05d6271
demangling includes
2013-10-15 14:31:32 +02:00
Dennis Luxen
41df92bb93
Use new data facade in all descriptors
2013-10-15 14:17:44 +02:00
Dennis Luxen
29499f21c5
License change to (simplified) 2-clause BSD. Good riddance, AGPL
2013-10-14 13:42:28 +02:00
Dennis Luxen
bf8505a285
removing all FLT_EPSILONs
2013-10-02 13:05:54 +02:00
Dennis Luxen
4748bca8a4
Refactoring _Coordinate class
2013-08-14 13:12:28 +02:00
Dennis Luxen
ef221e1c6c
Replacing log macros by more sophisticated mechanism
2013-08-08 14:17:01 +02:00
Dennis Luxen
63d8abe32f
First implementation of moving the algorithmic core into a library
2013-06-26 19:48:22 -04:00
Dennis Luxen
54c83ee940
De-template-izing some of the code for faster (re-)compile
2013-06-24 14:12:25 -04:00
DennisOSRM
f1f59d770e
Forgotten file.
2013-01-06 17:51:45 +01:00
DennisOSRM
0b2df9892d
Changed haversine formula to be less sensitive to floating-point
...
inexactness.
2012-10-04 17:27:17 +02:00
Emil Tin
8abbe8db4a
dont quantize distance to 10m, use double for summation
2012-09-22 11:01:05 +02:00
DennisOSRM
ac588911ba
Fixing warning detected by additional compiler flags
2012-09-19 13:48:04 +02:00
DennisOSRM
1fdfac4aaf
Refactoring extraction stuff
2012-08-27 17:40:59 +02:00
DennisOSRM
df68c3ad48
Bearing is reported as integer only, fixes cucumber tests for issue #292
2012-06-11 16:36:33 +02:00
DennisOSRM
f8761ecea0
Routing datastructure more seperated from data of original edges
2012-04-25 10:51:16 +02:00
DennisOSRM
3f6cc725d6
First round of changes for access=destination enhancements. Not yet
...
fully functional.
2012-03-22 10:25:04 +01:00
DennisOSRM
28581de0ee
Simplify turn instructions where roads carry multiple names in ref
2012-02-29 14:10:44 +01:00
DennisOSRM
8cddaf39c4
Fixes issue #105 and partially #62 as well as #83 .
2012-02-10 17:14:30 +01:00
DennisOSRM
5e275b3935
Fixes issue #104 . Heading and Azimuth get computed now.
2012-02-07 14:47:01 +01:00
DennisOSRM
070050a48e
Entering and leaving roundabouts is getting handled.
2011-11-22 16:47:15 +01:00
DennisOSRM
99641bd55c
Linestring is generalized by an untuned (Ramer-)Douglas-Peucker
...
algorithm. Distance computation is still a naive implementation and can
be further sped up if necessary
2011-11-18 18:00:08 +01:00
DennisOSRM
14c999fc82
Moved descriptors into their own folder.
2011-11-17 18:56:45 +01:00