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/11/12 23:41]
pedro
software:art-dev [2008/11/22 17:27]
pedro
Linha 6: Linha 6:
 ===== Ongoing Work ===== ===== Ongoing Work =====
  
-====artigo====+  * [[software:​art-dev:​aRT163|aRT-1.6-3]] (feb/​2009) 
 +  * [[software:​art-dev:​drivers|Drivers]]
  
-**Integrating Statistics and Geographic Information Systems: the aRT package**+===== Released Versions =====
  
-Statistical spatial data analysis and GIS can act together in order to understand and model spatially distributed data. Geoprocessing operations can equip statistical models with relevant information which on their hand can be used to better understand main features of usually noisy and multidimensional data. Therefore integration between GIS and statistical ​software ​can be highly beneficial for both sides.  +  * [[software:art-dev:aRT162|aRT-1.6-2]] (nov/2008)
- +
-In this work, we present a package named aRT, which access the TerraLib GIS library within the R statistical software. TerraLib offers functions and data structures for building customized geographical applications. Its main objective is to provide a powerful environment for GIS development in a new generation of GIS, once it incorporates space-time support to conventional Database Management Systems (DBMS), for instance MySQL and PostgreSQL. R provides many functions statistical analysis in general, and specially analysis of geospatial data through contributed packages, for example point pattern, geostatistics,​ and spatial regression. Both TerraLib and R are free softwares. +
- +
-With aRT, the user can manipulate TerraLib objects directly within R, importing and exporting geospatial data to TerraLib databases. It also has functions for querying and manipulating geospatial data, for instance (1) spatial predicates, such as touches, within, contains, crosses, and overlaps; (2) polygons operations, as union, intersection,​ difference and simplification;​ (3) manipulation of temporal tables and temporal slicing. +
- +
-Currently, aRT has been used for  [+16 palavras] +
- +
-aRT is available as source code and as a Windows binary at http://​www.leg.ufpr.br/​aRT+
- +
- +
- +
-====para a próxima versão (1.6-2) ==== +
-  * <​del>​strip aRT.dll ​(windows)<​/del> +
-  * <​del>​colocar o libmysql.dll em libs (windowsskosta@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.</​del>​ +
-  * <​del>​compilar o aRT com a versao nova da terralib (Release 3.2.1, October 24th)</​del>​ +
-  * <​del>​compilar o aRT e</​del>​ executar o check com a nova versão do R (2.8-X) +
-  * getRelation(lpred,​ c("​within",​ "​touches"​),​ lpolys)) e ver outras funcoes que possam usar a mesma estrategia +
-  * <​del>​adicionar o cvs no apt das dependencias do script de instalação</​del>​ +
-  * 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 => LEG +
-  * colocar debs na pagina => gerar debs => LEG +
-  * atualizar **esta** pagina +
-  * <​del>​manipulacao de celulas</​del>​ +
- +
-===Password=== +
-PJ: será que o print da classe aRTconn poderia "​esconder"​ a senha (talvez possa ter um argumento com default pass=FALSE) +
- +
-** 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. '​difference'​ and '​xor'​ use only two ids. '​union'​ and '​intersection'​ have as default all objects of the layer."​ mas o argumentoi id é origatorio no codigo: <​code>​ +
-  union <- getSetOperation(ldistricts,​ "​union"​) +
-  Erro em .aRTcall(object,​ "​cppGetSetOperation",​ operation = operation, ​ : +
-  argumento "​id"​ ausente, sem padrão</​code>​ +
- +
-**Pedro: Já está funcionando na nova versão. Me passe o seu script e dados para eu testar.** +
- +
-===simplify=== +
-PJ: ?simplify abre documentacao de aRTgeometry,​ deve ser um recorta e cola para eduitar depois? o que simpify() faz? Outra cooisa : 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) +
- +
-**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. FIXME preciso fazer a documentacao no man e elaborar um exemplo.** +
- +
-===getGeometry=== +
-PJ: Typo nos docs: Usage:​\S4method{getGeometry}{aRTgeometry}(object) e nao consigo rodar: <​code>​ +
-getGeometry(ldistricts) +
-Erro em function (classes, fdef, mtable) ​ : +
-  unable to find an inherited method for function "​getGeometry",​ for signature "​aRTlayer"</​code>​o que parece inconsistente com a documentacao de getSetOperation() que tem exemplos com getSetMetric() (resquicio de versao anterior??​) +
- +
-**Pedro: a função getGeometry é da classe aRTgeometry,​ e não da classe aRTlayer. A classe aRTlayer tem os métodos getPoints, getPolygons e getLines. Isto porque um aRTlayer suporta mais de um tipo de geometria, enquanto que um aRTgeometry possui apenas uma geometria. A documentacao de getSetOperation estava errada, e já foi substituida para getSetMetric(layer,​ "​union"​).** +
- +
- +
- +
-===== Probably Implemented,​ but not Checked ===== +
- +
-  - when adding/​reading data to a table, do not fill missing values (NA). +
-  - openTheme(db,​ "​theme"​) (directly from the database, instead of the layer) +
-  - temporal slicing? +
-  - reload(db) to reconnect to the database, keeping consistent all children (layers, tables) +
-  - aRTvisual class+
  
 ===== Scripts com exemplos, dúvidas e problemas ===== ===== Scripts com exemplos, dúvidas e problemas =====
Linha 76: Linha 18:
 ===== Drivers ===== ===== Drivers =====
  
-====SQLite Driver ==== 
- 
-  * 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. 
- 
-==== 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 =====
  
-=== To be fixed: scripts revised === 
-  - ''​ID''​ vs ''​id''​ : lower vs upper case problem. When retrieving data with ''​getPoints()''​ we have ''​ID''​ for column names whereas ''​id''​ for ''​getData()''​. Example (na guaja): <code R> 
-con <- openConn() 
-db <- openDb(con, "​parana"​) 
-l <- openLayer(bd,​ "​dados"​) 
-pts <- getPoints(l) 
-tb <- openTable(l,​ "​t_dados"​) 
-dt <- getData(tb) 
-colnames(pts) 
-colnames(dt) 
-</​code>​ 
 === Bugs === === Bugs ===
   - shapefile: great chance to have a bug when '​object_id'​ is a column of real numbers. Perhaps a warning?   - shapefile: great chance to have a bug when '​object_id'​ is a column of real numbers. Perhaps a warning?
   - 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   - 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 +  - Polygonos with holes still do not work very well. 
-  - 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). 
 +  - when adding/​reading data to a table, do not fill missing values (NA).
  
 === Temporal Tables === === Temporal Tables ===
Linha 124: Linha 32:
   - 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
 +  - temporal slicing?
 +
   - aRTdynattrtable.cpp:​   - aRTdynattrtable.cpp:​
  
Linha 161: Linha 71:
 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>​ </​code>​
 +
 +o problema é que as tabelas de media exigem que ambos object id e media name sejam uma chave composta.
  
 === Miscelaneous === === Miscelaneous ===
Linha 176: Linha 88:
  
 === an old agenda === === an old agenda ===
-  - drivers para outros bancos 
   - opcao para compilar sem banco   - opcao para compilar sem banco
-  - estudar como ficam opcoes para bancos no configure 
-  - outras coisas???? (facilitar,​geracao de relatorios html, etc?) 
  
 ===== Links ===== ===== Links =====

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