private City parseCity(String str) {
		City city = new City();
		Pattern numPattern = Pattern.compile("[0-9]+");
		Matcher match = numPattern.matcher(str);
		boolean index = true;
		String s = null;
		while(match.find()){
			s = match.group();
			if(index){
				double nodeIndex = Double.parseDouble(s);
				city.setIndex(nodeIndex);
				index = false;
			}else{
				double coordinate = Double.parseDouble(s);
				city.getCoordinates().add(coordinate);
			}
		}
		return city;
	}