/[projects]/android/TrainInfoService/src/dk/thoerup/traininfoservice/StationDAO.java
ViewVC logotype

Diff of /android/TrainInfoService/src/dk/thoerup/traininfoservice/StationDAO.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1253 by torben, Fri Oct 1 05:30:32 2010 UTC revision 1254 by torben, Mon Apr 4 10:39:12 2011 UTC
# Line 165  public class StationDAO { Line 165  public class StationDAO {
165                  return result;                  return result;
166          }          }
167    
168          //the "hack" with max 0.4 degrees latitude and 0.75 degrees longitude is only valid since we only service danish trains,          //Latitude (horizonal), longitude(vertical) so
169            // 1 degree latitude is ~ 111320 meters, since the distance between the horizonal lines is always the same
170            // 1 degree longitude is ~111320 meters at equator but gets shorter as we get closer to the poles.
171            // the "hack" with max 0.4 degrees latitude and 0.75 degrees longitude is only valid since we only service danish trains,
172          // in denmark 0.4dg latitude ~ 44km, 0.75dg longitude ~ 47km          // in denmark 0.4dg latitude ~ 44km, 0.75dg longitude ~ 47km
173    
174          // the ultra fast method  (and only slightly inaccurate as long as we only cover a limited geographically area)          // the ultra fast method  (and only slightly inaccurate as long as we only cover a limited geographically area)

Legend:
Removed from v.1253  
changed lines
  Added in v.1254

  ViewVC Help
Powered by ViewVC 1.1.20