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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2223 - (show annotations) (download)
Sat Sep 20 11:15:58 2014 UTC (9 years, 7 months ago) by torben
File size: 532 byte(s)
Add handling of distributor specific table extensions
1 package dk.daoas.fulddaekning;
2
3 public class BKConstants extends Constants {
4
5 @Override
6 public double getLatitudeMargin() {
7 return GeoPoint.kmToLatitude(30); // 30 km
8 }
9
10 @Override
11 public double getLongitudeMargin() {
12 return GeoPoint.kmToLongitude(30);
13 }
14
15 @Override
16 public double getMaxDistance() {
17 return 30.0; //max 200 km
18 }
19
20 public int getMinPostnr() {
21 return 1000;
22 }
23
24 public int getMaxPostnr() {
25 return 4999;
26 }
27
28 public String getTableExtension() {
29 return "_bk";
30 }
31
32 }

  ViewVC Help
Powered by ViewVC 1.1.20