Não foi possível enviar o arquivo. Será algum problema com as permissões?
Diferenças

Diferenças

Aqui você vê as diferenças entre duas revisões dessa página.

Link para esta página de comparações

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-dev [2008/09/18 20:03]
pedro
software:art-dev [2008/10/21 20:13]
pedro
Linha 1: Linha 1:
-===== aRT Team ===== +===== aRT Development Page ==== 
-[[pessoais:​pedro|Pedro]],​ [[pessoais:​paulojus|PJ]],​ Eduardo Sant'​ana+Team: [[pessoais:​pedro|Pedro]],​ [[pessoais:​paulojus|PJ]],​ Eduardo Sant'​ana
  
-===== Summary ===== 
 This is a development page, with ongoing work and future functionalities for the package. For a description of aRT see the [[http://​www.leg.ufpr.br/​aRT|webpage]]. This is a development page, with ongoing work and future functionalities for the package. For a description of aRT see the [[http://​www.leg.ufpr.br/​aRT|webpage]].
  
-===== FAQ ===== +===== Ongoing Work =====
-[[software:​art:​faq|Frequently Asked Questions]] about aRT+
  
 +====para a próxima versão (dez/2008) ====
 +  - strip aRT.dll (windows)
 +  - colocar o libmysql.dll em libs (windows) skosta@gmail.com:​ Quando se instala o mysql, ele instala a biblioteca que vem com ele, e nós temos que atualizar a biblioteca do  mysql por aquela que foi compilado para gcc.
 +  - compilar o aRT com a versao nova da terralib (Release 3.2.1, October 24th)
 +  - getRelation(lpred,​ c("​within",​ "​touches"​),​ lpolys)) e ver outras funcoes que possam usar a mesma estrategia
  
-===== Ongoing Work ===== + 
-  - disponibilizar libterralib ​terraview binarios ​para linux +====média prioridade==== 
-  - colocar os fontes do teview para tabelas de media no source do aRT +  - erro MySQL windows quando executa o script recife.R: "too long ...". ver problema ​relatar ​para o pessoal da TerraLib, antes da nova versao (15/out). 
-  - olhar a compilacao do sqlite versao 3, esta dando problema +  - Postgre commandos => LEG 
-  - colocar ​no configure opcoes de --no-sqlite,​ etc +  - colocar ​debs na pagina => gerar debs => LEG 
-  - colocar um relatorio no final da instalacao do aRT, e colocar uma funcao com este mesmo relatorio no pacote. +  - atualizar **esta** pagina 
-  - colocar a variavel ambiente dentro da funcao ​de carregar o aRT, e colocar isto no configure para alterar automaticamente +  - manipulacao ​de celulas 
-  - apagar conceptualmodel da funcao de criar banco, e ver se funciona corretamente +  - ver postgre
-  - deleteColumn()+
  
 ===== Probably Implemented,​ but not Checked ===== ===== Probably Implemented,​ but not Checked =====
Linha 30: Linha 32:
   - [[software:​art:​scripts|List of Scripts]] about aRT   - [[software:​art:​scripts|List of Scripts]] about aRT
  
-===== SQLite Driver ​=====+===== Drivers ​=====
  
-[[software:​art:​driver_sqlite|Discussions]] about the implementation of a TerraLib driver for SQLite+====SQLite ​Driver ====
  
-===== Other DBMS =====+  * SQLite does not support all the SQL commands TerraLib needs (left join, right join). 
 +  * [[software:​art:​driver_sqlite|Discussions]] about the implementation of a TerraLib driver for SQLite.
  
-{{software:​art:​teodbc.pdf|ODBC strategy}} plans for an access to the TL data base using ODBC aiming ​ a common solution for Linux and Windows+==== Connection Through ​ODBC ====
  
 +  * {{software:​art:​teodbc.pdf|ODBC strategy}} plans for an access to the TL data base using ODBC aiming ​ a common solution for Linux and Windows
  
 +====Postgre====
 +  * all databasde operations (createDB, createLayer etc) are echoing messages such as:
 +
 +<​code>​
 +> th = createTheme(lpolygons,​ "​poligons",​ vi="​view"​)
 +> NOTA:  CREATE TABLE / PRIMARY KEY criará índice implícito
 +> "​te_collection_2_pkey"​ na tabela "​te_collection_2"​
 +> NOTA:  CREATE TABLE criará sequência implícita
 +> "​te_collection_2_aux_unique_id_seq"​ para coluna serial
 +> "​te_collection_2_aux.unique_id"​
 +> NOTA:  CREATE TABLE / PRIMARY KEY criará índice implícito
 +> "​te_collection_2_aux_pkey"​ na tabela "​te_collection_2_aux"​
 +</​code>​
 +How to remove them?
  
 ===== To Do List ===== ===== To Do List =====
Linha 59: Linha 77:
   - bug creating themes, but when trying again it works (problem with SAUDAVEL database?).   - bug creating themes, but when trying again it works (problem with SAUDAVEL database?).
  
-=== DBMS === 
-  - compile without any DBMS (basically working with the configure) 
-  - Postgre: all databasde operations (createDB, createLayer etc) are echoing ​ 
-messages such as: 
-> th = createTheme(lpolygons,​ "​poligons",​ vi="​view"​) 
-> NOTA:  CREATE TABLE / PRIMARY KEY criará índice implícito 
-> "​te_collection_2_pkey"​ na tabela "​te_collection_2"​ 
-> NOTA:  CREATE TABLE criará sequência implícita 
-> "​te_collection_2_aux_unique_id_seq"​ para coluna serial 
-> "​te_collection_2_aux.unique_id"​ 
-> NOTA:  CREATE TABLE / PRIMARY KEY criará índice implícito 
-> "​te_collection_2_aux_pkey"​ na tabela "​te_collection_2_aux"​ 
- How to remove them? 
  
 === Temporal Tables === === Temporal Tables ===
-  - aRT actually ​has a fixed format for temporal attributes: "​YYYY-MM-DD HH:​mm:​SS"​+  - aRT currently ​has a fixed format for temporal attributes: "​YYYY-MM-DD HH:​mm:​SS"​
   - getFormat to get the format of a column? (package chron works with time formats)   - getFormat to get the format of a column? (package chron works with time formats)
   - if we use it, the format MUST be an argument each time we write a temporal column in the database   - if we use it, the format MUST be an argument each time we write a temporal column in the database
   - aRTdynattrtable.cpp:​   - aRTdynattrtable.cpp:​
  
-     at.dateTimeFormat_ = "​YYYYsMMsDDsHHsmmsSS";​ +<code C> 
-     ​at.dateChronon_ = TeSECOND; +at.dateTimeFormat_ = "​YYYYsMMsDDsHHsmmsSS";​ 
-     ​at.dateSeparator_ = "​-";​ +at.dateChronon_ = TeSECOND; 
-     ​at.timeSeparator_ = ":";​+at.dateSeparator_ = "​-";​ 
 +at.timeSeparator_ = ":";​ 
 +</​code>​
  
 === Media Tables === === Media Tables ===
Linha 92: Linha 99:
  
 media tables are now (terralib 3.2) part of terraview. Put the access to the following functions: media tables are now (terralib 3.2) part of terraview. Put the access to the following functions:
 +
  
 terralib/​terraView/​TeApplicationUtils.h terralib/​terraView/​TeApplicationUtils.h
  
-    ​bool insertMedia(TeDatabase* db, const string& tableName, string& fileName, const string& description,​ const string& type, bool blob=true);​ +<code C> 
-    bool insertMediaObjLayer (TeDatabase* db, TeLayer* layer, const string& objectId, const string& mediaName, const string& mediaTable);​  +bool insertMedia(TeDatabase* db, const string& tableName, string& fileName, const string& description,​ const string& type, bool blob=true);​ 
-    bool setDefaultMedia(TeDatabase* db, TeLayer* layer, const string& objectId, const string& mediaName, const string& mediaTable);​ +bool insertMediaObjLayer (TeDatabase* db, TeLayer* layer, const string& objectId, const string& mediaName, const string& mediaTable);​  
-    bool updateMediaDescription(TeDatabase* db, const string& mediaName, const string& mediaTable, const string& desc); +bool setDefaultMedia(TeDatabase* db, TeLayer* layer, const string& objectId, const string& mediaName, const string& mediaTable);​ 
 +bool updateMediaDescription(TeDatabase* db, const string& mediaName, const string& mediaTable, const string& desc); 
 +</​code>​
  
  
 existe um erro nas tabelas de media, mas ainda nao sei se o erro é do aRT ou da TerraLib, ou se é apenas uma decisao de projeto da terralib. acontece que não é possivel repetir o nome da url nas tabelas (assim como o id nao pode ser repetido). o erro ocorre quando voce tenta adicionar o terceiro elemento do data.frame, que tem media_name igual ao do segundo elemento. existe um erro nas tabelas de media, mas ainda nao sei se o erro é do aRT ou da TerraLib, ou se é apenas uma decisao de projeto da terralib. acontece que não é possivel repetir o nome da url nas tabelas (assim como o id nao pode ser repetido). o erro ocorre quando voce tenta adicionar o terceiro elemento do data.frame, que tem media_name igual ao do segundo elemento.
  
- +<​code>​ 
-     ​object_id ​                                                ​media_name +object_id ​                                                ​media_name 
-       ​1 261160605094 ​  ​http://​www.leg.est.ufpr.br/​~paulojus/​aviDengue/​gamBT.avi +1 261160605094 ​  ​http://​www.leg.est.ufpr.br/​~paulojus/​aviDengue/​gamBT.avi 
-       ​2 261160605054 ​ http://​www.leg.est.ufpr.br/​~paulojus/​aviDengue/​gamCFP.avi +2 261160605054 ​ http://​www.leg.est.ufpr.br/​~paulojus/​aviDengue/​gamCFP.avi 
-       ​3 261160605055 ​ http://​www.leg.est.ufpr.br/​~paulojus/​aviDengue/​gamCFP.avi +3 261160605055 ​ http://​www.leg.est.ufpr.br/​~paulojus/​aviDengue/​gamCFP.avi 
 +</​code>​
  
 === Miscelaneous === === Miscelaneous ===
Linha 118: Linha 127:
   - getPoints etc para pegar a projecao e colocar no objeto sp   - getPoints etc para pegar a projecao e colocar no objeto sp
   - incorporar importDynTable() no aRT da melhor forma e considear uns comentario que deixei no script. Qaundo estiver td certo e com certeza de estar funcionando a gente "​enxuga"​ o script   - incorporar importDynTable() no aRT da melhor forma e considear uns comentario que deixei no script. Qaundo estiver td certo e com certeza de estar funcionando a gente "​enxuga"​ o script
- 
-=== Brainstorm === 
-  - is openConn() mostly annoying? what about having a function: 
- 
-    openDb = function(dbname,​ ...) 
-    { 
-        con = openConn(...) 
-        return openDb(con, db) 
-    } 
- 
   - querier for raster data?   - querier for raster data?
-  - Strategies for populating temporal tables of cells (does terralib implement it???)+  - colocar um relatorio no final da instalacao do aRT, e colocar uma funcao com este mesmo relatorio no pacote. 
 +  - colocar a variavel ambiente dentro da funcao de carregar o aRT, e colocar isto no configure para alterar automaticamente 
 +  - apagar conceptualmodel da funcao de criar banco, e ver se funciona corretamente 
 +  - deleteColumn()
  
 === an old agenda === === an old agenda ===
Linha 136: Linha 138:
   - estudar como ficam opcoes para bancos no configure   - estudar como ficam opcoes para bancos no configure
   - outras coisas???? (facilitar,​geracao de relatorios html, etc?)   - outras coisas???? (facilitar,​geracao de relatorios html, etc?)
- 
-===== Suggestions for aRT ===== 
-  - <​del>​(Elias) In the function visualPoints(),​ the code "else if(pch == 22)  pch = 7" change to "else if(pch == 15)  pch = 7"</​del>​ 
-  - (PJ) about installing aRT for windows and drivers for SGDB: Imagino que a solução para o aRT deva ser a mesma para o TerraView, no que se recere a drivers para banco. Como o terraView resolve isto? Afinal, não é necessário ter um SGBD para o TV poder ser instalado. 
- 
-===== TIPS ON LINUX INSTALL ===== 
- 
-[[software:​art:​install|This page]] have some tips to install on a LINUX box 
  
 ===== Links ===== ===== Links =====

QR Code
QR Code software:art-dev (generated for current page)