Daniel J. Hofmann 
							
						 
					 
					
						
						
						
						
							
						
						
							77adbca138 
							
						 
					 
					
						
						
							
							Fixes coordinate, source and destination validation by means of backporting  #2041  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel J. Hofmann 
							
						 
					 
					
						
						
						
						
							
						
						
							f3e06b41dd 
							
						 
					 
					
						
						
							
							Fixes ownership semantics and forwarding references misplacements in the JSON factory  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel J. Hofmann 
							
						 
					 
					
						
						
						
						
							
						
						
							ee4b8618f8 
							
						 
					 
					
						
						
							
							Unwrap function call from identity lambda  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel J. Hofmann 
							
						 
					 
					
						
						
						
						
							
						
						
							58973a4fd1 
							
						 
					 
					
						
						
							
							Uses JSON's String constructor for polyline encoding  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel J. Hofmann 
							
						 
					 
					
						
						
						
						
							
						
						
							4b8017d412 
							
						 
					 
					
						
						
							
							Passes coordinates by value  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							e5d964492a 
							
						 
					 
					
						
						
							
							Fix if the last coordinate is not found  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							bb2baa82aa 
							
						 
					 
					
						
						
							
							Allocate correct table size  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							9a2b8cb16d 
							
						 
					 
					
						
						
							
							Fix geometries type in steps  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							c1647c99c8 
							
						 
					 
					
						
						
							
							Fix behaviour of table if sources/destinations arrays are empty  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							9a19086926 
							
						 
					 
					
						
						
							
							First round of lat,lng -> lng,lat switcheroo  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							0270ee59b4 
							
						 
					 
					
						
						
							
							Fix match and trip API response  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							5728af4a2a 
							
						 
					 
					
						
						
							
							Fix out-of-bounds write in map_matching  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							3f81f6b441 
							
						 
					 
					
						
						
							
							Finish the nearest plugin  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							669aa9e672 
							
						 
					 
					
						
						
							
							Initialize NearestParameters correctly  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							1d3afd5c38 
							
						 
					 
					
						
						
							
							Adapt to feedback in  #519  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							c53a448589 
							
						 
					 
					
						
						
							
							Add trip plugin  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							cb82376083 
							
						 
					 
					
						
						
							
							Hook up map matching  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							9d10490613 
							
						 
					 
					
						
						
							
							First compiling version of map_match plugin  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel J. Hofmann 
							
						 
					 
					
						
						
						
						
							
						
						
							9258791811 
							
						 
					 
					
						
						
							
							Fix missing headers in hint.hpp  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel J. Hofmann 
							
						 
					 
					
						
						
						
						
							
						
						
							44b802c053 
							
						 
					 
					
						
						
							
							Enable all plugins with aStatus::Error return code fallback for not implemented ones  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel J. Hofmann 
							
						 
					 
					
						
						
						
						
							
						
						
							bc6d5bbde2 
							
						 
					 
					
						
						
							
							We don't need templates at all, this is not CRTP?  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel J. Hofmann 
							
						 
					 
					
						
						
						
						
							
						
						
							e377a19c10 
							
						 
					 
					
						
						
							
							Adapts Nearest plugin to new API  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel J. Hofmann 
							
						 
					 
					
						
						
						
						
							
						
						
							0fb6e9bf3f 
							
						 
					 
					
						
						
							
							Fix deleting incomplete type and make Engine moveable only  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel J. Hofmann 
							
						 
					 
					
						
						
						
						
							
						
						
							d6a8690425 
							
						 
					 
					
						
						
							
							Adapts publicly facing new API  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel J. Hofmann 
							
						 
					 
					
						
						
						
						
							
						
						
							cc65446785 
							
						 
					 
					
						
						
							
							Adapts NearestParameters to new API  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							487df70eb3 
							
						 
					 
					
						
						
							
							Initial non-building match plugin  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							84097964b7 
							
						 
					 
					
						
						
							
							Add table API  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							f6612e2afa 
							
						 
					 
					
						
						
							
							Fix parameter parsing tests  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							09378f28fd 
							
						 
					 
					
						
						
							
							Fix table plugin  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel J. Hofmann 
							
						 
					 
					
						
						
						
						
							
						
						
							01ddfbcba3 
							
						 
					 
					
						
						
							
							First take at distance table API re-write  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel J. Hofmann 
							
						 
					 
					
						
						
						
						
							
						
						
							0468d7a7c5 
							
						 
					 
					
						
						
							
							Adapts TableParameters and its validation to new API  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							39bc0fd330 
							
						 
					 
					
						
						
							
							Add viaroute suport for new API  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							53dbb1eac2 
							
						 
					 
					
						
						
							
							Also exclude the compressed flag from the data format  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							f5bc843fe6 
							
						 
					 
					
						
						
							
							Remove geometry indicator  
						
						
						
					 
					
						2016-03-23 17:50:13 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel J. Hofmann 
							
						 
					 
					
						
						
						
						
							
						
						
							8640129835 
							
						 
					 
					
						
						
							
							Ampersand binds to variable name  
						
						
						
					 
					
						2016-03-15 11:47:57 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel J. Hofmann 
							
						 
					 
					
						
						
						
						
							
						
						
							655dd2277c 
							
						 
					 
					
						
						
							
							Eliminate extra semicola  
						
						
						
					 
					
						2016-03-15 11:47:57 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel J. Hofmann 
							
						 
					 
					
						
						
						
						
							
						
						
							40f95191a0 
							
						 
					 
					
						
						
							
							Do not copy pairs in loop  
						
						
						
					 
					
						2016-03-15 11:47:57 +01:00 
						 
				 
			
				
					
						
							
							
								Moritz Kobitzsch 
							
						 
					 
					
						
						
						
						
							
						
						
							4150c804df 
							
						 
					 
					
						
						
							
							Improve the core search stopping criterion  
						
						
						
					 
					
						2016-03-15 09:33:10 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							8912928581 
							
						 
					 
					
						
						
							
							Disable alternatives by defaul  fixes   #2072  
						
						
						
					 
					
						2016-03-10 21:01:30 +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 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							adc3bacea9 
							
						 
					 
					
						
						
							
							Add pruning based on @MoKob's idea in  #1921  
						
						
						
					 
					
						2016-03-08 00:43:45 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							f86b5a44bc 
							
						 
					 
					
						
						
							
							Adapt shortest_path and viaroute to core search  
						
						
						
					 
					
						2016-03-07 21:26:12 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel Patterson 
							
						 
					 
					
						
						
						
						
							
						
						
							017ff53702 
							
						 
					 
					
						
						
							
							Code review updates.  
						
						
						
					 
					
						2016-03-03 13:25:01 -08: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 
							
						 
					 
					
						
						
						
						
							
						
						
							e90b1bbead 
							
						 
					 
					
						
						
							
							Allow no sources and no destinations for full table query  
						
						
						
					 
					
						2016-03-03 02:00:39 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel J. Hofmann 
							
						 
					 
					
						
						
						
						
							
						
						
							ce1ca1b625 
							
						 
					 
					
						
						
							
							Fixes critical error in table plugin accessing uninitialized memory  
						
						... 
						
						
						
						Although we check for valid coordinates in the table plugin via
`check_all_coordinates`, we do not check for #srcs > 0 and #dsts > 0.
This would be fine as the grammar parser combines adding coordinates and
setting their `is_source` and `is_destination` property, which makes
adding coordinates without specifying source or destination impossible.
See: route_parameters.cpp, AddSource, AddDestination, and api_grammar.hpp
In contract, the Polyline codepath does not do this! In fact, it only lets
you set coordinates, but not their `is_source` or `is_destination` property.
See: route_parameters.cpp, SetCoordinatesFromGeometry
Therefore, the following queries only set coordinates:
    http 'http://localhost:5000/table?locs=s_hhFg {arEgEfEgEfEgEfEgEfEgEfEgEfEgEfEgEfEgEfE'
    http 'http://localhost:5000/table?locs=_p~iF~ps |U_ulLnnqC_mqNvxq`@'
but fail to specify sources and targets!
The distance table plugin now assumes `is_course` and `is_destination`
is the same size as `coordinates`.
And happily accesses uninitialized memory. 
						
					 
					
						2016-03-03 02:00:39 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Niklaus 
							
						 
					 
					
						
						
						
						
							
						
						
							0eaa393065 
							
						 
					 
					
						
						
							
							Limit tile zoomlevel to 12+  
						
						
						
					 
					
						2016-03-02 19:59:49 +01:00 
						 
				 
			
				
					
						
							
							
								David Low 
							
						 
					 
					
						
						
						
						
							
						
						
							79e8d1aac3 
							
						 
					 
					
						
						
							
							Minor typo fix  
						
						
						
					 
					
						2016-03-02 15:16:28 +08:00 
						 
				 
			
				
					
						
							
							
								Daniel J. Hofmann 
							
						 
					 
					
						
						
						
						
							
						
						
							2ce553d661 
							
						 
					 
					
						
						
							
							Math functions are not constexpr since they have side-effects (setting errno) :(  
						
						
						
					 
					
						2016-03-01 23:51:26 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel J. Hofmann 
							
						 
					 
					
						
						
						
						
							
						
						
							2efef91f1c 
							
						 
					 
					
						
						
							
							Fixes const correctnes and explicit types in tile header  
						
						
						
					 
					
						2016-03-01 23:51:26 +01:00