[OSM-dev] Routing Server Publicly Available

Jukka Rahkonen jukka.rahkonen at latuviitta.fi
Wed Mar 14 12:18:15 GMT 2012


Looks pretty nice. I appreciate that the GPX output alternative seems to
give good possibilities for make already existing systems to support
easily your routing service. I checked the gpx output and GDAL/OGR seems
to find route_points and routes without problems. Therefore I would guess
that it would be pretty easy to make a routing service plugin for Quantum
GIS which is already using GDAL/OGR internally and there are lots of
applications which can read GPX and those should be rather easy to make to
enjoy this service too.  However, the route descriptions does not come
with the GPX file. Could you consider writing also them into the GPX
output file as waypoints?  Waypoint could be placed into the start point
of each leg and perhaps the "cmt" or "desc" attribute could be used for
storing the text.

Here is the schema that ogrinfo lists about the (empty) waypoint layer of
a GPX file I captured from your service.

Z:\route>ogrinfo route.gpx waypoints
Warning 1: GPX schema version is unknown. The driver may not be able to
handle t
he file correctly and will behave as if it is GPX 1.1.
Had to open data source read-only.
INFO: Open of `route.gpx'
      using driver `GPX' successful.

Layer name: waypoints
Geometry: Point
Feature Count: 0
Layer SRS WKT:
        SPHEROID["WGS 84",6378137,298.257223563,
ele: Real (0.0)
time: DateTime (0.0)
magvar: Real (0.0)
geoidheight: Real (0.0)
name: String (0.0)
cmt: String (0.0)
desc: String (0.0)
src: String (0.0)
link1_href: String (0.0)
link1_text: String (0.0)
link1_type: String (0.0)
link2_href: String (0.0)
link2_text: String (0.0)
link2_type: String (0.0)
sym: String (0.0)
type: String (0.0)
fix: String (0.0)
sat: Integer (0.0)
hdop: Real (0.0)
vdop: Real (0.0)
pdop: Real (0.0)
ageofdgpsdata: Real (0.0)
dgpsid: Integer (0.0)

-Jukka Rahkonen-

Dennis Luxen wrote:
> Great news everyone!
> I have the amazing pleasure to announce a new public routing server of
> the Open Source Routing Machine. It runs a daily updated extract of
> Europe and currently serves car routes.
> It has a number of great features already built-in:
> - Support for turn restrictions, including bollards and barriers
> - Leaflet-based GUI
> - Turn instructions
> The hardware [1] and network bandwidth is provided by the Karlsruhe
> Institute of Technology. We will be hosting a daily refreshed extract of
> Europe in the beginning, but will extend to planet-wide coverage in the
> near future.
> Additionally, we will make this server available to anyone to implement
> server-side routing into their own application through a very simple API
> [2,3]. So, please integrate this directly into your app or give the new
> Leaflet-based web interface a try at:
>      --> http://map.project-osrm.org <--
> Happy Routing,
> Dennis on behalf of The Project OSRM development team
> [1] https://github.com/DennisOSRM/Project-OSRM/wiki/Demo-server
> [2] https://github.com/DennisOSRM/Project-OSRM/wiki/Server-api
> [3] https://github.com/DennisOSRM/Project-OSRM/wiki/Api-usage-policy
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev

More information about the dev mailing list