art: rterralib apipedro/art/docs/artuser.pdf · jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf jfddfjh...
TRANSCRIPT
Pedro Ribeiro de Andrade NetoPedro Ribeiro de Andrade Neto
Paulo Justiniano Ribeiro JuniorPaulo Justiniano Ribeiro Junior(Universidade Federal do Paraná, Brasil)(Universidade Federal do Paraná, Brasil)
aRT: RTerraLib APIaRT: RTerraLib API
useR! 2006useR! 2006
MotivationMotivation
What these problems have in common?What these problems have in common?
useR! 2006useR! 2006
● Citrus diseases Citrus diseases
● mosquitos / dengue diseasemosquitos / dengue disease ● crimes within an urban areacrimes within an urban area
MotivationMotivation
useR! 2006useR! 2006
● Data collection mechanismData collection mechanism ● Monitoring/surveillance systemsMonitoring/surveillance systems
● Interplay between spatial statistics and GIS.Interplay between spatial statistics and GIS.
● Need for “automatic” data analysis and reportsNeed for “automatic” data analysis and reports
MotivationMotivationSome are from Venus, some are from Mars...Some are from Venus, some are from Mars...
useR! 2006useR! 2006
● StatisticiansStatisticians
● Subject matter scientistsSubject matter scientists
● ways to exchange information and to deliver ways to exchange information and to deliver statistical expertise, results and technologiesstatistical expertise, results and technologies
TerraLib ProjectTerraLib Project
useR! 2006useR! 2006
● Free softwareFree software● http://www.terralib.orghttp://www.terralib.org● Developed byDeveloped by
TerraLibTerraLib
useR! 2006useR! 2006DBMS
TerraLib
Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdfJfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf
Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf
● Adds spatial/temporal capabilities to the DBMSAdds spatial/temporal capabilities to the DBMS● Enables the construction of customized GISEnables the construction of customized GIS
TerraLibTerraLib
useR! 2006useR! 2006
● Object oriented (C++), adheres to STL (Standard Object oriented (C++), adheres to STL (Standard Template Library), Generic programming, etc.Template Library), Generic programming, etc.
● Multiplataform (Linux and Windows)Multiplataform (Linux and Windows)● Integrated architecture (DBMS to store, Integrated architecture (DBMS to store,
manipulate and manage geographic data)manipulate and manage geographic data) data and geometry in the DBMS (transparent)data and geometry in the DBMS (transparent)
● MySQL, PostgreSQL, PostGISMySQL, PostgreSQL, PostGIS● Oracle, Oracle Spatial, SQLServer, AccessOracle, Oracle Spatial, SQLServer, Access
aRT: RTerraLib APIaRT: RTerraLib API
useR! 2006useR! 2006
● current version: 1.00current version: 1.00● multiplataformmultiplataform● developed in Linux, crosscompileddeveloped in Linux, crosscompiled● adheres to spatial classes defined in adheres to spatial classes defined in “sp”“sp”● http://www.est.ufpr.br/aRThttp://www.est.ufpr.br/aRT● functionality: vignettes and scriptsfunctionality: vignettes and scripts
aRT: RTerraLib APIaRT: RTerraLib API
Blue blocks are R code, and the others are written in C++Blue blocks are R code, and the others are written in C++
aRT structure: simplified modelaRT structure: simplified model
aRT structure: complete modelaRT structure: complete model
FeaturesFeatures
useR! 2006useR! 2006
● Each “player” working in her/his environment Each “player” working in her/his environment ● DBMS as the “meeting point”DBMS as the “meeting point”
● Results of analysis stored (delivered) through Results of analysis stored (delivered) through the DBMSthe DBMS
● associated with geometriesassociated with geometries● as external “medias” as external “medias”
Problems...Problems...
useR! 2006useR! 2006
● Polygons with holes (still) do not workPolygons with holes (still) do not work● Some repentinuous crashes when working with Some repentinuous crashes when working with
grids (even more frequently under Windows)grids (even more frequently under Windows)● Postgres/PostGIS compilation problems ... Postgres/PostGIS compilation problems ... currently only MySQL working nice and roundcurrently only MySQL working nice and round
con = openConn(dbms = “postgres”)con = openConn(dbms = “postgres”)
Future WorkFuture Work
useR! 2006useR! 2006
● improvements in docs, vignettes, etc improvements in docs, vignettes, etc ● support to another DBMS'ssupport to another DBMS's● option for compilation/usage without DBMSoption for compilation/usage without DBMS● options for memory efficient data retrieval options for memory efficient data retrieval ● further support for spatial temporal operationsfurther support for spatial temporal operations● ......● All that ... ... “red text”All that ... ... “red text”● and ... embedding R in a GIS software ...and ... embedding R in a GIS software ...
Future Work – “TerraView” PluginFuture Work – “TerraView” Plugin
useR! 2006useR! 2006
http://www.est.ufpr.br/aRThttp://www.est.ufpr.br/aRT
http://saudavel.dpi.inpe.brhttp://saudavel.dpi.inpe.br
aRT: RTerraLib APIaRT: RTerraLib API
useR! 2006useR! 2006