/[projects]/dao/FuldDaekningWorker/src/dk/daoas/fulddaekning/BoundingBox.java
ViewVC logotype

Diff of /dao/FuldDaekningWorker/src/dk/daoas/fulddaekning/BoundingBox.java

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

revision 2263 by torben, Mon Dec 15 11:12:21 2014 UTC revision 2264 by torben, Tue Feb 10 16:34:55 2015 UTC
# Line 29  public class BoundingBox { Line 29  public class BoundingBox {
29          public void validateBbox() throws BoundingBoxException {          public void validateBbox() throws BoundingBoxException {
30                                    
31                  double latDiff = Math.abs(latitudeMax - latitudeMin);                            double latDiff = Math.abs(latitudeMax - latitudeMin);          
32                  if ( latDiff > 1.0) {                  if ( latDiff > 1.1) {
33                          throw new BoundingBoxException("For stor latitude forskel / " + latDiff);                          throw new BoundingBoxException("For stor latitude forskel / " + latDiff);
34                  }                  }
35                                    
36                  double lngDiff = Math.abs(longitudeMax - longitudeMin);                  double lngDiff = Math.abs(longitudeMax - longitudeMin);
37                  if ( lngDiff > 1.0) {                  if ( lngDiff > 1.1) {
38                          throw new BoundingBoxException("For stor longitude forskel / " + lngDiff);                          throw new BoundingBoxException("For stor longitude forskel / " + lngDiff);
39                  }                  }
40                                    

Legend:
Removed from v.2263  
changed lines
  Added in v.2264

  ViewVC Help
Powered by ViewVC 1.1.20