Skip to content

Commit c271189

Browse files
authored
Merge pull request #184 from developmentseed/threadpool_docs
documentation for threadpool
2 parents 0691422 + 17baed5 commit c271189

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[0.9.1](https://github.com/developmentseed/label-maker/releases/tag/0.9.1) (2020-11-18)
2+
------------------
3+
- Add the ability to specify the number of threads to use to downlaod images ([#182](https://github.com/developmentseed/label-maker/pull/182))
4+
15
[0.9.0](https://github.com/developmentseed/label-maker/releases/tag/0.9.0) (2020-08-19)
26
------------------
37
- Add the ability to parse non-polygons from the GeoJSON file ([#170](https://github.com/developmentseed/label-maker/pull/170))

docs/index.rst

+6-1
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,14 @@ Downloads all imagery tiles needed to create the training data. Requires the ``l
108108
The number of background tiles added depends on the `background_ratio` parameter specified in the `config.json` file.
109109
A background_ratio of 0 will return no background tiles.
110110

111+
Accepts one additional flag:
112+
113+
``-t`` or ``--threadcount``: int
114+
Specifies the number of threads used to download imagery tiles in parallel. Defaults to ``10``.
115+
111116
.. code-block:: bash
112117
113-
$ label-maker images
118+
$ label-maker images -t 50
114119
Downloading 1189 tiles to data/tiles
115120
116121
CLI Step 5: package

label_maker/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""Library verison"""
2-
__version__ = '0.9.0'
2+
__version__ = '0.9.1'

0 commit comments

Comments
 (0)