@SuppressWarnings("unchecked")
	public synchronized List<NodeOsm> getNodes(String key, List<Long> ids){
		List<NodeOsm> nodes = new ArrayList<NodeOsm>();

		for (Long l: ids)
			nodes.add(((NodeOsm) getKeyFromValue((Map< String, Map <Object, Long>>) ((Object)totalNodes), key, l)));

		nodes.remove(null);

		return nodes;
	}