Dennis Luxen
75a2d4d00a
minor code refactoring, wip
2014-05-20 14:33:02 +02:00
Dennis Luxen
c970cd13cc
flip bearings by 180
2014-05-20 14:33:01 +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
16ca8da438
remove deactivated debug out for good
2014-04-25 13:31:08 +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
9b3dab8055
implement loading of compressed geometries
2014-04-24 13:06:56 +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
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
7b5902a580
rename phantom nodes members
2014-04-24 12:55:53 +02:00
Dennis Luxen
b679a94930
first segment needs to be properly cut
2014-04-24 12:15:04 +02:00
Dennis Luxen
5bde545ce3
All good, but needs unpacking of start and end
2014-04-24 12:07:46 +02:00
Dennis Luxen
c71c8b0047
Unpacking of intermediate paths
2014-04-24 12:03:19 +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
f4bd175616
fixes #881
2014-01-22 14:52:31 +01:00
Dennis Luxen
2855b94aa8
remove disabled debug output
2014-01-21 15:12:06 +01:00
Dennis Luxen
9958aaae4f
fixes #871
2014-01-20 19:24:20 +01:00
Dennis Luxen
c5f6065280
reorder code to make it a bit more readable
2013-12-27 12:38:08 +01:00
Dennis Luxen
07509ba5c9
remove left-over debug output
2013-12-27 12:15:17 +01:00
DennisOSRM
5fd8c0938a
include and typo fixes
2013-12-20 18:14:09 +01:00
DennisOSRM
b3f4aa4504
further include cleanup
2013-12-20 18:01:53 +01:00
DennisOSRM
4718cf6cc0
fixed signed/unsigned comparison
2013-12-20 15:30:39 +01:00
DennisOSRM
41f3f53540
move includes to include/osrm
2013-12-20 13:12:56 +01:00
Dennis Luxen
0c34addfa7
fix signed/unsigned comparison
2013-12-18 15:50:14 +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
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
3319709526
rename file, untangle more includes
2013-11-14 12:42:33 -05:00
Dennis Luxen
94d4789e68
pull include from correct position
2013-11-14 12:31:51 -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
6453cdf0d6
replace all casserts with Boost.Assert
2013-10-30 18:52:23 +01:00
Dennis Luxen
dced47024f
replace FLT_EPSILON with proper C++ variant
2013-10-15 18:42:25 +02:00
Dennis Luxen
593dfd0108
Merging and rebasing of develop into shared_memory
...
Conflicts:
DataStructures/SearchEngine.h
DataStructures/StaticRTree.h
Descriptors/DescriptionFactory.cpp
Library/OSRM.cpp
Library/OSRM.h
RoutingAlgorithms/BasicRoutingInterface.h
RoutingAlgorithms/ShortestPathRouting.h
Server/DataStructures/BaseDataFacade.h
Server/DataStructures/InternalDataFacade.h
Server/DataStructures/QueryObjectsStorage.cpp
Server/DataStructures/SharedDataFacade.h
routed.cpp
2013-10-15 17:04:53 +02:00
Dennis Luxen
e2f84d1acd
commenting unneeded variables
2013-10-15 14:32:45 +02:00
Dennis Luxen
9f5767a80c
remove superflous includes
2013-10-15 14:31:32 +02:00
Dennis Luxen
ffb05d6271
demangling includes
2013-10-15 14:31:32 +02:00
Dennis Luxen
fb1361b00d
Reworking data access to go always through facades
2013-10-15 14:19:52 +02:00
Dennis Luxen
64c75c8b57
Refactoring base descriptor class
2013-10-15 14:19:52 +02:00
Dennis Luxen
f4e015a255
renamed utility class
2013-10-15 14:19:52 +02:00
Dennis Luxen
242b68c488
initial refactoring of variable names
2013-10-15 14:19:52 +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
f59cb6417f
commenting unneeded variables
2013-10-01 13:24:25 +02:00
Dennis Luxen
0b5e8a086e
remove superflous includes
2013-09-24 09:45:33 +02:00
Dennis Luxen
e024ea5ee1
demangling includes
2013-09-24 09:39:12 +02:00
Dennis Luxen
0cabc81693
Reworking data access to go always through facades
2013-09-20 11:09:07 +02:00
Dennis Luxen
12b4fff81e
Refactoring base descriptor class
2013-09-19 22:28:02 +02:00
Dennis Luxen
27b6627110
renamed utility class
2013-09-19 22:10:49 +02:00
Dennis Luxen
387014dd37
initial refactoring of variable names
2013-09-19 19:07:18 +02:00
Dennis Luxen
49a665488e
Use new data facade in all descriptors
2013-09-19 18:54:30 +02:00
Dennis Luxen
c2f9467f61
Moving DataStructures out of Plugin directory
2013-08-14 13:54:59 +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
23899613c3
Implement #495
2013-08-05 18:37:42 +02:00
Dennis Luxen
5c84c12f40
Fixing errors from static analysis
2013-06-27 11:44:32 -04:00
Dennis Luxen
cfa8b1f0dd
Moving coordinate auxiliary functions into the appropriate place
2013-06-27 09:45:28 -04: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
6410314b0b
Add license attribution to GPX output
2013-02-12 10:57:33 +01:00
DennisOSRM
961a379f79
Fixing signed/unsigned comparison warnings
2013-02-03 17:07:31 +01:00
DennisOSRM
f1f59d770e
Forgotten file.
2013-01-06 17:51:45 +01:00
DennisOSRM
e70adbb1cb
Using const-refs instead of copies when iterating vectors
2013-01-06 12:59:36 +01:00
DennisOSRM
06c22a478f
fixing typo
2013-01-06 12:39:12 +01:00
DennisOSRM
00ed039621
Moving TurnInstruction to unsigned char
2012-12-17 13:14:43 +01:00
DennisOSRM
b247c20dbf
Removing name substitution for now; Using Euclidean distance
...
approximation
2012-12-17 12:37:10 +01:00
DennisOSRM
10b650caf4
fixes unsafe float comparisons
2012-10-29 13:25:31 +01:00
DennisOSRM
0b2df9892d
Changed haversine formula to be less sensitive to floating-point
...
inexactness.
2012-10-04 17:27:17 +02:00
DennisOSRM
c5ebef3499
pulling in changes to add up distances in doubles
2012-10-04 16:53:13 +02:00
DennisOSRM
628f40f822
Removed rounding travelled distance
2012-10-02 18:09:08 +02:00
DennisOSRM
2d64dca565
Fixes cucumber test features/uturn.feature:4
2012-09-27 19:47:26 +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
bcc7c41140
Fixing signed-unsigned comparisons
2012-09-19 11:55:00 +02:00
DennisOSRM
7965e29d49
Changing names of routes according to @DennisSchiefer's suggestions.
2012-09-17 10:24:50 +02:00
DennisOSRM
eac900c6b8
Routes are now identifiable by their two most important instruction
...
segments.
2012-09-13 11:32:07 +02:00
DennisOSRM
1fdfac4aaf
Refactoring extraction stuff
2012-08-27 17:40:59 +02:00