From 25c66d4aca3492b7a2953ae217949c1ace89bd64 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Fri, 7 Jun 2024 13:12:35 -0700 Subject: [PATCH] combine pelias tasks into one for easier export of everything you need for pelias --- Earthfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Earthfile b/Earthfile index e458e725a..780135257 100644 --- a/Earthfile +++ b/Earthfile @@ -11,7 +11,7 @@ build: # bbike.org ARG --required area - # `countries is uses by whosonfirst dataset. + # `countries` is used by whosonfirst dataset. # If left blank we try to guess the country based on the area argument. # Use the special value `ALL` when doing a planet build. ARG countries @@ -38,10 +38,16 @@ save: BUILD +save-otp --area=${area} --transit_feeds=${transit_feeds} --clip_to_gtfs=0 END BUILD +save-valhalla --area=${area} + BUILD +save-pelias --area=${area} --countries=${countries} + BUILD +save-tileserver-terrain + +save-pelias: + FROM +save-base + ARG --required area + ARG countries BUILD +save-elasticsearch --area=${area} --countries=${countries} BUILD +save-placeholder --area=${area} --countries=${countries} BUILD +save-pelias-config --area=${area} --countries=${countries} - BUILD +save-tileserver-terrain save-polylines: FROM +save-base