public LatLng getGeolocation(int iid) {
		if (iid < 0 || iid > loadCounter) {
			System.out.println("Internal id " + iid + " is out of range!");
			return null;
		}
		DatabaseEntry key = new DatabaseEntry();
		IntegerBinding.intToEntry(iid, key);
		DatabaseEntry data = new DatabaseEntry();
		if ((iidToGeolocationDB.get(null, key, data, null) == OperationStatus.SUCCESS)) {
			TupleInput input = TupleBinding.entryToInput(data);
			double latitude = input.readDouble();
			double longitude = input.readDouble();
			LatLng geolocation = new LatLng(latitude, longitude);
			return geolocation;
		} else {
			System.out.println("Internal id " + iid + " is in range but gelocation was not found.");
			return null;
		}
	}
public LatLng getGeolocation ( int iid ) { if ( iid < 0 || iid > loadCounter ) { System . out . println ( "Internal id " + iid + " is out of range!" ) ; return null ; } DatabaseEntry key = new DatabaseEntry ( ) ; IntegerBinding . intToEntry ( iid , key ) ; DatabaseEntry data = new DatabaseEntry ( ) ; if ( ( iidToGeolocationDB . get ( null , key , data , null ) == OperationStatus . SUCCESS ) ) { TupleInput input = TupleBinding . entryToInput ( data ) ; double latitude = input . readDouble ( ) ; double longitude = input . readDouble ( ) ; LatLng geolocation = new LatLng ( latitude , longitude ) ; return geolocation ; } else { System . out . println ( "Internal id " + iid + " is in range but gelocation was not found." ) ; return null ; } }
Returns a {@link LatLng} object with the geolocation of the vector with the given internal id or null
if the internal id does not exist. Accesses the BDB store!

@param iid
The internal id of the vector
@return The geolocation mapped to the given internal id or null if the internal id does not exist