LoadSetupByBuilding
RPC Configuration
Rpc Name:
Plain: LoadSetupByBuilding
Sha1: abf2ac86baeed372b6dfee311828a87ae1b2d746
RPCs can be called by their plain name or their SHA1 representation.
Rpc Parameters:
"building_id" : int
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:
REPLACE
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
->
{
"building_id": 131
}
<-
{
"startFloor": 0,
"minFloor": 0,
"maxFloor": 2,
"floors": [
2,
1,
0
],
"lat": 49.4987159,
"lon": 8.4685818,
"startMode": "3d",
"bid": 131,
"bounds": [
8.4613609,
49.4958662,
8.474257,
49.5019144
],
"terminalstyle": "<style><\/style>",
"mapstyle": {
"style": "\"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n\\t\\t<rendertheme xmlns:xsi=\\\"http:\\\/\\\/www.w3.org\\\/2001\\\/XMLSchema-instance\\\" base-text-scale=\\\"1.25\\\"\\n version=\\\"1\\\" xmlns=\\\"http:\\\/\\\/opensciencemap.org\\\/rendertheme\\\"\\n xsi:schemaLocation=\\\"http:\\\/\\\/opensciencemap.org\\\/rendertheme https:\\\/\\\/raw.githubusercontent.com\\\/mapsforge\\\/vtm\\\/master\\\/resources\\\/rendertheme.xsd\\\">\\n\\t<m e=\\\"way\\\">\\n\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\">\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\" v=\\\"background\\\" >\\n\\t\\t\\t\\t<area fill=\\\"#FFFFFF\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t<\\\/m>\\n\\t\\t<m e=\\\"way\\\" k=\\\"building\\\">\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"building\\\" v=\\\"yes\\\" >\\n\\t\\t\\t\\t<area fill=\\\"#CCDDDAD3\\\" stroke=\\\"#7FCCC9C4\\\" stroke-width=\\\"0.3\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t<\\\/m>\\n\\t\\t<m e=\\\"way\\\" k=\\\"wall\\\">\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"wall\\\" v=\\\"yes\\\" zoom-min=\\\"18\\\">\\n\\t\\t\\t\\t<area stroke=\\\"#000000\\\" fill=\\\"#E9E9E9\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t<\\\/m>\\n\\t\\t<m e=\\\"way\\\" k=\\\"handrail\\\">\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"handrail\\\" v=\\\"yes\\\" zoom-min=\\\"19\\\">\\n\\t\\t\\t\\t<line stroke=\\\"#111111\\\" width=\\\"0.2\\\" dasharray=\\\"5, 5\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t<\\\/m>\\n\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\">\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\" v=\\\"solid\\\" zoom-min=\\\"15\\\">\\n\\t\\t\\t\\t<area fill=\\\"#E50B0811\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\" v=\\\"transparent\\\" zoom-min=\\\"15\\\">\\n\\t\\t\\t\\t<area fill=\\\"#66FFFFFF\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\" v=\\\"plant\\\" zoom-min=\\\"15\\\">\\n\\t\\t\\t\\t<area fill=\\\"#E583DF60\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\" v=\\\"sand\\\" zoom-min=\\\"15\\\">\\n\\t\\t\\t\\t<area fill=\\\"#E5FDD485\\\" stroke=\\\"#CC000000\\\" stroke-width=\\\"0.3\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\" v=\\\"concrete\\\" zoom-min=\\\"0\\\">\\n\\t\\t\\t\\t<area fill=\\\"#E5DDDDDD\\\" stroke=\\\"#99222222\\\" stroke-width=\\\"0.3\\\" \\\/>\\n \\t\\t\\t\\t<line stroke=\\\"#99222222\\\" width=\\\"0.3\\\" dasharray=\\\"9, 3\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\" v=\\\"paving_slab\\\" zoom-min=\\\"0\\\">\\n\\t\\t\\t\\t<area fill=\\\"#99E0D0DB\\\" stroke=\\\"#222222\\\" stroke-width=\\\"0.3\\\" \\\/>\\n \\t\\t\\t\\t<line stroke=\\\"#222222\\\" width=\\\"0.3\\\" dasharray=\\\"5, 2\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\" v=\\\"green\\\" zoom-min=\\\"0\\\">\\n\\t\\t\\t\\t<area fill=\\\"#3388C037\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t<\\\/m>\\n\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\">\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\" v=\\\"floor\\\" zoom-min=\\\"18\\\">\\n\\t\\t\\t\\t<area fill=\\\"#F5F4FF\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\" v=\\\"elevator\\\" zoom-min=\\\"18\\\">\\n\\t\\t\\t\\t<area fill=\\\"#CCA384\\\" stroke-width=\\\"0.3\\\" \\\/>\\n \\t\\t\\t\\t<area fill=\\\"#CCA384\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t<\\\/m>\\n\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\">\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\" v=\\\"steps\\\" zoom-min=\\\"18\\\">\\n\\t\\t\\t\\t<area fill=\\\"#FFA384\\\" stroke-width=\\\"0.3\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\" v=\\\"balcony\\\" zoom-min=\\\"18\\\">\\n\\t\\t\\t\\t<area fill=\\\"#99875646\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t<\\\/m>\\n\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\">\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\" v=\\\"window\\\" zoom-min=\\\"19\\\">\\n\\t\\t\\t\\t<area fill=\\\"#4C13C5CF\\\" stroke=\\\"#000000\\\" stroke-width=\\\"0.3\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t<\\\/m>\\n\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\">\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\" v=\\\"sanitary\\\" zoom-min=\\\"19\\\">\\n\\t\\t\\t\\t<area fill=\\\"#EECFFC\\\" stroke-width=\\\"0.3\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\" v=\\\"beverages\\\" zoom-min=\\\"19\\\">\\n\\t\\t\\t\\t<area fill=\\\"#E3EFEA\\\" stroke-width=\\\"0.3\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\" v=\\\"room\\\" zoom-min=\\\"19\\\">\\n\\t\\t\\t\\t<area fill=\\\"#E9E9E9\\\" stroke-width=\\\"0.3\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t<\\\/m>\\n\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\">\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\" v=\\\"door\\\" zoom-min=\\\"19\\\">\\n\\t\\t\\t\\t<area fill=\\\"#99607F84\\\" stroke=\\\"#000000\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t<\\\/m>\\n\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\">\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"surface\\\" v=\\\"door\\\" zoom-min=\\\"19\\\">\\n\\t\\t\\t\\t<line stroke=\\\"#DBDBDB\\\" width=\\\"0.2\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t<\\\/m>\\n\\t\\t<m e=\\\"way\\\" k=\\\"wall\\\">\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"wall\\\" v=\\\"yes\\\" zoom-min=\\\"0\\\" zoom-max=\\\"15\\\">\\n\\t\\t\\t\\t<line stroke=\\\"#000000\\\" width=\\\"0.06\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"wall\\\" v=\\\"yes\\\" zoom-min=\\\"15\\\" zoom-max=\\\"18\\\">\\n\\t\\t\\t\\t<line stroke=\\\"#000000\\\" width=\\\"0.1\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t\\t<m e=\\\"way\\\" k=\\\"wall\\\" v=\\\"yes\\\" zoom-min=\\\"18\\\">\\n\\t\\t\\t\\t<line stroke=\\\"#000000\\\" width=\\\"0.2\\\" \\\/>\\n \\t\\t\\t<\\\/m>\\n\\t\\t<\\\/m>\\n\\t<\\\/m>\\n\\n \\n<\\\/rendertheme>\""
},
"maxZoom": 19,
"minZoom": 15,
"defaultZoom": 19,
"rotation": 0,
"rootTag": "njMqjt4a",
"forcePrimaryColor": false
}