Closed migurski closed 7 years ago
Metroextractor now pulls city data from https://mapzen.com/data/metro-extracts/cities-extractor.json. This PR introduces three possible status values for each city to control extractor behavior:
"published"
"deprecated"
"pre-published"
The difference between deprecated and pre-published can be seen between https://mapzen-odes-extracts-pr-274.herokuapp.com/metro/algiers_algeria/ and https://mapzen-odes-extracts-pr-274.herokuapp.com/cities-extractor.json, with algiers_algeria representing an old bbox for Algiers, and algiers_algeria_expanded showing a new one. In practice, we would want some amount of lead time in pre-published status, and then switch to published once we knew that the files existed on S3.
algiers_algeria
algiers_algeria_expanded
Closes https://github.com/mapzen/operations-engineering/issues/354
Works for me!
Metroextractor now pulls city data from https://mapzen.com/data/metro-extracts/cities-extractor.json. This PR introduces three possible status values for each city to control extractor behavior:
"published"
(default) — show this metro on the map and feed it to extractor batch."deprecated"
— show this metro on the map, but hide it from extractor batch."pre-published"
— omit this metro from the map, but feed it to extractor batch.The difference between deprecated and pre-published can be seen between https://mapzen-odes-extracts-pr-274.herokuapp.com/metro/algiers_algeria/ and https://mapzen-odes-extracts-pr-274.herokuapp.com/cities-extractor.json, with
algiers_algeria
representing an old bbox for Algiers, andalgiers_algeria_expanded
showing a new one. In practice, we would want some amount of lead time in pre-published status, and then switch to published once we knew that the files existed on S3.Closes https://github.com/mapzen/operations-engineering/issues/354