> There is already a geoJSON implementation in the interface to Gosmore in > YOURS (an opensource web based routing site). Source code here: > http://svn.openstreetmap.org/applications/routing/yours/trunk/www/api/dev/gosmore.php > > Documentation on how to use the API for Gosmore is here: > http://wiki.openstreetmap.org/wiki/YOURS#Routing_API
I went to our routing demo site with my Atom netbook and calculated a route from East Coast US to West Coast US. The routing took 10 or 20 seconds, but when the data came in, Firefox warned me a couple of times that the script may have hanged. I just hit 'continue' and sure enough it was displayed. Apart from GeoJSON, another optimization may be to give the data in the OpenLayers display projection, which is usually 900913 (google). I fixed many problems with the demo site. Dennis Nienhüser (from Marble) is writing an instruction generator. It's far from complete, but the results are displayed in the relevant tab. http://nroets.dev.openstreetmap.org/demo3/?lat=52.33015&lon=5.6209&zoom=17&layers=B000FTFTT&markers=!52.33014,5.62314!52.32952,5.621381&v=motorcar&fast=0 _______________________________________________ Routing mailing list [email protected] http://lists.openstreetmap.org/listinfo/routing
