// Loop over the points to see if they're already included in visited cities entries
// it's important that the location points in the locations list are for a single apiKeyId
// and are in forward chronological order. Only add locations that aren't already contained
// within a VisitedCity item to the newLocations list
List<LocationFacet> newLocations=new ArrayList<LocationFacet>();
VisitedCity existingVisitedCityRecord = null;
for (LocationFacet locationFacet : rawLocations) {
// Check to see if this location is in the current existingVisitedCityRecord (if any)
if(existingVisitedCityRecord !=null && locationFacet.start <=existingVisitedCityRecord.end) {
// This location falls within the last fetched visited cities record, skip it