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

To Do List

plot(db)

plot(db)
plot(db, "viewname")
plot(db, "viewname", separateThemes=T)
plot(db, layers=TRUE)

It creates an MxN (using par(mfcol(lenght(views)/sqrt(length(views)), sqrt(length(views))])window and plot each view separately. To do so, we need the following functions:

  1. getSlices(theme)
  2. getVisual(theme) working correctly
  3. getThemes(db, "view")
  4. plot(theme) using getVisual as default

setVisual()

It only works once. Give the possibility to change the visual.

Bugs

  1. shapefile: great chance to have a bug when 'object_id' is a column of real numbers. Perhaps a warning?
  2. 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.
  3. bug creating themes, but when trying again it works (problem with SAUDAVEL database).
  4. when adding/reading data to a table, do not fill missing values (NA).

Temporal Tables

  1. aRT currently has a fixed format for temporal attributes: "YYYY-MM-DD HH:mm:SS"
  2. getFormat to get the format of a column? (package chron works with time formats)
  3. if we use it, the format MUST be an argument each time we write a temporal column in the database
  4. temporal slicing?
  1. aRTdynattrtable.cpp:

at.dateTimeFormat_ = "YYYYsMMsDDsHHsmmsSS";
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 ncluir a media no banco.. Isto é o que motiva esta pergunta. Portanto, pelo que vc comenta é 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/terraView/TeApplicationUtils.h

bool insertMedia(TeDatabase* db, const string& tableName, string& fileName, const string& description, const string& type, bool blob=true);
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);

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                                                 media_name
1 261160605094   http://www.leg.est.ufpr.br/~paulojus/aviDengue/gamBT.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

o problema é que as tabelas de media exigem que ambos object id e media name sejam uma chave composta.

Miscelaneous

  1. opcao para compilar sem banco
  2. selecting attributes when creating themes
  3. getLastID ou getBiggerID (or something like that), only when using ID as integers (to Elias).
  4. getUniqueTimes(table) for temporal tables
  5. exportShape(), exportMidmif, exportSpring()
  6. getPoints etc para pegar a projecao e colocar no objeto sp
  7. 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
  8. querier for raster data?
  9. apagar conceptualmodel da funcao de criar banco, e ver se funciona corretamente
  10. deleteColumn()

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