Não foi possível enviar o arquivo. Será algum problema com as permissões?
Diferenças
Aqui você vê as diferenças entre duas revisões dessa página.
Ambos lados da revisão anterior Revisão anterior Próxima revisão | Revisão anterior Próxima revisão Ambos lados da revisão seguinte | ||
software:art [2010/07/15 20:26] pedro |
software:art [2010/08/18 20:00] pedro |
||
---|---|---|---|
Linha 25: | Linha 25: | ||
===Source code=== | ===Source code=== | ||
- | |**[[http://www.leg.ufpr.br/~pedro/aRT/aRT_1.7-2.tar.gz|aRT_1.7-2.tar.gz]]** (Monday, 24-May-2010)| | + | |**[[http://www.leg.ufpr.br/~pedro/aRT/aRT_1.7-3.tar.gz|aRT_1.7-3.tar.gz]]** (Wednesday, 18-Aug-2010)| |
===== Dependencies ===== | ===== Dependencies ===== | ||
Linha 54: | Linha 54: | ||
* apt install:<code> apt-get install libdrm-dev</code> | * apt install:<code> apt-get install libdrm-dev</code> | ||
- **[[http://cran-r.c3sl.ufpr.br/web/packages/sp/index.html|sp]] version at least 0.9-26**. sp is an R package with S4 classes and methods for spatial data. | - **[[http://cran-r.c3sl.ufpr.br/web/packages/sp/index.html|sp]] version at least 0.9-26**. sp is an R package with S4 classes and methods for spatial data. | ||
- | - **[[http://www.terralib.org/|TerraLib]] version 3.4.0**. TerraLib is a library of classes for GIS. It is available under svn:<code> | + | - **[[http://www.terralib.org/|TerraLib]] version 3.5.1_dev**. TerraLib is a library of classes for GIS. It is available under svn:<code> |
mkdir terralib | mkdir terralib | ||
cd terralib | cd terralib | ||
- | svn co https://svn.dpi.inpe.br/terralib/tags/v-3-4-0/src | + | svn co https://svn.dpi.inpe.br/terralib/trunk/src |
- | svn co https://svn.dpi.inpe.br/terralib/tags/v-3-4-0/terralibx | + | svn co https://svn.dpi.inpe.br/terralib/trunk/terralibx |
- | svn co https://svn.dpi.inpe.br/terralib/tags/v-3-4-0/terraView | + | svn co https://svn.dpi.inpe.br/terralib/trunk/terraView |
- | </code>When using g++ 4.4.4, you have to change TePDIMixModelSpectralBandList.cpp, as follows:<code> | + | |
- | echo "#include <stdio.h>" > tmptefile | + | |
- | cat src/terralib/image_processing/TePDIMixModelSpectralBandList.cpp >> tmptefile | + | |
- | mv -f tmptefile src/terralib/image_processing/TePDIMixModelSpectralBandList.cpp | + | |
</code>After that, compile terraView:<code> | </code>After that, compile terraView:<code> | ||
cd terraView/linux | cd terraView/linux | ||
make</code>TerraLib directory needs to be registered in ''LD_LIBRARY_PATH''. Put the following lines in your ''.bashrc'' (change path to ''TERRALIBDIR'' if needed): <code> | make</code>TerraLib directory needs to be registered in ''LD_LIBRARY_PATH''. Put the following lines in your ''.bashrc'' (change path to ''TERRALIBDIR'' if needed): <code> | ||
TERRALIBDIR=/usr/local/terralib | TERRALIBDIR=/usr/local/terralib | ||
- | LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$TERRALIBDIR/terralibx/Release:/usr/lib/ogdi/ | + | LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$TERRALIBDIR/terralibx/Release/:/usr/lib/ogdi/ |
export LD_LIBRARY_PATH | export LD_LIBRARY_PATH | ||
- | </code> After that, you can running 'terraView' directly from bash. If TerraLib is located at any another directory you can still install aRT by calling (replace ''/terralib/dir'' accordingly): <code> | + | </code> After that, you can running 'terraView' directly from bash (<html><span style="color:red"><b>Important</b></span></html>: some new versions of terraView require the argument host for connecting to a DBMS, therefore it is necessary to fill it with '127.0.0.1'). If TerraLib is located at any another directory you can still install aRT by calling (replace ''/terralib/dir'' accordingly): <code> |
- | R CMD INSTALL --configure-args=--with-terralib=/terralib/dir aRT | + | R CMD INSTALL --configure-args=--with-terralib=/terralib/dir/ aRT |
</code> | </code> | ||
Linha 108: | Linha 104: | ||
===Data sets and scripts=== | ===Data sets and scripts=== | ||
+ | Please uncompress the zip files in the current folder before running the scripts. For more examples, see folder 'tests' within aRT installation folder. | ||
* Creating cells and filling attributes ({{http://www.leg.ufpr.br/~pedro/aRT/data/rondonia.R|script}}, {{http://www.leg.ufpr.br/~pedro/aRT/data/rondonia.zip|shapefile data}}) | * Creating cells and filling attributes ({{http://www.leg.ufpr.br/~pedro/aRT/data/rondonia.R|script}}, {{http://www.leg.ufpr.br/~pedro/aRT/data/rondonia.zip|shapefile data}}) | ||
* Union of polygons ({{http://www.leg.ufpr.br/~pedro/aRT/data/meso-parana.R|script}}, {{http://www.leg.ufpr.br/~pedro/aRT/data/meso-parana.zip|shapefile data}}) | * Union of polygons ({{http://www.leg.ufpr.br/~pedro/aRT/data/meso-parana.R|script}}, {{http://www.leg.ufpr.br/~pedro/aRT/data/meso-parana.zip|shapefile data}}) | ||
* Neighbourhood, relations, and metrics ({{http://www.leg.ufpr.br/~pedro/aRT/data/northwest.R|script}}, {{http://www.leg.ufpr.br/~pedro/aRT/data/northwest.zip|data dumped from R}}) | * Neighbourhood, relations, and metrics ({{http://www.leg.ufpr.br/~pedro/aRT/data/northwest.R|script}}, {{http://www.leg.ufpr.br/~pedro/aRT/data/northwest.zip|data dumped from R}}) | ||
* Neighborhood matrix and analysis with spdep ({{http://www.leg.ufpr.br/~pedro/aRT/data/neigh-parana-aRT.R|script aRT}}, {{http://www.leg.ufpr.br/~pedro/aRT/data/neigh-parana-maptools.R|script maptools}}, {{http://www.leg.ufpr.br/~pedro/aRT/data/neigh-parana.zip|shapefile data}}) | * Neighborhood matrix and analysis with spdep ({{http://www.leg.ufpr.br/~pedro/aRT/data/neigh-parana-aRT.R|script aRT}}, {{http://www.leg.ufpr.br/~pedro/aRT/data/neigh-parana-maptools.R|script maptools}}, {{http://www.leg.ufpr.br/~pedro/aRT/data/neigh-parana.zip|shapefile data}}) | ||
- | * Adehabitat example ({{http://www.leg.ufpr.br/~pedro/aRT/data/adehabitat-example.R|script}}) | + | * Adehabitat example ({{http://www.leg.ufpr.br/~pedro/aRT/data/adehabitat-peixeboi.R|script}}, {{http://www.leg.ufpr.br/~pedro/aRT/data/peixe_boi.zip|shapefile data}}) |
<html><!-- | <html><!-- | ||
Linha 130: | Linha 127: | ||
===Developers=== | ===Developers=== | ||
- | * [[http://leg.ufpr.br/~pedro|Pedro Ribeiro de Andrade]] - pedro at dpi.inpe.br (maintainer) | + | * [[http://leg.ufpr.br/~pedro|Pedro Ribeiro de Andrade]] - pedro.andrade at inpe.br (maintainer) |
* [[http://leg.ufpr.br/~paulojus|Paulo Justiniano Ribeiro Junior]] - paulojus at ufpr.br | * [[http://leg.ufpr.br/~paulojus|Paulo Justiniano Ribeiro Junior]] - paulojus at ufpr.br | ||
* Eduardo Sant'Ana da Silva - eduardo.santanadasilva at gmail.com | * Eduardo Sant'Ana da Silva - eduardo.santanadasilva at gmail.com |