Parent Directory | Revision Log | Patch
revision 2730 by torben, Tue Sep 29 09:17:03 2015 UTC | revision 2731 by torben, Tue Sep 29 09:29:13 2015 UTC | |
---|---|---|
# | Line 160 public class OSRMHelper { | Line 160 public class OSRMHelper { |
160 | ||
161 | try { | try { |
162 | OSRMResponse res = getRoute(a1, a2); | OSRMResponse res = getRoute(a1, a2); |
163 | ||
164 | if (res.status != 0) { | |
165 | System.out.println("OSRM Returned " + res.status + "/" + res.status_message ); | |
166 | continue; | |
167 | } | |
168 | ||
169 | ||
170 | if (res.route_summary.total_distance < bedsteAfstand) { | if (res.route_summary.total_distance < bedsteAfstand) { |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |