Skip to main content

Tool for extracting spatial and temporal extent of Geodata

Project description

This installation was previously tested only with Linux, but should also work under Windows.

Installation Description (PyPi)

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 (but replace the version with your version)

pip install pygdal==

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 --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 --path='/home/maxmusterman/test1.geojson' --detail=bbox --time   
python --path='/home/maxmusterman/' --detail=convexHull
python --path='/home/maxmusterman/testdict' --time

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for extractTool, version 0.4.9
Filename, size File type Python version Upload date Hashes
Filename, size extractTool-0.4.9.tar.gz (34.7 kB) File type Source Python version None Upload date Hashes View
Filename, size extractTool-0.4.9-py3-none-any.whl (44.6 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page