seems fine
This commit is contained in:
parent
48983e3b4b
commit
7a1696541f
37 changed files with 4999 additions and 1242 deletions
|
|
@ -65,7 +65,7 @@ public class App {
|
|||
String[] originNames = places.names();
|
||||
double[] originLats = places.lats(), originLons = places.lons();
|
||||
int nOrigins = originLats.length;
|
||||
System.err.printf(" %,d places (total)%n", nOrigins);
|
||||
System.err.printf(" %,d travel-eligible places%n", nOrigins);
|
||||
|
||||
// Filter places to England only (must be near at least one England postcode)
|
||||
Set<Integer> englandIndices = filterEnglandPlaces(
|
||||
|
|
@ -89,7 +89,7 @@ public class App {
|
|||
System.err.printf("DEMO MODE: %d places (transit only)%n", originIndices.length);
|
||||
for (int i : originIndices) System.err.printf(" - %s%n", originNames[i]);
|
||||
} else {
|
||||
// Normal mode: use all England places
|
||||
// Normal mode: use all travel-eligible England places
|
||||
originIndices = englandIndices.stream().sorted()
|
||||
.mapToInt(Integer::intValue).toArray();
|
||||
modes = MODES;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue