private double extractCoordinate(String coordinate) {
		//will be on form Double,Double,Double after preparation
		coordinate = coordinate.trim();
		coordinate = prepareCoordinate(coordinate);
		int degreeEndIndex = coordinate.indexOf(',');
		int minutesEndIndex = coordinate.indexOf(',', degreeEndIndex + 1);
		int lastIndex = coordinate.length();
			
		String degreeString = degreeEndIndex != -1 ? coordinate.substring(0,degreeEndIndex) : coordinate.substring(0, lastIndex);
		String minutesString = minutesEndIndex != -1 ? coordinate.substring(degreeEndIndex + 1, minutesEndIndex) : coordinate.substring(degreeEndIndex + 1, lastIndex);
		String secondsString = minutesEndIndex != -1 ? coordinate.substring(minutesEndIndex + 1, lastIndex) : "0.0";
		double degree = Double.valueOf( degreeString );
		double minutes = Double.valueOf( minutesString );
		double seconds = Double.valueOf( secondsString );
		
		minutes += seconds / 60;
		degree += minutes / 60;
		return degree;
	}