From f93b3c2ecc80b02fb821d944e5fadee9a366120d Mon Sep 17 00:00:00 2001 From: Kevin Webb Date: Tue, 7 May 2019 18:25:54 -0400 Subject: [PATCH] added graph build options for bike/ped paths --- src/backfill.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backfill.js b/src/backfill.js index 6036033..129f1cb 100644 --- a/src/backfill.js +++ b/src/backfill.js @@ -21,9 +21,9 @@ const backfill = async function() { // get graph const graphOpts = { source: "osm/planet-181224", - tileHierarchy: 6 + tileHierarchy: 8 }; - var graph = new shst.Graph(envelope, graphOpts); + var graph = new shst.Graph(envelope, graphOpts, 'bike'); await graph.buildGraph(); var pointMatcher = new shst.PointMatcher(envelope, graphOpts);