Skip to content

Commit

Permalink
fix last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rakow committed Nov 15, 2023
1 parent f33caa8 commit 47dd873
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,13 @@ public Integer call() throws Exception {
network = NetworkUtils.createNetwork();
filter.filter(network, Set.of(TransportMode.car));

facilities = new FacilityIndex(facilityPath.toString());

zones = new Long2ObjectOpenHashMap<>(shp.readFeatures().stream()
.collect(Collectors.toMap(ft -> Long.parseLong((String) ft.getAttribute("ARS")), ft -> ft)));

log.info("Read {} zones", zones.size());


log.info("Using input file: {}", input);

List<Population> populations = new ArrayList<>();
Expand Down

0 comments on commit 47dd873

Please sign in to comment.