<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Dear all,<br>
<br>
in case you always wanted to use a free and open service API for
routing, geocoding, isochrones or matrix calculation based on open
data from OpenStreetMap using Python, your dream has come true.
<br>
<br>
This is of particular interest when
teaching open source GIS tools
and programming or geospatial App development.<br>
<br>
<a moz-do-not-send="true" href="http://heigit.org">HeiGIT</a> has
finally developed a pretty handy python API for all of you
pythoniasts out there.
<br>
This library makes requests to the openrouteservice API extremely
simple. <br>
With this you will be able to query the <a moz-do-not-send="true"
href="https://go.openrouteservice.org/documentation/">following services</a> with
a couple of lines of python code.<br>
<br>
• directions (route planning)<br>
• matrix (distance/Time matrixes)<br>
• geocoding<br>
• isochrones (accessibility)<br>
<br>
(the missing "locations" API for POI search will follow soon)<br>
<br>
To provide a quick and dirty example:<br>
<br>
<font face="Courier New, Courier, monospace">import openrouteservice<br>
<br>
coords = ((8.34234,48.23424),(8.34423,48.26424))<br>
<br>
client = openrouteservice.Client(key='') # Specify your personal
API key<br>
<br>
routes = client.directions(coords)<br>
<br>
print routes<br>
<br>
...</font><br>
<br>
That’s it. Enjoy!<br>
<br>
Find the <a moz-do-not-send="true"
href="https://github.com/GIScience/openrouteservice-py">sources
on GitHub</a> and install it via <a moz-do-not-send="true"
href="https://pypi.python.org/pypi?:action=display&name=openrouteservice&version=0.1">pip</a>.<br>
<a moz-do-not-send="true"
href="https://go.openrouteservice.org/documentation/"><br>
https://go.openrouteservice.org/documentation/</a><br>
<a moz-do-not-send="true"
href="https://github.com/GIScience/openrouteservice-py">https://github.com/GIScience/openrouteservice-py</a><br>
<br>
- <br>
GIScience Research Group Heidelberg University<br>
<a class="moz-txt-link-freetext" href="http://uni-heidelberg.de/gis">http://uni-heidelberg.de/gis</a><br>
Heidelberg Institute for Geoinformation Technology<br>
<a class="moz-txt-link-freetext" href="http://heigit.org">http://heigit.org</a> <br>
<br>
<a class="moz-txt-link-freetext" href="http://openrouteservice.org">http://openrouteservice.org</a><br>
<br>
// <a class="moz-txt-link-freetext" href="https://twitter.com/GIScienceHD">https://twitter.com/GIScienceHD</a> //
<a class="moz-txt-link-freetext" href="https://www.facebook.com/GIScienceHeidelberg">https://www.facebook.com/GIScienceHeidelberg</a> //<br>
<br>
</body>
</html>