Is there a way to use OSRM with PostGIS (Windows)?

Related: Why mobile routing is so fast?


1 Answer 1


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 SQL queries, you would need to connect via http to a running OSRM instance and parse the data.

  • So bad! it's not practical. My goal is to query OSRM for routes from SQL queries.
    – Magno C
    Jan 27, 2014 at 10:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.