Guest User

v12 ors-config.json

a guest
Nov 21st, 2022
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.80 KB | None | 0 0
  1. {
  2. "ors": {
  3. "info": {
  4. "base_url": "https://openrouteservice.org/",
  5. "support_mail": "support@openrouteservice.org",
  6. "author_tag": "openrouteservice",
  7. "content_licence": "LGPL 3.0"
  8. },
  9. "services": {
  10. "matrix": {
  11. "enabled": true,
  12. "maximum_routes": 50000,
  13. "maximum_routes_flexible": 25,
  14. "maximum_search_radius": 5000,
  15. "maximum_visited_nodes": 100000,
  16. "allow_resolve_locations": true,
  17. "attribution": "openrouteservice.org, OpenStreetMap contributors"
  18. },
  19. "isochrones": {
  20. "enabled": true,
  21. "maximum_range_distance": [
  22. {
  23. "profiles": "any",
  24. "value": 50000
  25. },
  26. {
  27. "profiles": "driving-car, driving-hgv",
  28. "value": 100000
  29. }
  30. ],
  31. "maximum_range_time": [
  32. {
  33. "profiles": "any",
  34. "value": 18000
  35. },
  36. {
  37. "profiles": "driving-car, driving-hgv",
  38. "value": 3600
  39. }
  40. ],
  41. "fastisochrones": {
  42. "maximum_range_distance": [
  43. {
  44. "profiles": "any",
  45. "value": 50000
  46. },
  47. {
  48. "profiles": "driving-car, driving-hgv",
  49. "value": 500000
  50. }
  51. ],
  52. "maximum_range_time": [
  53. {
  54. "profiles": "any",
  55. "value": 18000
  56. },
  57. {
  58. "profiles": "driving-car, driving-hgv",
  59. "value": 10800
  60. }
  61. ],
  62. "profiles": {
  63. "default_params": {
  64. "enabled": false,
  65. "threads": 12,
  66. "weightings": "recommended",
  67. "maxcellnodes": 5000
  68. },
  69. "profile-hgv": {
  70. "enabled": true,
  71. "threads": 12,
  72. "weightings": "recommended, shortest",
  73. "maxcellnodes": 5000
  74. }
  75. }
  76. },
  77. "maximum_intervals": 10,
  78. "maximum_locations": 2,
  79. "allow_compute_area": true
  80. },
  81. "routing": {
  82. "enabled": true,
  83. "mode": "normal",
  84. "routing_description": "This is a routing file from openrouteservice",
  85. "routing_name": "openrouteservice routing",
  86. "sources": [
  87. "data/osm_file.pbf"
  88. ],
  89. "init_threads": 1,
  90. "attribution": "openrouteservice.org, OpenStreetMap contributors",
  91. "elevation_preprocessed": false,
  92. "profiles": {
  93. "active": [
  94. "car"
  95. ],
  96. "default_params": {
  97. "encoder_flags_size": 8,
  98. "graphs_root_path": "data/graphs",
  99. "elevation_provider": "multi",
  100. "elevation_cache_path": "data/elevation_cache",
  101. "elevation_cache_clear": false,
  102. "instructions": true,
  103. "maximum_distance": 100000,
  104. "maximum_distance_dynamic_weights": 100000,
  105. "maximum_distance_avoid_areas": 100000,
  106. "maximum_waypoints": 50,
  107. "maximum_snapping_radius": 400,
  108. "maximum_avoid_polygon_area": 200000000,
  109. "maximum_avoid_polygon_extent": 20000,
  110. "maximum_distance_alternative_routes": 100000,
  111. "maximum_alternative_routes": 3,
  112. "maximum_distance_round_trip_routes": 100000,
  113. "maximum_speed_lower_bound": 80,
  114. "preparation": {
  115. "min_network_size": 200,
  116. "min_one_way_network_size": 200,
  117. "methods": {
  118. "lm": {
  119. "enabled": true,
  120. "threads": 1,
  121. "weightings": "recommended,shortest",
  122. "landmarks": 16
  123. }
  124. }
  125. },
  126. "execution": {
  127. "methods": {
  128. "lm": {
  129. "disabling_allowed": true,
  130. "active_landmarks": 8
  131. }
  132. }
  133. }
  134. },
  135. "profile-car": {
  136. "profiles": "driving-car",
  137. "parameters": {
  138. "encoder_flags_size": 8,
  139. "encoder_options": "turn_costs=true|block_fords=false|use_acceleration=true",
  140. "maximum_distance": 100000,
  141. "elevation": false,
  142. "maximum_snapping_radius": 350,
  143. "preparation": {
  144. "min_network_size": 200,
  145. "min_one_way_network_size": 200,
  146. "methods": {
  147. "ch": {
  148. "enabled": true,
  149. "threads": 1,
  150. "weightings": "fastest"
  151. },
  152. "lm": {
  153. "enabled": false,
  154. "threads": 1,
  155. "weightings": "fastest,shortest",
  156. "landmarks": 16
  157. },
  158. "core": {
  159. "enabled": true,
  160. "threads": 1,
  161. "weightings": "fastest,shortest",
  162. "landmarks": 64,
  163. "lmsets": "highways;allow_all"
  164. }
  165. }
  166. },
  167. "execution": {
  168. "methods": {
  169. "ch": {
  170. "disabling_allowed": true
  171. },
  172. "lm": {
  173. "disabling_allowed": true,
  174. "active_landmarks": 6
  175. },
  176. "core": {
  177. "disabling_allowed": true,
  178. "active_landmarks": 6
  179. }
  180. }
  181. },
  182. "ext_storages": {
  183. "WayCategory": {},
  184. "HeavyVehicle": {},
  185. "WaySurfaceType": {},
  186. "RoadAccessRestrictions": {
  187. "use_for_warnings": true
  188. },
  189. "OsmId": {}
  190. }
  191. }
  192. },
  193. "profile-hgv": {
  194. "profiles": "driving-hgv",
  195. "parameters": {
  196. "encoder_flags_size": 8,
  197. "encoder_options": "turn_costs=true|block_fords=false|use_acceleration=true",
  198. "maximum_distance": 100000,
  199. "elevation": true,
  200. "preparation": {
  201. "min_network_size": 200,
  202. "min_one_way_network_size": 200,
  203. "methods": {
  204. "ch": {
  205. "enabled": true,
  206. "threads": 1,
  207. "weightings": "recommended"
  208. },
  209. "core": {
  210. "enabled": true,
  211. "threads": 1,
  212. "weightings": "recommended,shortest",
  213. "landmarks": 64,
  214. "lmsets": "highways;allow_all"
  215. }
  216. }
  217. },
  218. "execution": {
  219. "methods": {
  220. "ch": {
  221. "disabling_allowed": true
  222. },
  223. "core": {
  224. "disabling_allowed": true,
  225. "active_landmarks": 6
  226. }
  227. }
  228. },
  229. "ext_storages": {
  230. "WayCategory": {},
  231. "HeavyVehicle": {
  232. "restrictions": true
  233. },
  234. "WaySurfaceType": {}
  235. }
  236. }
  237. },
  238. "profile-bike-regular": {
  239. "profiles": "cycling-regular",
  240. "parameters": {
  241. "encoder_options": "consider_elevation=true|turn_costs=true|block_fords=false",
  242. "elevation": true,
  243. "ext_storages": {
  244. "WayCategory": {},
  245. "WaySurfaceType": {},
  246. "HillIndex": {},
  247. "TrailDifficulty": {}
  248. }
  249. }
  250. },
  251. "profile-bike-mountain": {
  252. "profiles": "cycling-mountain",
  253. "parameters": {
  254. "encoder_options": "consider_elevation=true|turn_costs=true|block_fords=false",
  255. "elevation": true,
  256. "ext_storages": {
  257. "WayCategory": {},
  258. "WaySurfaceType": {},
  259. "HillIndex": {},
  260. "TrailDifficulty": {}
  261. }
  262. }
  263. },
  264. "profile-bike-road": {
  265. "profiles": "cycling-road",
  266. "parameters": {
  267. "encoder_options": "consider_elevation=true|turn_costs=true|block_fords=false",
  268. "elevation": true,
  269. "ext_storages": {
  270. "WayCategory": {},
  271. "WaySurfaceType": {},
  272. "HillIndex": {},
  273. "TrailDifficulty": {}
  274. }
  275. }
  276. },
  277. "profile-bike-electric": {
  278. "profiles": "cycling-electric",
  279. "parameters": {
  280. "encoder_options": "consider_elevation=true|turn_costs=true|block_fords=false",
  281. "elevation": true,
  282. "ext_storages": {
  283. "WayCategory": {},
  284. "WaySurfaceType": {},
  285. "HillIndex": {},
  286. "TrailDifficulty": {}
  287. }
  288. }
  289. },
  290. "profile-walking": {
  291. "profiles": "foot-walking",
  292. "parameters": {
  293. "encoder_options": "block_fords=false",
  294. "elevation": true,
  295. "ext_storages": {
  296. "WayCategory": {},
  297. "WaySurfaceType": {},
  298. "HillIndex": {},
  299. "TrailDifficulty": {}
  300. }
  301. }
  302. },
  303. "profile-hiking": {
  304. "profiles": "foot-hiking",
  305. "parameters": {
  306. "encoder_options": "block_fords=false",
  307. "elevation": true,
  308. "ext_storages": {
  309. "WayCategory": {},
  310. "WaySurfaceType": {},
  311. "HillIndex": {},
  312. "TrailDifficulty": {}
  313. }
  314. }
  315. },
  316. "profile-wheelchair": {
  317. "profiles": "wheelchair",
  318. "parameters": {
  319. "encoder_options": "block_fords=true",
  320. "elevation": true,
  321. "maximum_snapping_radius": 50,
  322. "ext_storages": {
  323. "WayCategory": {},
  324. "WaySurfaceType": {},
  325. "Wheelchair": {
  326. "KerbsOnCrossings": "true"
  327. },
  328. "OsmId": {}
  329. }
  330. }
  331. }
  332. }
  333. }
  334. },
  335. "logging": {
  336. "enabled": true,
  337. "level_file": "DEBUG_LOGGING.json",
  338. "location": "/var/log/ors",
  339. "stdout": true
  340. },
  341. "system_message": [
  342. {
  343. "active": false,
  344. "text": "This message would be sent with every routing bike fastest request",
  345. "condition": {
  346. "request_service": "routing",
  347. "request_profile": "cycling-regular,cycling-mountain,cycling-road,cycling-electric",
  348. "request_preference": "fastest"
  349. }
  350. },
  351. {
  352. "active": false,
  353. "text": "This message would be sent with every request for geojson response",
  354. "condition": {
  355. "api_format": "geojson"
  356. }
  357. },
  358. {
  359. "active": false,
  360. "text": "This message would be sent with every request on API v1 from January 2020 until June 2050",
  361. "condition": {
  362. "api_version": 1,
  363. "time_after": "2020-01-01T00:00:00Z",
  364. "time_before": "2050-06-01T00:00:00Z"
  365. }
  366. },
  367. {
  368. "active": false,
  369. "text": "This message would be sent with every request"
  370. }
  371. ]
  372. }
  373. }
  374.  
Add Comment
Please, Sign In to add comment