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/05/26 08:56] pedro |
software:art [2010/08/16 21:26] 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 28: | Linha 30: | ||
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.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.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: <code>apt-get install libqt3-mt-dev</code> | + | * apt install: <code> apt-get install postgresql postgis</code> |
+ | - **[[http://www.trolltech.com/|Qt]] version 3.3.3**. Qt is a multiplatform toolkit for the development of graphic interfaces, implemented by Trolltech. | ||
+ | * apt install: <code>apt-get install libqt3-mt-dev</code> | ||
+ | - **[[http://www.gdal.org/|GDAL]]**. Geospatial Data Abstraction Library. | ||
+ | * apt install: <code>apt-get install libgdal1-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 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.4.0**. TerraLib is a library of classes for GIS. It is available under svn: | + | - **[[http://www.terralib.org/|TerraLib]] version 3.5.1_dev**. TerraLib is a library of classes for GIS. It is available under svn:<code> |
- | <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>After that, compile terraView:<code> | ||
cd terraView/linux | cd terraView/linux | ||
- | make | + | 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> |
- | </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> | + | |
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> 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. 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> | ||
- | |||
- | ===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 138: | Linha 145: | ||
[[http://www.ufpr.br/portal/|{{http://www.leg.ufpr.br/~pedro/aRT/images/ufpr.jpg?130}}]] | [[http://www.ufpr.br/portal/|{{http://www.leg.ufpr.br/~pedro/aRT/images/ufpr.jpg?130}}]] | ||
[[http://www.dpi.inpe.br/|{{http://www.leg.ufpr.br/~pedro/aRT/images/dpi.jpg?150}}]] | [[http://www.dpi.inpe.br/|{{http://www.leg.ufpr.br/~pedro/aRT/images/dpi.jpg?150}}]] | ||
- | [[http://www.ess.inpe.br/|{{http://www.leg.ufpr.br/~pedro/aRT/images/logo-cst.jpg?230}}]] | + | [[http://www.ccst.inpe.br/#|{{http://www.leg.ufpr.br/~pedro/aRT/images/logo-cst.jpg?230}}]] |
[[http://www.inpe.br/|{{http://www.leg.ufpr.br/~pedro/aRT/images/inpe.jpg}}]] | [[http://www.inpe.br/|{{http://www.leg.ufpr.br/~pedro/aRT/images/inpe.jpg}}]] | ||