mapbox / supermercado

Supercharger for mercantile
MIT License
127 stars 21 forks source link

adding grow command [ WIP] #19

Open dnomadb opened 7 years ago

dnomadb commented 7 years ago

In order to grow a list of tiles in the x and y dimensions.

A set of tiles:

cat data/ellada.geojson | supermercado burn 10 | mercantile shapes | fio collect | geojsonio

image

Grown by the default, 1:

cat data/ellada.geojson | supermercado burn 10 | supermercado grow | mercantile shapes | fio collect | geojsonio 

image

Grown by 10:

cat data/ellada.geojson | supermercado burn 10 | supermercado grow --distance 10 | mercantile shapes | fio collect | geojsonio

image

Just return the new growth:

cat data/ellada.geojson | supermercado burn 10 | supermercado grow -n | mercantile shapes | fio collect | geojsonio

image

Needs:

codecov-io commented 7 years ago

Current coverage is 80.85% (diff: 35.29%)

No coverage report found for master at 4d70b7d.

Powered by Codecov. Last update 4d70b7d...c101715