/[projects]/dao/FuldDaekningWorker/src/main/java/dk/daoas/fulddaekning/osrm/OSRMHelper.java
ViewVC logotype

Diff of /dao/FuldDaekningWorker/src/main/java/dk/daoas/fulddaekning/osrm/OSRMHelper.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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) {

Legend:
Removed from v.2730  
changed lines
  Added in v.2731

  ViewVC Help
Powered by ViewVC 1.1.20