Whisp is a powerful tool designed to support environmental conservation efforts by providing robust geospatial analysis. By ingesting geoids and geometries in either WKT (Well-Known Text) or GeoJSON formats, Whisp facilitates the creation of comprehensive supporting documentation necessary for claims under zero-deforestation regulatory mechanisms. This documentation can play a crucial role in validating efforts towards sustainability and compliance with environmental standards.
Currently the application can be found here.
/results/{UUID}
generateGeoids
flag, which will default to false if not included.https://whisp.openforis.org/api/geo-ids
{
"geoIds": ["string"]
}
{
"data": {"object"},
"token": "string"
}
### Analyze WKT
https://whisp.openforis.org/api/wkt
{
"wkt": "string"
}
{
"data": {"object"},
"token": "string"
}
https://whisp.openforis.org/api/wkt/geojson
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[longitude, latitude], [longitude, latitude], [longitude, latitude]
]
]
}
}
],
"generateGeoids": "boolean"
}
{
"data": {"object"},
"token": "string"
}
## Getting Started
To get started with Whisp, ensure you have Node.js and Python 3.11 installed on your system. We assume you are a registered user in Asset Registry and Collect Earth Online. Then, follow these steps:
Clone the Repository
git clone https://github.com/yourusername/whisp.git
cd whisp
Install Dependencies
Install Google Earth Engine library
pip install earthengine-api --upgrade
Install project dependencies
npm install
Configure the Application
Create a .env.local
file for development at the root directory with the following environment variables:
PYTHON_PATH=
ASSET_REGISTRY_BASE=https://api-ar.agstack.org
USER_REGISTRY_BASE=https://user-registry.agstack.org
API_KEY=
CLIENT_SECRET=
CEO_EMAIL=
CEO_PASSWORD=
Create a credentials.json
in the root directory with your Google Earth Engine service account details.
Create a Temp Folder
Create a temp
directory at the root to store analyses locally. This folder will be used for temporary storage during the geospatial analysis process.
Run the Application
npm run dev
The application will start running on http://localhost:3000
.
Contributions are welcome! If you'd like to contribute, please fork the repository and create a pull request with your changes. For major changes, please open an issue first to discuss what you would like to change.
Built with ❤️ for forests and biodiversity.