Pedestrian
Returns the pedestrian directions information. -Available only in Gangneung City.
POST
https://api.fatos.biz/mogos/v2/route/pedestrian
geojson
Parameters
Rquest
key
Y
Your API Key
key : xxxxxxxxxxx
origin
Y
Start point (lat, lng)
origin:'37.482767, 126.896290'
destination
Y
End point (lat, lng)
destination:'37.538635, 127.051035'
lang
N
Select Result Language
(Korean: ko, English: en)
default = ko
lang:ko
returntype
N
Output format
default = geojson
returntype:geojson
Request Sample
{
"key": "Your API Key",
"origin": "37.75547850345336, 128.91843313122217",
"destination": "37.76123805209892,128.91113117874665",
"lang":"ko",
"returntype":"json"
}
Response
type
string
A GeoJSON object with the type "FeatureCollection" is a feature collection object
features
node
An object of type "FeatureCollection" must have a member with the name "features".
type
string
A GeoJSON object with the type "Feature" is a feature object
geometry
object
Geometry has type and coordinates information
coordinates
array<double>
position
properties
object
Property information
summary
string
road information
distance
int
Total or link distance / m
duration
int
Total or link duration /sec
start_name
string
start name
end_name
string
end name
max_lat
double
Maximum latitude
max_lng
double
Maximum longitude
min_lat
double
Minimum latittude
min_lng
double
Minimum longitude
length
int
link length
remainder_dist
int
remainder distance
remainder_time
int
remainder time
attr_turn_code
int
turn code
attr_road_cate
int
road type code
attr_link_facil
int
Facility code
attr_oneway
int
a one-way street
attr_lane
int
the number of lanes
attr_median
int
Presence of median strip
Response Sample
{
"name": "0,rp_info",
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
128.91843438148499,
37.75547718568249
]
},
"properties": {
"summary": "",
"summary_ex": "",
"distance": 1404,
"duration": 1256,
"start_name": "start1",
"end_name": "via1",
"max_lat": 37.76117887757414,
"max_lng": 128.9186867351658,
"min_lat": 37.755513098462785,
"min_lng": 128.91056524469076,
"taxi_fare": 988,
"toll_rate": 0,
"type": "start"
}
},
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
128.91113340854645,
37.76123632754747
]
},
"properties": {
"type": "end"
}
},
{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[
128.91835391521454,
37.75551535378027
],
[
128.91845047473907,
37.755642580772864
],
[
128.91848266124725,
37.755854625760534
],
[
128.9184933900833,
37.7560115390514
],
[
128.91860604286194,
37.75638049732994
],
[
128.91868650913239,
37.75664343311465
]
]
},
"properties": {
"attr": 71216,
"attr_has_hipass": 0,
"attr_has_ic": 0,
"attr_has_jc": 0,
"attr_has_outpath": 0,
"attr_has_sa": 0,
"attr_has_toll": 0,
"attr_lane": 0,
"attr_link_cate": 1,
"attr_link_facil": 0,
"attr_max_speed": 0,
"attr_median": 0,
"attr_oneway": 0,
"attr_road_cate": 11,
"attr_surface": 0,
"attr_traffic": 0,
"attr_turn_code": 48,
"duration": 114,
"length": 127,
"link_dir": 0,
"link_id": 1,
"link_idx": 0,
"remainder_dist": 1404,
"remainder_time": 1256,
"service_link_idx": 0,
"string_info": ""
}
},
...
{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[
128.91835391521454,
37.75551535378027
],
[
128.91845047473907,
37.755642580772864
],
[
128.91848266124725,
37.755854625760534
],
[
128.9184933900833,
37.7560115390514
],
[
128.91860604286194,
37.75638049732994
],
[
128.91868650913239,
37.75664343311465
],
[
128.91868650913239,
37.75664343311465
],
[
128.91860604286194,
37.75666463761341
],
[
128.91860604286194,
37.75666463761341
],
[
128.91862213611603,
37.7567112875107
],
[
128.91864895820618,
37.75683003270379
],
[
128.91865968704224,
37.756876682601074
],
[
128.9186543226242,
37.756889405300335
],
[
128.91861140727997,
37.757224436380845
],
[
128.91857385635376,
37.757449204067775
],
[
128.91850411891937,
37.75770365805297
],
[
128.91848802566528,
37.757758789749765
],
[
128.91848802566528,
37.75776727154927
],
[
128.91835927963257,
37.758098061730024
],
[
128.91825735569,
37.758390683813005
],
[
128.91819834709167,
37.758458538209055
],
[
128.91792476177216,
37.75862817419919
],
[
128.91781747341156,
37.75873419669302
],
[
128.9176994562149,
37.758942000780934
],
[
128.9176994562149,
37.758942000780934
],
[
128.9175546169281,
37.75883173738735
],
[
128.9175546169281,
37.75883173738735
],
[
128.9174097776413,
37.75897168707921
],
[
128.9174097776413,
37.75897168707921
],
[
128.91745805740356,
37.758997132477724
],
[
128.91750633716583,
37.759031059675756
],
[
128.91750633716583,
37.759031059675756
],
[
128.91718447208405,
37.75906498687378
],
[
128.91687870025635,
37.75907770957304
],
[
128.9167982339859,
37.7590904322723
],
[
128.9167982339859,
37.7590904322723
],
[
128.91676604747772,
37.75912011857057
],
[
128.91664803028107,
37.75951452224763
],
[
128.91660511493683,
37.75966719463875
],
[
128.91660511493683,
37.75966719463875
],
[
128.91666412353516,
37.75996405762148
],
[
128.91666412353516,
37.75996405762148
],
[
128.91651928424835,
37.75996829852123
],
[
128.9164763689041,
37.75996829852123
],
[
128.91643345355988,
37.75997678032074
],
[
128.9161866903305,
37.75998102122049
],
[
128.9159882068634,
37.75998102122049
],
[
128.91580045223236,
37.759972539420986
],
[
128.91552686691284,
37.759947094022465
],
[
128.91522109508514,
37.759908925924684
],
[
128.91493678092957,
37.75987499872666
],
[
128.91465783119202,
37.75983683062888
],
[
128.91304850578308,
37.759586617543434
],
[
128.9115732908249,
37.759332163558234
],
[
128.91147136688232,
37.759302477259965
],
[
128.91113340854645,
37.759141323069336
],
[
128.91087591648102,
37.758967446179454
],
[
128.91082763671875,
37.75892503718192
],
[
128.91082763671875,
37.75892503718192
],
[
128.9108008146286,
37.758942000780934
],
[
128.9108008146286,
37.758942000780934
],
[
128.91074180603027,
37.75895896437995
],
[
128.91073644161224,
37.75897592797896
],
[
128.91073644161224,
37.75897592797896
],
[
128.91073644161224,
37.75901409607674
],
[
128.91073644161224,
37.75901409607674
],
[
128.9107310771942,
37.759035300575505
],
[
128.9107310771942,
37.759035300575505
],
[
128.91067743301392,
37.75905650507427
],
[
128.91067743301392,
37.75905650507427
],
[
128.9105647802353,
37.75909891407181
],
[
128.9105647802353,
37.75909891407181
],
[
128.9106559753418,
37.75929823636021
],
[
128.91083300113678,
37.759718085435786
],
[
128.91096711158752,
37.76006583921556
],
[
128.91111731529236,
37.760523856388915
],
[
128.91127824783325,
37.76095642816375
],
[
128.91136407852173,
37.761181195850675
]
]
},
"properties": {
"attr": 71216,
"attr_has_hipass": 0,
"attr_has_ic": 0,
"attr_has_jc": 0,
"attr_has_outpath": 0,
"attr_has_sa": 0,
"attr_has_toll": 0,
"attr_lane": 0,
"attr_link_cate": 1,
"attr_link_facil": 0,
"attr_max_speed": 0,
"attr_median": 0,
"attr_oneway": 0,
"attr_road_cate": 11,
"attr_surface": 0,
"attr_traffic": 0,
"attr_turn_code": 48,
"duration": 216,
"length": 240,
"link_dir": 0,
"link_id": 17,
"link_idx": 16,
"remainder_dist": 240,
"remainder_time": 216,
"service_link_idx": 0,
"string_info": ""
}
}
]
}
Last updated