Dennis Luxen
75a2d4d00a
minor code refactoring, wip
2014-05-20 14:33:02 +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
9587923e55
make variable names consistent, migrate Plugins
2014-05-08 11:15:19 +02:00
Dennis Luxen
946bfb9a26
migrate plugins directory to C++11
2014-05-07 10:38:31 +02:00
Dennis Luxen
b2b36984e1
make single parameter c'tor explicit
2014-04-21 17:40:07 +02: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
0e43697ee0
fixes issue #804
2013-11-20 18:24:06 +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
a9f54c44e9
move Reply into compile unit
2013-11-13 18:42:42 -05:00
Dennis Luxen
7824e1446a
removing completed todo markers
2013-10-15 14:35:34 +02:00
Dennis Luxen
7951795ea4
Implementation of internal data storage
2013-10-15 14:19:53 +02:00
Dennis Luxen
a2153b668a
Rewiring query plugins
2013-10-15 14:14:54 +02:00
Dennis Luxen
e91b75a1bb
use empty() instead of comparisons
2013-10-15 14:04:12 +02:00
Dennis Luxen
f09e9b7790
make plugins templates that plug into data facade
2013-10-15 14:04:12 +02:00
Dennis Luxen
29499f21c5
License change to (simplified) 2-clause BSD. Good riddance, AGPL
2013-10-14 13:42:28 +02:00
DennisOSRM
6f3e7f9e56
Fixes #721
2013-08-26 14:16:34 +02:00
Dennis Luxen
06c8656b9e
Moving DataStructures out of Plugin directory
2013-08-14 13:41:23 +02:00
Dennis Luxen
4748bca8a4
Refactoring _Coordinate class
2013-08-14 13:12:28 +02:00
Dennis Luxen
c50b4c72d7
Refactoring of Plugins
2013-08-13 18:09:20 +02:00
Dennis Luxen
a609a1c6c2
Move common code into base class
2013-08-07 14:02:10 +02:00
Dennis Luxen
23899613c3
Implement #495
2013-08-05 18:37:42 +02:00
Dennis Luxen
648f9c9723
replacing nearest neighbor grid by static r-tree
2013-06-26 09:32:03 -04:00
DennisOSRM
78c92be14b
Fixes issue #577 , syntax error in JSONP response
2013-02-01 13:21:12 +01:00
DennisOSRM
1ec49c3914
API calls now get parsed through a grammar using boost::spirit::qi
2012-11-14 10:30:35 +01:00
DennisOSRM
c4f213f64e
Implements issue #173
2012-05-04 14:49:30 +02:00
DennisOSRM
58e88d43a9
Moving object that holds all query data into seperate object.
2012-04-14 20:07:30 +02:00
DennisOSRM
a88ad71be6
Merge branch 'master' of
...
https://DennisOSRM@github.com/DennisOSRM/Project-OSRM.git
2012-02-23 16:29:55 +01:00
DennisOSRM
d2b5b8d854
Const'ed read-only functions in BasePlugin and derived classes.
2011-12-30 12:20:36 +01:00
DennisOSRM
5c10d2fae0
Hashtable does not allocate during operator[], RouteParameters to
...
plugins are passed as ref and not as value.
2011-12-28 14:14:09 +01:00
Dennis Luxen
5f6cac9155
make sure any data structure is only loaded once. saves roughly 25% of RAM and starts up 10% faster on benchmark instances.
2011-05-26 09:16:04 +00:00
Dennis Luxen
51d0b94e90
Output format is selectable with additional parameter to URL: &output={kml,json}
2011-04-18 08:12:44 +00:00
Dennis Luxen
3a421f04ad
New plugin "Nearest" locates the nearest point on an edge to a given input coordinate. Needed for draggable routes.
2011-03-29 15:02:07 +00:00
Dennis Luxen
75ba542c38
Sanity checks for upper/lower bounds on the lat/lon coordinates. Fixes several segfaults.
2011-02-15 17:00:39 +00:00
Dennis Luxen
bfd2a8aee2
This is a large update that brings many internal and architectural changes. The most obvious change to the user is the presence of configuration files for extractLargeNetwork and routed. Optimistically speaking, it should not break anything. Thanks to rskr for support patches and suggestions.
2011-01-09 21:42:27 +00:00