Commit 47afccbf authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

readme MD

parent 8db18b6e
......@@ -30,6 +30,13 @@ sentinel.downloadProducts(products,".")
```
## WKT Polygon bounding box (`geosentinel/polygonToBox.py`)
Some times you may have a WKT Polygon string that is to long for sentinel API to accept, in this case you can use this script to obtain the bounding box of the polygon and use it with **APISentinel**. This script also has the option to be used with ``gdal_translate`` id the second parameter is set to **False** .
### Dependencies
```bash
sudo apt-get install gdal-bin
pip install GDAL
```
### Example
```python
from geosentinel import APISentinel
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment