API DOCUMENTATION

Route Planning

Retrieves the data for displaying the rp line on the map.

get

https://maps.fatos.biz/mobilizer/route?(query string)

 

Parameter
Required Parameter Description
key Your API Key,See the API Key Issuance page for information on using keys.
uuid Uuid of search target
gid trip id

 

Example

https://maps.fatos.biz/mobilizer/route?key=(YOUR_API_KEY)&uuid=351917100989136&gid=1579148696652

{
    "uuid": "UUID",
    "gid": "1579148696652",
    "utime": "2020-01-16 04:24:56",
    "geom": [
      [
        126.4575804,
        37.441513,
-1
      ],
      [
        126.5637816,
        37.4898376,
-1
      ]
    ],
    "rp_order":1,
    "route": {
      "copyrights": "지도 데이터 ©2019 FATOS Co,. Ltd",
      "bounds": {
        "northeast": {
          "lat": 37.489700224735685,
          "lng": 126.56550775820193
        },
        "southwest": {
          "lat": 37.43994894301858,
          "lng": 126.44935308753611
        }
      },
      "legs": {
        "distance": 17728,
        "duration": 0,
        "start_address": "",
        "start_location": {
          "lng": 126.45754133521325,
          "lat": 37.441492941736186
        },
        "end_address": "",
        "end_location": {
          "lng": 126.56367765718954,
          "lat": 37.489700224735685
        },
        "traffic_speed_entry": [],
        "via_waypoint": [],
        "stpes": [
          {
            "attr": 279470337,
            "distance": 25,
            "duration": 0,
            "start_location": {
              "lng": 126.45754133521325,
              "lat": 37.441492941736186
            },
            "end_location": {
              "lng": 126.45741640387786,
              "lat": 37.4412735966435
            },
            "maneuver": "직진",
            "html_instructions": "영종해안남로321번길||제1여객터미널|제1여객터미널||영종해안남로321번길",
            "laneguide": "",
            "polyline": {
              "points": "aXxmbGZBaWtqZXBGcEFQZEJqQH5GekQ=",
              "mbr": {
                "minx": 126.45741640387786,
                "miny": 37.4412735966435,
                "maxx": 126.45754133521325,
                "maxy": 37.441492941736186
              }
            },
            "travel_mode": "DRIVING"
          },
...omit...
    {
            "attr": 271074049,
            "distance": 200,
            "duration": 0,
            "start_location": {
              "lng": 126.56544958406869,
              "lat": 37.4885396030931
            },
            "end_location": {
              "lng": 126.56367765718954,
              "lat": 37.489700224735685
            },
            "maneuver": "직진",
            "html_instructions": "하늘별빛로|||||",
            "laneguide": "",
            "polyline": {
              "points": "d3hib2ZBc2N9a3BGe0R+R2VtQHplQXNDYEZlQm5Dc0tmUg==",
              "mbr": {
                "minx": 126.56367765718954,
                "miny": 37.4885396030931,
                "maxx": 126.56544958406869,
                "maxy": 37.489700224735685
              }
            },
            "travel_mode": "DRIVING"
          }
        ]
      },
      "overview_polyline": {
        "point": ""
      },
      "summary": "공항로|하늘대로|영종대로",
      "warnings": "",
      "waypoint_order": []
    }
  }

 

Return : JSON type
rp_order Route order of the trip(1,2,3….) - No.1 initial route search
gid trip id
uuid "uuid of the user
geom Array of start point/destination coordinates
First: start point coordinates
Second: destination coordinates
route routing information - pbf parsing results
copyrights copyright
bounds Up and down diagonal vertex coordinates for gripping map mbr.
maneuver direction
travel_mode drive state
overview_polyline unused
summary Summary information
legs route summary
distance Total distance traveled in current path
duration Total time of the current route
start address unused
start location The beginning of the current path
end address unused
end location End point of current path
steps Repeat section information of current route
attr unused
distance Movement distance of each section
duration Required time for each section
start_location Starting coordinates of each section
end_location Destination coordinates of each leg
maneuver Progress direction of each section
html_instructions road name
laneguide unused
points Display lines using draw PolylineEncoder.decode() Function
mbr The center point of the path
travel_mode driving mode