World Routes
Here you can find the process of drafting an efficient route between two locations through their intermediate stop points. Let's get on with it!
Design of world routes
First Step: define the stop points
A route is composed of several points. Each point has an attribute order to specify the temporal order it should be visited. The initial point starts at order 0 and the destination point has the greater order number.
A point must be also defined through a location, a vehicle and a schedule.
To specify a location we need to include the following elements:
-
country: name of the country to stop over.
-
city: name of the city.
-
address: address to execute operation of taking next vehicle.
-
coordinates: gps coordinates. It must contain, in turn, a latitude and a longitude value in DD format (Decimal Degrees).
A vehicle might be a plane, a boat, or a train.
A schedule consists of an arrival_time and a departure_time. Hint: beware with these times at initial and final points.
​
Second Step: include the supplies when needed
If a point is used to procure supplies, its location should be extended as a supply_location in order to store (apart from the location) the supply element which describes the kind (persons, petrol, weapons) and quantity of the required supply. Beware: the quantity might also contain the units, for example: 10 litres.