fix an off-by-one issue in the output JSON

This commit is contained in:
Dennis Luxen 2014-06-27 16:18:38 +02:00
parent 3f85b30d4a
commit 1d3932e8c5

View File

@ -300,7 +300,7 @@ template <class DataFacadeT> class JSONDescriptor : public BaseDescriptor<DataFa
{
// Segment information has following format:
//["instruction id","streetname",length,position,time,"length","earth_direction",azimuth]
unsigned necessary_segments_running_index = 1;
unsigned necessary_segments_running_index = 0;
round_about.leave_at_exit = 0;
round_about.name_id = 0;
std::string temp_dist, temp_length, temp_duration, temp_bearing, temp_instruction;