Diferenças
Aqui você vê as diferenças entre duas revisões dessa página.
| Ambos lados da revisão anteriorRevisão anteriorPróxima revisão | Revisão anterior | ||
| software:art-dev [2008/11/14 09:59] – pedro | software:art-dev [2009/12/21 14:36] (atual) – pedro | ||
|---|---|---|---|
| Linha 1: | Linha 1: | ||
| - | ===== aRT Development Page ==== | + | ====== aRT Development Page ====== |
| - | Team: [[pessoais: | + | |
| - | This is a development page, with ongoing work and future functionalities for the package. For a description of aRT see the [[http:// | + | * Team: [[pessoais: |
| + | * This is a development page, with ongoing work and future functionalities for the package. For a description of aRT see the [[http:// | ||
| ===== Ongoing Work ===== | ===== Ongoing Work ===== | ||
| - | * [[software: | + | * [[software: |
| + | * [[software: | ||
| + | * [[software: | ||
| + | * [[software: | ||
| + | * [[software: | ||
| + | * [[software: | ||
| - | ====para a próxima versão (1.6-2) | + | ===== Released Versions |
| - | * < | + | |
| - | * < | + | |
| - | * < | + | |
| - | * < | + | |
| - | * < | + | |
| - | * erro MySQL windows quando executa o script recife.R: "too long ...". ver problema e relatar para o pessoal da TerraLib, antes da nova versao (15/out). | + | |
| - | * Postgre commandos | + | |
| - | * colocar debs na pagina | + | |
| - | * atualizar **esta** pagina | + | |
| - | * < | + | |
| - | + | | |
| - | ==getRelation=== | + | * [[software: |
| - | PJ: getRelation(lpred, | + | |
| - | + | ||
| - | **Pedro: Implementado. ver script recife.R na versao nova, a construcao da rel3.** | + | |
| - | + | ||
| - | ===Password=== | + | |
| - | PJ: será que o print da classe aRTconn poderia " | + | |
| - | + | ||
| - | ** Pedro: O print agora nao mostra mais a senha, mostra apenas um Yes ou No, indicando se a conexao usa ou nao senha. Se o usuario tem necessidade de saber a senha, ele pode verificar o comando que foi usado para estabelecer a conexao.** | + | |
| - | + | ||
| - | ===getSetOperation=== | + | |
| - | PJ: na documentacao esta': "id: The ids which to be used in the operation. ' | + | |
| - | union <- getSetOperation(ldistricts, | + | |
| - | Erro em .aRTcall(object, | + | |
| - | argumento " | + | |
| - | + | ||
| - | **Pedro: Já está funcionando na nova versão. Paulo, me passe o seu script e dados para eu testar.** | + | |
| - | + | ||
| - | ===simplify=== | + | |
| - | PJ: ?simplify abre documentacao de aRTgeometry, | + | |
| - | + | ||
| - | **Pedro: O simplify é uma funcao da classe aRTgeometry. ela simplifica poligonos em memoria, removendo pontos de acordo com limites de distancia e angulacao máximas. esta foi a primeira funcao que implementei que funciona com objetos em memoria, e nao armazenados no banco. Documentacao feita (?simplify) e exemplo feito (tests/ | + | |
| - | + | ||
| - | ===legendas=== | + | |
| - | PJ: rodando os script meso e neigh-parana da pagina abro as visualizacoes dos poligonos no TV e nao consigo ver as cores das legendas -- aparece tudo com cor s;olida do poligono. será que estou fazendo algo errado (desmarquei todas e marquei só a que queria ver e mando desenhar) | + | |
| - | + | ||
| - | + | ||
| - | ===getGeometry=== | + | |
| - | PJ: Typo nos docs: Usage: | + | |
| - | getGeometry(ldistricts) | + | |
| - | Erro em function (classes, fdef, mtable) | + | |
| - | unable to find an inherited method for function " | + | |
| - | + | ||
| - | **Pedro: a função getGeometry é da classe aRTgeometry, | + | |
| - | + | ||
| - | + | ||
| - | ===== Probably Implemented, | + | |
| - | + | ||
| - | - when adding/ | + | |
| - | - openTheme(db, | + | |
| - | - temporal slicing? | + | |
| - | - reload(db) to reconnect to the database, keeping consistent all children (layers, tables) | + | |
| - | - aRTvisual class | + | |
| - | + | ||
| - | ===== Scripts com exemplos, dúvidas e problemas ===== | + | |
| - | - [[software: | + | |
| - | + | ||
| - | ===== Drivers ===== | + | |
| - | + | ||
| - | ====SQLite Driver ==== | + | |
| - | * **Aborted** due to syntax constraints. It does not support all the SQL commands TerraLib needs (left join, right join). | + | |
| - | * [[software: | + | |
| - | + | ||
| - | ==== Connection Through ODBC ==== | + | |
| - | + | ||
| - | * {{software: | + | |
| - | + | ||
| - | ====Postgre==== | + | |
| - | * all databasde operations (createDB, createLayer etc) are echoing messages such as: | + | |
| - | + | ||
| - | < | + | |
| - | > th = createTheme(lpolygons, | + | |
| - | > NOTA: CREATE TABLE / PRIMARY KEY criará Ãndice implÃcito | + | |
| - | > " | + | |
| - | > NOTA: CREATE TABLE criará sequência implÃcita | + | |
| - | > " | + | |
| - | > " | + | |
| - | > NOTA: CREATE TABLE / PRIMARY KEY criará Ãndice implÃcito | + | |
| - | > " | + | |
| - | </ | + | |
| - | How to remove them? | + | |
| - | + | ||
| - | ===== To Do List ===== | + | |
| - | + | ||
| - | === Bugs === | + | |
| - | - shapefile: great chance to have a bug when ' | + | |
| - | - when creating themes with more than one table, the last attribute of the tables but the first disappear. Probably it thinks the table has less attributes it really has, because of the object_id that joins the tables. And it removes another attribute instead of obj_id | + | |
| - | - Polygonos with holes still do not work very well. | + | |
| - | - bug creating themes, but when trying again it works (problem with SAUDAVEL database). | + | |
| - | + | ||
| - | === Temporal Tables === | + | |
| - | - aRT currently has a fixed format for temporal attributes: "YYYY-MM-DD HH: | + | |
| - | - 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 | + | |
| - | + | ||
| - | - aRTdynattrtable.cpp: | + | |
| - | + | ||
| - | <code C> | + | |
| - | at.dateTimeFormat_ = " | + | |
| - | at.dateChronon_ = TeSECOND; | + | |
| - | at.dateSeparator_ = "-"; | + | |
| - | at.timeSeparator_ = ":"; | + | |
| - | </ | + | |
| - | + | ||
| - | === Media Tables === | + | |
| - | + | ||
| - | Na verdade a questao é referente ao banco do saudavel onde já há uma midia e o Miguel acha (e eu concordo) | + | |
| - | que deveriamos | + | |
| - | é possível adicionar mais de uma midia à tabela. | + | |
| - | Nao sei o quão complicado é isto,é desejável, embora não totalmente prioritário no momnebnt | + | |
| - | + | ||
| - | media tables are now (terralib 3.2) part of terraview. Put the access to the following functions: | + | |
| - | + | ||
| - | + | ||
| - | terralib/ | + | |
| - | + | ||
| - | <code C> | + | |
| - | bool insertMedia(TeDatabase* db, const string& tableName, string& fileName, const string& description, | + | |
| - | bool insertMediaObjLayer (TeDatabase* db, TeLayer* layer, const string& objectId, const string& mediaName, const string& mediaTable); | + | |
| - | 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. | + | |
| - | + | ||
| - | < | + | |
| - | object_id | + | |
| - | 1 261160605094 | + | |
| - | 2 261160605054 | + | |
| - | 3 261160605055 | + | |
| - | </ | + | |
| - | + | ||
| - | o problema é que as tabelas de media exigem que ambos object id e media name sejam uma chave composta. | + | |
| - | + | ||
| - | === Miscelaneous === | + | |
| - | - selecting attributes when creating themes | + | |
| - | - getLastID ou getBiggerID (or something like that), only when using ID as integers (to Elias). | + | |
| - | - getUniqueTimes(table) for temporal tables | + | |
| - | - exportShape(), | + | |
| - | - 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 " | + | |
| - | - querier for raster data? | + | |
| - | - 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 === | + | |
| - | - opcao para compilar sem banco | + | |
| ===== Links ===== | ===== Links ===== | ||
| - | | + | |
| - | - [[http:// | + | |
| - | | + | |
| - | | + | |