Closed smallvaluesof2 closed 10 years ago
does it work if you add &z18 to your requests?
Thanks for having a look at this.
I tried the URL below and got 400 Bad Request http://localhost:5000/viaroute?loc=53.63779,-6.25918&loc=53.34378,-6.26083&z18
sorry, that was a typo. I meant to say &z=18
Adding the z=18 parameter seems to have no effect. The error from the typo is gone but the route lookup still fails.
localhost:5000/viaroute?loc=53.63779,-6.25918&loc=53.34378,-6.26083&z=18
Hi,
i had the same problem. adding &z=14 or lower seems to work better.
I am running freshly downloaded and built OSRM on Ubuntu 12.04 with ireland-and-northern-ireland.osm.pbf that is a few days old. My .stxxl file content is: disk=/srv/tmp/stxxl,250000,syscall
My OSRM server reports some pairs of points as unrouteable, so I call nearest/locate for both points, but my OSRM server often reports these as unrouteable as well.
However, the demo server at map.project-osrm.org will often report the second pair as routeable (see example points below).
A sample pair of points reported unroutable on my OSRM server and map.project-osrm.org:
53.6294,-6.26912 53.880433,-6.928852
nearest/locate on my OSRM server maps these points to:
53.63779,-6.25918 53.34378,-6.26083
My OSRM server still reports them as unrouteable but map.project-osrm.org finds a route using osm.org as a data source.
My server.ini
Threads = 8 IP = 0.0.0.0 Port = 5000
edgesData=map-files/ireland-and-northern-ireland.osrm.edges namesData=map-files/ireland-and-northern-ireland.osrm.names fileIndex=map-files/ireland-and-northern-ireland.osrm.fileIndex nodesData=map-files/ireland-and-northern-ireland.osrm.nodes hsgrData=map-files/ireland-and-northern-ireland.osrm.hsgr ramIndex=map-files/ireland-and-northern-ireland.osrm.ramIndex
/srv/ramdrive/Project-OSRM$ ./osrm-routed
[server] starting up engines, saved at Fri Mar 1 15:57:40 2013 [server] http 1.1 compression handled by zlib version 1.2.3.4 [info Server/DataStructures/QueryObjectsStorage.cpp:26] loading graph data [info Server/DataStructures/QueryObjectsStorage.cpp:34] Data checksum is 3566321724 [info Server/DataStructures/QueryObjectsStorage.cpp:52] Loading auxiliary information [info Server/DataStructures/QueryObjectsStorage.cpp:62] Loading names index [info Server/DataStructures/QueryObjectsStorage.cpp:80] All query data structures loaded [handler] registering plugin hello [handler] registering plugin locate [handler] registering plugin nearest [handler] registering plugin timestamp [handler] registering plugin viaroute [server] running and waiting for requests
Any help much appreciated, For the 99.5% cases where everything works, it's a great project!
Kind Regards, Gerry