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/02/18 09:11] pedro |
software:art [2010/05/31 09:35] pedro |
||
---|---|---|---|
Linha 16: | Linha 16: | ||
See [[software:art:faq|FAQ]] for more details. | See [[software:art:faq|FAQ]] for more details. | ||
+ | <html><!-- | ||
===Linux binaries=== | ===Linux binaries=== | ||
* **[[software:art:linuxdistros|Binaries for some Linux distros]]** are also available. | * **[[software:art:linuxdistros|Binaries for some Linux distros]]** are also available. | ||
+ | --></html> | ||
===Windows binary=== | ===Windows binary=== | ||
Linha 23: | Linha 25: | ||
===Source code=== | ===Source code=== | ||
- | |**[[http://www.leg.ufpr.br/~pedro/aRT/aRT_1.7-1.tar.gz|aRT_1.7-1.tar.gz]]** (Monday, 16-Dec-2009)| | + | |**[[http://www.leg.ufpr.br/~pedro/aRT/aRT_1.7-2.tar.gz|aRT_1.7-2.tar.gz]]** (Monday, 24-May-2010)| |
- | + | ||
- | ===Development version (unstable)=== | + | |
- | |**[[http://www.leg.ufpr.br/~pedro/aRT/aRT_1.7-2.tar.gz|aRT_1.7-2.tar.gz]]** (Monday, 11-Jan-2010)| | + | |
===== Dependencies ===== | ===== Dependencies ===== | ||
aRT depends on other availability of resources as follows and | aRT depends on other availability of resources as follows and | ||
may not run correctly with versions other than indicated. | may not run correctly with versions other than indicated. | ||
+ | |||
+ | ===Windows=== | ||
+ | - **[[http://www.mysql.com/downloads/|MySQL]] version 14.12 Distrib 5.0.67 or greater**. MySQL is an open source DBMS. | ||
+ | - **[[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. | ||
===Linux=== | ===Linux=== | ||
- | * Automatic install of all dependencies: **install-aRT-dep {{http://www.leg.ufpr.br/~pedro/aRT/install-aRT-dep-32.zip|32}} and {{http://www.leg.ufpr.br/~pedro/aRT/install-aRT-dep-64.zip|64}} bits** are apt-based scripts (Debian, Ubuntu, and friends) to facilitate installing aRT dependencies. | + | * Automatic install of all dependencies: **install-aRT-dep {{http://www.leg.ufpr.br/~pedro/aRT/install-aRT-dep-32.zip|32}} and {{http://www.leg.ufpr.br/~pedro/aRT/install-aRT-dep-64.zip|64}} bits** are apt-based scripts (Debian, Ubuntu, and friends) to facilitate installing aRT dependencies. This script installs MySQL DBMS. |
* Individual dependencies | * Individual dependencies | ||
- | - **[[http://www.mysql.com/downloads/|MySQL]] version 14.12 Distrib 5.0.32 or greater**. MySQL is an open source DBMS. | + | - **[[http://www.mysql.com/downloads/|MySQL]] version 14.12 Distrib 5.0.32 or greater**. MySQL is an open source DBMS. It is optional, but you have to install at least one DBMS. |
* apt install: <code> apt-get install mysql-server-5.0 libmysqlclient15-dev</code> | * apt install: <code> apt-get install mysql-server-5.0 libmysqlclient15-dev</code> | ||
+ | - **[[http://www.postgresql.org/|PostgreSQL]] version 8.3 or greater**. PostgreSQL is also an open source DBMS. It is optional, but you have to install at least one DBMS. | ||
+ | * apt install: <code> apt-get install postgresql postgis</code> | ||
- **[[http://www.trolltech.com/|Qt]] version 3.3.3**. Qt is a multiplatform toolkit in C++ for the development of graphic interfaces, implemented by Trolltech. | - **[[http://www.trolltech.com/|Qt]] version 3.3.3**. Qt is a multiplatform toolkit in C++ for the development of graphic interfaces, implemented by Trolltech. | ||
- | * apt: <code>apt-get install libqt3-mt-dev</code> | + | * apt install: <code>apt-get install libqt3-mt-dev</code> |
- **JPEG.** A library for working with jpeg image format. | - **JPEG.** A library for working with jpeg image format. | ||
- | * apt:<code> apt-get install libjpeg62-dev</code> | + | * apt install:<code> apt-get install libjpeg62-dev</code> |
+ | - **Libdime**: A C++ class library for reading, constructing, manipulating, and writing DXF file data. Necessary to compile TerraView. | ||
+ | * apt install:<code> apt-get install libdime-dev</code> | ||
+ | - **Libdrm** A direct interface with video hardware using the Linux kernel's Direct Rendering Modules. Necessary to compile TerraView. | ||
+ | * 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.3.0**. TerraLib is a library of classes for GIS. You can find its **source code {{http://www.leg.ufpr.br/~pedro/aRT/terralib-3.3.0-32-leg.tgz|here}}**. There is also a **64 bits version {{http://www.leg.ufpr.br/~pedro/aRT/terralib-3.3.0-64-leg.tgz|here}}**. | + | - **[[http://www.terralib.org/|TerraLib]] version 3.4.0**. TerraLib is a library of classes for GIS. It is available under svn:<code> |
- | <html><!-- | + | |
- | It is available under cvs. Alternatives for installing are: | + | |
- | * [[software:art:linuxdistros|TerraLib/TerraView binaries are available for some Linux distros]]. | + | |
- | * Installing by compiling from sources: <code {coloque o maior que para fechar o code} | + | |
mkdir terralib | mkdir terralib | ||
cd terralib | cd terralib | ||
- | cvs -d :pserver:anonymous@cvs.dpi.inpe.br:/home/terralib login | + | svn co https://svn.dpi.inpe.br/terralib/tags/v-3-4-0/src |
- | cvs -d :pserver:anonymous@cvs.dpi.inpe.br:/home/terralib co -r v-3-2-1 src | + | svn co https://svn.dpi.inpe.br/terralib/tags/v-3-4-0/terralibx |
- | cvs -d :pserver:anonymous@cvs.dpi.inpe.br:/home/terralib co -r v-3-2-1 terralibx | + | svn co https://svn.dpi.inpe.br/terralib/tags/v-3-4-0/terraView |
- | cvs -d :pserver:anonymous@cvs.dpi.inpe.br:/home/terralib co -r v-3-2-1 terraView | + | |
cd terraView/linux | cd terraView/linux | ||
make | make | ||
- | </code {coloque o maior que para fechar o code} | + | </code>The Makefile is in ''terraView/linux/''. TerraLib directory needs to be registered in ''LD_LIBRARY_PATH''. Put the following lines in your ''.bashrc'' (change path to ''TERRALIBDIR'' if needed): <code> |
- | --?</html> | + | |
- | + | ||
- | The Makefile is in ''terraView/linux/''. If permissions allow the compiled TerraLib can be moved to ''/usr/local''. 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/ | ||
Linha 66: | Linha 67: | ||
R CMD INSTALL --configure-args=--with-terralib=/terralib/dir aRT | R CMD INSTALL --configure-args=--with-terralib=/terralib/dir aRT | ||
</code> | </code> | ||
- | |||
- | ===Windows=== | ||
- | - **[[http://www.mysql.com/downloads/|MySQL]] version 14.12 Distrib 5.0.67 or greater**. MySQL is an open source DBMS. | ||
- | - **[[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. | ||
===== Examples ===== | ===== Examples ===== | ||
Linha 110: | Linha 107: | ||
* 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}}) | ||
+ | |||
<html><!-- | <html><!-- | ||
* Points inside of polygons ({{http://www.leg.ufpr.br/~pedro/aRT/data/bh.R|script}}, {{http://www.leg.ufpr.br/~pedro/aRT/data/bh.zip| MID/MIFF data}}) | * Points inside of polygons ({{http://www.leg.ufpr.br/~pedro/aRT/data/bh.R|script}}, {{http://www.leg.ufpr.br/~pedro/aRT/data/bh.zip| MID/MIFF data}}) |