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

Contents of /dao/FuldDaekningWorker/src/dk/daoas/fulddaekning/DaoConstants.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2226 - (show annotations) (download)
Sat Sep 20 11:50:16 2014 UTC (9 years, 7 months ago) by torben
File size: 602 byte(s)
Minor corrections to constants
1 package dk.daoas.fulddaekning;
2
3 public class DaoConstants extends Constants{
4
5 final double MAX_DISTANCE = 6.0;
6
7 public double getLatitudeMargin() {
8 return GeoPoint.kmToLatitude( MAX_DISTANCE/2 ); // 3km
9 }
10
11 public double getLongitudeMargin() {
12 return GeoPoint.kmToLongitude( MAX_DISTANCE/2 ); // 3km
13 }
14
15 public double getMaxDistance() {
16 return MAX_DISTANCE; // vi gemmer ikke afstande over 6 km
17 }
18
19
20 public int getMinPostnr() {
21 return 6000;
22 }
23
24 public int getMaxPostnr() {
25 return 9550;
26 }
27
28 public String getTableExtension() {
29 return "";
30 }
31
32 }

  ViewVC Help
Powered by ViewVC 1.1.20