--- dao/FuldDaekningWorker/src/main/java/dk/daoas/fulddaekning/Adresse.java 2015/10/07 19:32:00 2744 +++ dao/FuldDaekningWorker/src/main/java/dk/daoas/fulddaekning/Adresse.java 2015/10/07 20:14:10 2747 @@ -1,8 +1,7 @@ package dk.daoas.fulddaekning; -import com.jwetherell.algorithms.data_structures.KdTree; -public class Adresse extends KdTree.XYZPoint { +public class Adresse { public int id; public short postnr; public String vejnavn; @@ -17,8 +16,7 @@ public double xyz[] = new double[3]; - public Adresse(Double latitude, Double longitude) { - super(latitude, longitude); + public Adresse(double latitude, double longitude) { this.latitude = latitude; this.longitude = longitude; @@ -35,4 +33,8 @@ return "Adresse id=" + id+ " postnr=" + postnr + " adresse=" + vejnavn + " " + husnr + husnrbogstav + " ho=" + ho; } + public String getPosString() { + return "" + latitude + ", " + longitude + " " + xyz[0] + "/" + xyz[1] + "/" + xyz[2]; + } + }