This installation was previously tested only with Linux, but should also work under Windows.
Installation Description (PyPi)
https://pypi.org/project/extractTool/
pip install extractTool
(you can write this command in your console and follow the installation description on the webside OR you can download the file and install the CLI tool local: )
Installation Description (local)
pip for pip install is required.
After downloading our Tool from PyPi To run our CLI tool, the following file must be executed in the project folder:
pip install -r requirements.txt --user (or sudo pip install -r requirements.txt)
In this file all required plugins are listed, which we use in our tool.
Because sometimes there are some problems with the installation you must follow these next steps:
First, ensure you have gdal installed. I just run the following:
sudo apt-get install libgdal1i libgdal1-dev libgdal-dev
To get the version that apt-get provided you please run:
gdal-config --version
For example I get 2.2.3 so my pygdal version will be 2.2.3.3. (but replace the version with your version)
pip install pygdal==2.2.3.3
If you get some error you may look here
Next step:
pip install pytest
Then you can navigate in any common console in the folder of the tool ("extractTool") and there, the following command must be executed
python extractTool.py --path='[filepath]' --detail=[bbox|convexHull] --time
for filepath you must insert a filepath to your testdata
--bbox ← for the bounding box of the file/folder (set as default)
--convexHull ← to get all the covexHull of the file/folder
--time ← (optionally) You can add this parameter to get additionally the timeextend
some examples
python extractTool.py --path='/home/maxmusterman/test1.geojson' --detail=bbox --time
python extractTool.py --path='/home/maxmusterman/test2.nc' --detail=convexHull
python extractTool.py --path='/home/maxmusterman/testdict' --time
Metadata
Release files for extractTool 0.4.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| extractTool-0.4.9.tar.gz | 34.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| extractTool-0.4.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 79.3 kB
Release files / extractTool-0.4.9.tar.gz
| Download URL | extractTool-0.4.9.tar.gz |
|---|---|
| Size | 34.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e2efc33b4f7b0007686058c80766d7f6937365bb360b5dd1f8cfa41ade3a1020
|
|
BLAKE2b-256 checksum How to use checksums |
8fc1236d063ce212fa6f5af3c0c59097df5dd6cb85d0f18d42ad3d6947363fbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.1 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.7
|
Release files / extractTool-0.4.9-py3-none-any.whl
| Download URL | extractTool-0.4.9-py3-none-any.whl |
|---|---|
| Size | 44.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5d88aee43a8f13e72631ad0c097457c1b01b4735ae9a52369eb5ae83bd9449dc
|
|
BLAKE2b-256 checksum How to use checksums |
18de97b9232d76009e21125a07c9611abc59265afe5a61063dc0d32ace8e9e13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.1 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.7
|