mapzen / metro-extracts

DEPRECATED. See readme for alternative ways to get "city-sized chunks" of OpenStreetMap data
ISC License
25 stars 27 forks source link

Introduce different status for cities JSON #274

Closed migurski closed 7 years ago

migurski commented 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:

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.

Closes https://github.com/mapzen/operations-engineering/issues/354

heffergm commented 7 years ago

Works for me!