Hot answers tagged osrm
Solved by himself : Adding ?compression=false to the request query will output unencoded data. A proof that smeagol and gollum can work together. ( what is compression, my precious? )
OSRM does not use a database, but tuned data structure that are sometimes (falsely) called index. The process to go from raw OSM data to actual query processing is a multi-step process, i.e. extract, prepare, route. As Mapperz said, it is possible to query a SQL data base for additional data during the extraction process. To query OSRM for routes from your ...
Question A: How many requests can I send until I get blocked? There is not a fixed limit. It is recommended to use a valid user-agent that you register before hand. This way it is less likely to get blocked. So write an Email to OSRM (infoATproject-osrm.org), explain them what you want to do, and give them the name of your user-agent. In your python code ...
Instead of avoiding compression you can fix the real problem. If you have lots of points (which is the case for routing) and you send them as normal json numbers you have a big response and a problem. To reduce that size one could embed a binary form of the point list into the json. OSRM is doing this via googles algorithm, of course there are other ...
Only top voted, non community-wiki answers of a minimum length are eligible