Skip to content

Update travel type mechanism #20

@gerbsen

Description

@gerbsen

Currently we can only set one single travel type per request. Also all other parameters depending on a certain travel type can only be set once like bikeUphill and not individually per source. The RequestConfigurator is also over-engineered an could just use JSON serialisation libraries like jackson.

{
  'tm' :  {
    'car' : {
      'rushHour' : true
    }
    // or
    'walk' : {
      'walkSpeed' : 6,
      'walkUphill' : 6,
      'walkDownhill' : 6
    }
    // or
   'transit' : {
      "frame": {
	"time": 58500,
        "date": "20171213",
	"duration": 18000
     }
   }
 }

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions