MatchRoutingResult

Overview

Code example: MatchRoutingResult

{
    "properties": {
        "id": null,
        "distance": 308.0,
        "duration": 41.0,
        "exception": {
            "errCode": "",
            "publicReport": ""
        }
    },
    "features": [{
            "properties": {
                "matchDestinations": [{
                        "isMatched": true,
                        "distance": 0.266209,
                        "inPoint": {
                            "coordinates": [8.43904, 49.02163],
                            "type": "Point"
                        },
                        "matchedPoint": {
                            "coordinates": [8.43904, 49.02163],
                            "type": "Point"
                        }
                    }, {
                        "isMatched": true,
                        "distance": 0.673537,
                        "inPoint": {
                            "coordinates": [8.43833, 49.02077],
                            "type": "Point"
                        },
                        "matchedPoint": {
                            "coordinates": [8.43833, 49.02077],
                            "type": "Point"
                        }
                    }, {
                        "isMatched": true,
                        "distance": 1.292303,
                        "inPoint": {
                            "coordinates": [8.44066, 49.01982],
                            "type": "Point"
                        },
                        "matchedPoint": {
                            "coordinates": [8.44067, 49.01983],
                            "type": "Point"
                        }
                    }
                ]
            },
            "geometry": {
                "coordinates": [[8.43903, 49.02163], [8.43899, 49.02157], [8.43875, 49.02128], [8.43871, 49.02123], [8.4387, 49.02121], [8.4386, 49.02109], [8.43838, 49.02083], [8.43834, 49.02077], [8.43834, 49.02077], [8.43835, 49.02077], [8.43838, 49.02076], [8.4384, 49.02075], [8.43845, 49.02073], [8.43846, 49.02072], [8.43852, 49.0207], [8.43855, 49.02069], [8.43889, 49.02055], [8.43939, 49.02036], [8.43939, 49.02035], [8.43954, 49.0203], [8.43962, 49.02026], [8.43977, 49.0202], [8.43984, 49.02017], [8.44001, 49.0201], [8.44009, 49.02006], [8.44015, 49.02004], [8.44031, 49.01998], [8.44034, 49.01996], [8.44038, 49.01995], [8.44052, 49.01989], [8.44053, 49.01989], [8.44059, 49.01986], [8.44066, 49.01983], [8.44066, 49.01983]],
                "bbox": [8.43834, 49.01983, 8.44066, 49.02163],
                "type": "LineString"
            },
            "bbox": [8.43834, 49.01983, 8.44066, 49.02163],
            "type": "Feature"
        }
    ],
    "type": "FeatureCollection"
}