geoNearCommand.put("maxDistance", miles / 69.17);
geoNearCommand.put("num", limit);
geoNearCommand.put("spherical", true);
CommandResult geoNearResult = Model.datastore.getDB().command(geoNearCommand);
BasicDBList geoNearResults = (BasicDBList) geoNearResult.get("results");
return Lists.newArrayList(Iterables.transform(geoNearResults, new Function<Object, PostcodeUnit>() {
@Override
public PostcodeUnit apply(@Nullable Object input) {
BasicDBObject pcuObject = (BasicDBObject) ((BasicDBObject) input).get("obj");