Menu

Home

Pietro Zambelli

Welcome to biomasfor wiki!

This is the documentation page of the biomasfor extension for GRASS.

Install

As a first step you should download the program from here or for the last version using git as follows: ::

$ git clone https://pietrozambelli@git.code.sf.net/p/biomasfor/code biomasfor

Now you must make the script available in GRASS creating a link in the GRASS script directory using: ::

$ ln -s /your/path/biomasfor/biomas4.py /path/to/grass_src/script/

As suggested in the documentation (Grass and Python) add the correct path for your system.

Change the permission to make the program executable, using the following command:

$ sudo chmod +x /your/path/biomasfor/biomas4.py

After that, you must configure Postgres and PostGIS and create your
database, for more information see PostgreSQL and PostGIS installation
guides. You may check quite easily your database using PgAdmin and your spatial data using GRASS or QGIS.

Execute

To execute the script you may run biomas4.py in the grass terminal

Samples data

All the sample data are freely available under "Creative Commons 0" license:

* [Main roads](http://www.territorio.provincia.tn.it/geodati/1550_Viabilit__esistente__pup__12_12_2011.zip)
* [Forestry roads](http://www.territorio.provincia.tn.it/geodati/1527_Viabilit__forestale_12_12_2011.zip)
* [Forestry data](http://www.territorio.provincia.tn.it/geodati/1399_Fustaia_12_12_2011.zip)
* [DTM](http://www.lidar.provincia.tn.it:8081/WebGisIT/pages/webgis.faces)

Project Admins:


Auth0 Logo