public GeoCoder() {
		this.locations = new ArrayList<Location>();
		//read zipcode geolocation file
		String line = "";
		String fileToParse = "postcode_NL.csv";

			
		Scanner inputStream = new Scanner(GeoCoder.class.getResourceAsStream(fileToParse));
		while (inputStream.hasNextLine() ) {
			line = inputStream.nextLine(); 
			int i = 0;
			Location loc = new Location();
			
			String[] tokens = line.split(";");
			for (String token : tokens) {
				if (token.startsWith("\"")) {
					token = token.substring(1);
				}
				if (token.endsWith("\"")) {
					token = token.substring(0, token.length() - 1);
				}
				
				switch(i) {
				case 1:
					loc.postcode = token;
					break;
				case 8:
					loc.straatnaam = token.toUpperCase();
					break;
				case 9:
					loc.plaats = token.toUpperCase();
					break;
				case 15:
					loc.lat = Float.parseFloat(token);
					break;
				case 16:
					loc.lng = Float.parseFloat(token);
					break;
				}
				i++;
			}
			
			this.locations.add(loc);
				
		}
		inputStream.close();

	}