RouteFromLatLon
RPC Configuration
Rpc Name:
Plain: RouteFromLatLon
Sha1: 8ba176defa6b3ccf74a57aa7c8374ce72c894fff
RPCs can be called by their plain name or their SHA1 representation.
Rpc Parameters:
"targetTag" : string,
"lat" : float,
"lon" : float,
"building_id" : int,
"floor" : int,
"flavor_name" : ?string = null 
Requires Login:
true
Requires Context:
The context providing parameter can either be a contagt-id (8-Bytes, Alphaumeric) or an integer as a building id. The context parameter name should make the choice obviouse, the type has not to be defined manually.
true
Requires contextParamName:
building_id
Requires WriteAccess:
Only accounts that have an explicit write access to the defined context can execute this RPC, no matter if the authentication level matches or not.
false
Requires AuthenticationLevel:
Authentication levels allow the SuperUser to define a by-RPC granular access configuration. If RPCs are chained in a single unified call and lenient is enabled, all allowed RPCs will be executed, while execution will fail entirely with lenient set to false.
STANDARD_USER
Requires Subbuilding Merge Strategy:
SUBBUILDING_ONLY
Existing Versionized Executors:
This RPC has an API Level Vrsion Switch, that will allow to execute different paths on differnet API Levels. The accepted and response parameters might change when using a versionized constructor.
routeFromLatLon_LE20
Cache Configuration
All writing RPCs are not Cacheable, also Caching will be disabled by the paramters nocache
and readonly.
Cache enabled:
true
Cache Time to Live:
60
Sample Request
->
{
    "targetTag": "P205wmTu",
    "lat": 49.4987761,
    "lon": 8.46835385,
    "building_id": 131,
    "floor": 0
}
<-
{
    "success": true,
    "route": [
        {
            "node_id": 0,
            "lat": 49.4987761,
            "lon": 8.46835385,
            "distance": 13.64,
            "angle": 0,
            "floor": 0
        },
        {
            "node_id": 16,
            "lat": 49.4987241878,
            "lon": 8.46852481333,
            "distance": 4.38,
            "angle": 340,
            "floor": 0,
            "landmark": {
                "poi": {
                    "id": "njMqjt4a",
                    "parent_id": "njMqjt4a",
                    "building_id": 131,
                    "group_id": 1,
                    "node_id": 16,
                    "floor": 0,
                    "displayname": "Haupteingang ABC",
                    "image": "http:\/\/172.18.1.12\/img\/content\/buildings\/131.0.png",
                    "attributes": {
                        "lat": 49.4987241878,
                        "lon": 8.46852481333,
                        "id": "njMqjt4a",
                        "parent_id": "njMqjt4a",
                        "building_id": 131,
                        "group_id": 1,
                        "node_id": 16,
                        "floor": 0,
                        "displayname": "Haupteingang ABC",
                        "image": "http:\/\/172.18.1.12\/img\/content\/buildings\/131.0.png"
                    }
                },
                "type": 1,
                "naturalLanguage": [
                    "Laufen Sie bei Haupteingang ABC los"
                ],
                "landmark": "Haupteingang ABC"
            }
        },
        {
            "node_id": 9,
            "lat": 49.4987201469,
            "lon": 8.46858504815,
            "distance": 2.59,
            "angle": 56,
            "floor": 0,
            "landmark": {
                "poi": {
                    "id": "nBCjlyuU",
                    "parent_id": "njMqjt4a",
                    "building_id": 131,
                    "group_id": 1,
                    "node_id": 25,
                    "floor": 0,
                    "displayname": "test",
                    "image": "http:\/\/172.18.1.12\/img\/content\/buildings\/131.0.png",
                    "attributes": {
                        "lat": 49.4987450101,
                        "lon": 8.46854616413,
                        "id": "nBCjlyuU",
                        "parent_id": "njMqjt4a",
                        "building_id": 131,
                        "group_id": 1,
                        "node_id": 25,
                        "floor": 0,
                        "displayname": "test",
                        "image": "http:\/\/172.18.1.12\/img\/content\/buildings\/131.0.png"
                    }
                },
                "type": 36,
                "naturalLanguage": [
                    "Gehen Sie an test rechts vorbei",
                    "gehen Sie nach rechts."
                ],
                "landmark": "test"
            }
        },
        {
            "node_id": 11,
            "lat": 49.4986996263,
            "lon": 8.46860192053,
            "distance": 3.88,
            "angle": 325,
            "floor": 0
        },
        {
            "node_id": 12,
            "lat": 49.4986842663,
            "lon": 8.46865009552,
            "distance": 0.56,
            "angle": 270,
            "floor": 0,
            "landmark": {
                "poi": {
                    "id": "dSK0vx1j",
                    "parent_id": "njMqjt4a",
                    "building_id": 131,
                    "group_id": 1,
                    "node_id": 4,
                    "floor": 0,
                    "displayname": "Innenhof",
                    "image": "http:\/\/172.18.1.12\/img\/content\/buildings\/131.0.png",
                    "attributes": {
                        "lat": 49.4986926099,
                        "lon": 8.46866832561,
                        "id": "dSK0vx1j",
                        "parent_id": "njMqjt4a",
                        "building_id": 131,
                        "group_id": 1,
                        "node_id": 4,
                        "floor": 0,
                        "displayname": "Innenhof",
                        "image": "http:\/\/172.18.1.12\/img\/content\/buildings\/131.0.png"
                    }
                },
                "type": 48,
                "naturalLanguage": [
                    "Nachdem Sie Innenhof erreicht haben",
                    "gehen Sie nach links."
                ],
                "landmark": "Innenhof"
            }
        },
        {
            "node_id": 13,
            "lat": 49.4986887945,
            "lon": 8.46865351605,
            "distance": 0.4,
            "angle": 0,
            "floor": 0,
            "landmark": {
                "poi": {
                    "id": "dSK0vx1j",
                    "parent_id": "njMqjt4a",
                    "building_id": 131,
                    "group_id": 1,
                    "node_id": 4,
                    "floor": 0,
                    "displayname": "Innenhof",
                    "image": "http:\/\/172.18.1.12\/img\/content\/buildings\/131.0.png",
                    "attributes": {
                        "lat": 49.4986926099,
                        "lon": 8.46866832561,
                        "id": "dSK0vx1j",
                        "parent_id": "njMqjt4a",
                        "building_id": 131,
                        "group_id": 1,
                        "node_id": 4,
                        "floor": 0,
                        "displayname": "Innenhof",
                        "image": "http:\/\/172.18.1.12\/img\/content\/buildings\/131.0.png"
                    }
                },
                "type": 128,
                "naturalLanguage": [
                    "Gehen Sie \u00fcber \"Innenhof\" ins 1. Stockwerk."
                ],
                "landmark": "Innenhof"
            }
        },
        {
            "node_id": 95,
            "lat": 49.4986919369,
            "lon": 8.46865588983,
            "distance": 0.55,
            "angle": 0,
            "floor": 1
        },
        {
            "node_id": 96,
            "lat": 49.4986963414,
            "lon": 8.46865921693,
            "distance": 3.88,
            "angle": 269,
            "floor": 1
        },
        {
            "node_id": 90,
            "lat": 49.4987116915,
            "lon": 8.46861104046,
            "distance": 1.45,
            "angle": 270,
            "floor": 1
        },
        {
            "node_id": 89,
            "lat": 49.4986999553,
            "lon": 8.46860216922,
            "distance": 3.88,
            "angle": 271,
            "floor": 1
        },
        {
            "node_id": 92,
            "lat": 49.4986845959,
            "lon": 8.46865034466,
            "distance": 0.54,
            "angle": 270,
            "floor": 1
        },
        {
            "node_id": 93,
            "lat": 49.4986890005,
            "lon": 8.46865367176,
            "distance": 0.38,
            "angle": 0,
            "floor": 1
        },
        {
            "node_id": 128,
            "lat": 49.4986920004,
            "lon": 8.46865593857,
            "distance": 0.55,
            "angle": 0,
            "floor": 2
        },
        {
            "node_id": 129,
            "lat": 49.4986964431,
            "lon": 8.46865929678,
            "distance": 8.33,
            "angle": 270,
            "floor": 2
        },
        {
            "node_id": 125,
            "lat": 49.4987306333,
            "lon": 8.46855682947,
            "distance": 6.73,
            "angle": 269,
            "floor": 2,
            "landmark": {
                "poi": {
                    "id": "oJUCeE1p",
                    "parent_id": "njMqjt4a",
                    "building_id": 131,
                    "group_id": 1,
                    "node_id": 123,
                    "floor": 2,
                    "displayname": "Projekt Gold Film & Design",
                    "image": "http:\/\/172.18.1.12\/img\/content\/buildings\/131.0.png",
                    "attributes": {
                        "lat": 49.4987386576,
                        "lon": 8.46853459056,
                        "id": "oJUCeE1p",
                        "parent_id": "njMqjt4a",
                        "building_id": 131,
                        "group_id": 1,
                        "node_id": 123,
                        "floor": 2,
                        "displayname": "Projekt Gold Film & Design",
                        "image": "http:\/\/172.18.1.12\/img\/content\/buildings\/131.0.png"
                    }
                },
                "type": 16,
                "naturalLanguage": [
                    "Nachdem Sie Projekt Gold Film & Design erreicht haben",
                    "gehen Sie nach links."
                ],
                "landmark": "Projekt Gold Film & Design"
            }
        },
        {
            "node_id": 130,
            "lat": 49.4986765025,
            "lon": 8.46851535938,
            "distance": 0,
            "angle": 0,
            "floor": 2,
            "landmark": {
                "poi": {
                    "id": "P205wmTu",
                    "parent_id": "njMqjt4a",
                    "building_id": 131,
                    "group_id": 1,
                    "node_id": 130,
                    "floor": 2,
                    "displayname": "Luigi Toscano Production & Katja Seneadz",
                    "image": "http:\/\/172.18.1.12\/img\/content\/buildings\/131.0.png",
                    "attributes": {
                        "lat": 49.4986765025,
                        "lon": 8.46851535938,
                        "id": "P205wmTu",
                        "parent_id": "njMqjt4a",
                        "building_id": 131,
                        "group_id": 1,
                        "node_id": 130,
                        "floor": 2,
                        "displayname": "Luigi Toscano Production & Katja Seneadz",
                        "image": "http:\/\/172.18.1.12\/img\/content\/buildings\/131.0.png"
                    }
                },
                "type": 2,
                "naturalLanguage": [
                    "Sie haben Ihr Ziel erreicht"
                ]
            }
        }
    ]
}