From 91032d3a10e7663aa2b7a3bb5c9b2c71eacef9a9 Mon Sep 17 00:00:00 2001 From: martham93 Date: Wed, 18 Nov 2020 16:36:38 -0700 Subject: [PATCH 1/4] change log for threadpool feature release --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 43166de..4af1815 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +[0.9.1](https://github.com/developmentseed/label-maker/releases/tag/0.9.1) (2020-11-18) +------------------ +- Add the ability to specify the number of threads to use to downlaod images ([#182](https://github.com/developmentseed/label-maker/pull/182)) + [0.9.0](https://github.com/developmentseed/label-maker/releases/tag/0.9.0) (2020-08-19) ------------------ - Add the ability to parse non-polygons from the GeoJSON file ([#170](https://github.com/developmentseed/label-maker/pull/170)) From 10972d11e8fcccf9ad34093076688648347497ce Mon Sep 17 00:00:00 2001 From: martham93 Date: Wed, 18 Nov 2020 16:51:06 -0700 Subject: [PATCH 2/4] add to main docs page --- docs/index.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index 6a295ea..f7fd54e 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -108,9 +108,14 @@ Downloads all imagery tiles needed to create the training data. Requires the ``l The number of background tiles added depends on the `background_ratio` parameter specified in the `config.json` file. A background_ratio of 0 will return no background tiles. +Accepts one additional flag: + + ``-t`` or ``--threadcount``: int + Specifies of threads used to download imagery tiles in paralle. Defaults to ``10``. + .. code-block:: bash - $ label-maker images + $ label-maker images -t 50 Downloading 1189 tiles to data/tiles CLI Step 5: package From 32feb22ac35a1f0118b41f95a9b8afa09552c3c4 Mon Sep 17 00:00:00 2001 From: Drew Bollinger Date: Wed, 18 Nov 2020 23:27:31 -0800 Subject: [PATCH 3/4] small grammar fix in docs --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index f7fd54e..e8f0aa5 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -111,7 +111,7 @@ A background_ratio of 0 will return no background tiles. Accepts one additional flag: ``-t`` or ``--threadcount``: int - Specifies of threads used to download imagery tiles in paralle. Defaults to ``10``. + Specifies the number of threads used to download imagery tiles in parallel. Defaults to ``10``. .. code-block:: bash From 17baed5878bc3518eb745dae920392465e2e0c94 Mon Sep 17 00:00:00 2001 From: Drew Bollinger Date: Wed, 18 Nov 2020 23:28:18 -0800 Subject: [PATCH 4/4] bump version --- label_maker/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/label_maker/version.py b/label_maker/version.py index f14ae63..aac9d9c 100644 --- a/label_maker/version.py +++ b/label_maker/version.py @@ -1,2 +1,2 @@ """Library verison""" -__version__ = '0.9.0' +__version__ = '0.9.1'