Patrick Niklaus
b3599ea249
Implement viewport code to fix simplification
...
This fixes #2083
2016-03-18 23:25:54 +01:00
Patrick Niklaus
0d628da3ba
Consolidate math functions
2016-03-18 23:25:44 +01:00
Patrick Niklaus
497e4154a7
get_name_for_id -> GetNameForID
2016-03-18 19:29:09 +01:00
Moritz Kobitzsch
1a4f6cba7a
restructured to only return valid turns to the outside + cleanup
2016-03-18 17:41:55 +01:00
Moritz Kobitzsch
ee5020baf3
less new names, forks consider road classes, api clean-up
2016-03-18 17:41:55 +01:00
Daniel Patterson
f6de8f3444
Enables the use of multiple segment-speed-files on the osrm-contract
...
command line, and exposes the file name used for each edge in the debug
tiles.
2016-03-18 17:33:05 +01:00
Daniel J. Hofmann
810c0f3b3e
Adds the license preamble for all publicly installed eaders, closes #2036
2016-03-18 17:33:05 +01:00
Patrick Niklaus
bad4d4d6c7
Remove obsolete debug information
2016-03-18 17:33:04 +01:00
Daniel J. Hofmann
6856f00074
Runs scripts/format.sh
2016-03-18 17:33:03 +01:00
Patrick Niklaus
0724c4a2d8
Big Restructuring / Cleanup
2016-03-18 17:33:02 +01:00
Moritz Kobitzsch
6f9d8a691d
handle segregated roads (merge for turn analysis)
2016-03-18 17:33:02 +01:00
Moritz Kobitzsch
f713408d46
structural changes, motorway handling
2016-03-18 17:33:02 +01:00
Moritz Kobitzsch
80843ecc89
enter and exit roundabout feature - currently not showing turn
2016-03-18 17:33:02 +01:00
Moritz Kobitzsch
8753590f59
advanced guidance on 5.0
2016-03-18 17:33:02 +01:00
Patrick Niklaus
b01b7dcbca
Add support for tile plugin
2016-03-18 17:33:02 +01:00
Patrick Niklaus
5916ddda80
Change stream operator of strong typedef
2016-03-18 17:33:01 +01:00
Patrick Niklaus
5acd2ca394
Add stream operator to Rectangle
2016-03-18 17:33:01 +01:00
Patrick Niklaus
ffaf0fc86f
Add euclideanDistance to coordinate_calculation
2016-03-18 17:33:01 +01:00
Patrick Niklaus
fed2a67e42
First round of lat,lng -> lng,lat switcheroo
2016-03-18 17:33:00 +01:00
Dane Springmeyer
f3e5ce561a
Fix compile on OS X
2016-03-18 17:33:00 +01:00
Patrick Niklaus
a129e549eb
First compiling version of map_match plugin
2016-03-18 17:33:00 +01:00
Patrick Niklaus
68eeb20c5c
Add viaroute suport for new API
2016-03-18 17:32:58 +01:00
Daniel J. Hofmann
655dd2277c
Eliminate extra semicola
2016-03-15 11:47:57 +01:00
Daniel J. Hofmann
ac0279aa83
RAII for auto-closing file streams
...
Small fixes I didn't want to include in unrelated PRs.
There are a few left in `storage.cpp` but since it's a single function
in 600 lines of code, I didn't want to touch the mess. The others are
safe to remove, cucumber and test run on Finland gives 👍 .
2016-03-09 17:46:02 +01:00
Daniel Patterson
49441fe204
Make forward/reverse weight/offset calculated at query time,
...
rather than being cached in the StaticRTree. This means we
can freely apply traffic data and not have stale values lying
around. It reduces the size of the RTree on disk, at the expense
of some additional data in RAM.
2016-03-03 10:49:12 -08:00
Daniel J. Hofmann
66cadac6b6
Explicitly std:: prefix fixed integral types in static rtree header
2016-03-01 23:51:26 +01:00
Daniel J. Hofmann
c237c5353b
Explicitly std:: prefix fixed integral types in rectangle header
2016-03-01 23:51:26 +01:00
Daniel J. Hofmann
c27a7e087f
Fixes rectangle header includes
2016-03-01 23:51:26 +01:00
Daniel J. Hofmann
0894590a96
Fixes default declared ctor in Buffer
2016-03-01 23:51:26 +01:00
Daniel J. Hofmann
aeee565115
Formats all the files we touch..
2016-03-01 23:51:25 +01:00
Daniel Patterson
56e35e8ef2
Remove GeoJSON based debugging output, we can now generate vector tiles with roughly the same data on-the-fly.
2016-03-01 23:51:25 +01:00
Daniel Patterson
26453af1b9
Add a distinct Buffer type for encoding binary data in JSON responses. Treated like a string, but allows other consumers (a-la node-osrm) to recognize and not break string encodings.
2016-03-01 23:51:25 +01:00
Daniel Patterson
5dc7b79bb6
Implements a vector tileserver so you can see what's going on inside
...
OSRM.
2016-03-01 23:51:25 +01:00
Patrick Niklaus
a0b4fcc05a
Remove last bits of GPX support code
2016-03-01 23:44:07 +01:00
Daniel J. Hofmann
47d56676f1
Don't bounds check by default in static rtree; fixes #1988
2016-02-17 18:20:27 -08:00
karenzshea
b80e96547e
remove ini parsing
2016-02-16 18:43:06 +01:00
Daniel Patterson
65183e94c6
Use \n instead of std::endl to avoid unnecessary flushing. Cleanup some newlines to avoid blank lines in debug output.
2016-02-15 14:21:18 -08:00
Daniel Patterson
6b0fe683c9
Expose the base type. Going via the operator<< leaves us with invalid geojson.
2016-02-15 13:25:55 -08:00
Daniel J. Hofmann
a6d406d2c3
Fix headers for JSON abstractions
2016-02-12 15:46:24 -08:00
Daniel J. Hofmann
4b8c0ac143
Revert "Folds json_* utilities into json subfolder and adapts includes"
...
This reverts commit cd039c69c0a92a35889e3c875b8eb53cf07377bb.
2016-02-12 15:46:24 -08:00
Daniel J. Hofmann
ec01c2a119
Folds json_* utilities into json subfolder and adapts includes
2016-02-12 15:46:24 -08:00
Daniel J. Hofmann
fbef77a942
Documents why not to use boost::irange in favor of our hand-written irange
2016-02-12 15:46:24 -08:00
Daniel J. Hofmann
f207d988f4
Removes floating point epsilon comparator
2016-02-12 15:46:24 -08:00
Daniel J. Hofmann
60fc486cea
Prefix exception header guard with osrm prefix
2016-02-12 15:46:24 -08:00
Daniel J. Hofmann
ef171f3acd
Properly use typed math constants instead of impl. specific hacks
...
PI is not in the stdlib, neither is 1/pi, pi*2 and so on. Instead
of relying on implementations providing these, use properly typed
math constants.
Main benefits:
- portable and
- returns constexpr, for compile-time computation
References:
- http://www.boost.org/doc/libs/1_60_0/libs/math/doc/html/math_toolkit/constants_intro.html
- http://www.boost.org/doc/libs/1_60_0/libs/math/doc/html/math_toolkit/constants.html
2016-02-12 15:46:24 -08:00
Daniel J. Hofmann
64b36807d3
Transforms osrm_exception to exception
2016-02-12 15:46:24 -08:00
Daniel J. Hofmann
5de8f1803c
Folds mercator projections into coordinate_calculation
2016-02-12 15:46:24 -08:00
karenzshea
7398bed974
Include real coordinates in debug geojson mode
2016-02-11 17:09:20 -05:00
Dane Springmeyer
2949a52a11
remove uneeded and deprecated usage of mapbox::util::static_visitor
2016-02-10 12:58:36 -08:00
Daniel J. Hofmann
b8d20dfe99
Prevent undefined behavior from left shifting into sign bit when offset is 31
2016-02-08 11:47:44 -08:00