Route as optimized order for delivery

Search the optimal delivery route using motorcycles. Search the most efficient route to pick up at the store and deliver to customers in which order. The service is currently in service in Korea and will be gradually expanded later.

Method
Request
Response

GET

https://maps.mogoscorp.com/api/v2/delivery

JSON

Request

Parameter (Required)
Descripton
Remark

key

Your API Key.

string

origin

Start location

(Longitude, Latitude).

string

origin_name

The name of start loation.

string

destination

Destination location

(Longitude, Latitude).

string

destnation_name

The name of destination location

string

cook_time

The time for cooking (unit: sec)

int

origin_done

fixed at FALSE

false

destination_done

fixed at FASLE

false

Example

[
  {
   "origin": "37.482729,126.895920", 
   "origin_name": "current location",
   "destination": "0,0",
   "destination_name": "",
   "cook_time": 0,
   "origin_done": false,
   "destination_done": false
 },
 {
   "origin": "37.484784,126.895719",
   "origin_name": "A",
   "destination": "37.484393,126.892950",
   "destination_name": "AA",
   "cook_time": 200,
   "origin_done": false,
   "destination_done": false
 },
 {
   "origin": "37.483343,126.892157", 
   "origin_name": "B",
   "destination": "37.480518,126.893664",
   "destination_name": "BB",
   "cook_time": 180,
   "origin_done": false,
   "destination_done": false
 }
]

Response

Parameter
Description
Remark

name

Feature collection name

string

type

A GeoJson object with type "FeatureCollection" is an feature collection object

string

features

An object of type "FeatureCollection" must have a member with the name "features".

object

features - type

A GeoJSON object with the type "Feature" is a feature object

string

geometry

Geometry has type and coordinates information

object

geometry - type

Type of coordinates

string

coordinates

location

string

property

The property information of point

object

summary

The information of road

string

distance

Total distance (unit: meter)

int

duration

Total duration (unit: sec)

int

origin_name

The name of origin location

string

destination_name

The name of destination location

string

max_lat

The maximum latitude of route's MBR

double

max_lng

The maximum langitude of route's MBR

double

min_lat

The minimum latitude of route's MBR

double

min_lng

The minimum langitude of route's MBR

double

property_type

Type of point (Origin or Destination)

string

property_type

Type of linestring 1: The starting point of the line string of the point feature

3: Origin feature

5: Feature of destination point

int

attr_lane

The number of lanes

int

attr_link_facil

The facility code of link

int

attr_median

The presence of median strip

int

attr_oneway

whether the link is oneway or not

int

attr_road_cate

The type of road

int

attr_turn_code

The turn code

int

lane_guide

The lane guide

int

length

The length of link

int

link_dir

The direction of link

int

link_id

The ID of link

int

link_idx

The index of link

int

remainder_dist

The remainder distance to destination

int

remainder_time

The remainder time to destination

int

service_link_idx

The index of service link

int

string_info

The information of road

string

Example

The MOGOS Maps API requires an API Key, which can be obtained from the MOGOS Console website or contact [email protected].

Last updated