aRT: R-TerraLib API aRT: R-TerraLib API What these problems have in - - PowerPoint PPT Presentation

art r terralib api art r terralib api
SMART_READER_LITE
LIVE PREVIEW

aRT: R-TerraLib API aRT: R-TerraLib API What these problems have in - - PowerPoint PPT Presentation

Motivation Motivation aRT: R-TerraLib API aRT: R-TerraLib API What these problems have in common? What these problems have in common? Pedro Ribeiro de Andrade Neto Pedro Ribeiro de Andrade Neto Citrus diseases Citrus diseases Paulo


slide-1
SLIDE 1

Pedro Ribeiro de Andrade Neto Pedro Ribeiro de Andrade Neto Paulo Justiniano Ribeiro Junior Paulo Justiniano Ribeiro Junior (Universidade Federal do Paraná, Brasil) (Universidade Federal do Paraná, Brasil)

aRT: R-TerraLib API aRT: R-TerraLib API

useR! 2006 useR! 2006

Motivation Motivation What these problems have in common? What these problems have in common?

useR! 2006 useR! 2006

  • Citrus diseases

Citrus diseases

  • mosquitos / dengue disease

mosquitos / dengue disease

  • crimes within an urban area

crimes within an urban area

Motivation Motivation

useR! 2006 useR! 2006

  • Data collection mechanism

Data collection mechanism

  • Monitoring/surveillance systems

Monitoring/surveillance systems

  • Interplay between spatial statistics and GIS.

Interplay between spatial statistics and GIS.

  • Need for “automatic” data analysis and reports

Need for “automatic” data analysis and reports

Motivation Motivation Some are from Venus, some are from Mars... Some are from Venus, some are from Mars...

useR! 2006 useR! 2006

  • Statisticians

Statisticians

  • Subject matter scientists

Subject matter scientists

  • ways to exchange information and to deliver

ways to exchange information and to deliver statistical expertise, results and technologies statistical expertise, results and technologies

slide-2
SLIDE 2

TerraLib Project TerraLib Project

useR! 2006 useR! 2006

  • Free software

Free software

  • http://www.terralib.org

http://www.terralib.org

  • Developed by

Developed by

TerraLib TerraLib

useR! 2006 useR! 2006

DBMS

TerraLib

Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf
  • Adds spatial/temporal capabilities to the DBMS

Adds spatial/temporal capabilities to the DBMS

  • Enables the construction of customized GIS

Enables the construction of customized GIS

TerraLib TerraLib

useR! 2006 useR! 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, PostGIS

MySQL, PostgreSQL, PostGIS

  • Oracle, Oracle Spatial, SQLServer, Access

Oracle, Oracle Spatial, SQLServer, Access

aRT: R-TerraLib API aRT: R-TerraLib API

useR! 2006 useR! 2006

  • current version: 1.0-0

current version: 1.0-0

  • multiplataform

multiplataform

  • developed in Linux, cross-compiled

developed in Linux, cross-compiled

  • adheres to spatial classes defined in

adheres to spatial classes defined in “sp” “sp”

  • http://www.est.ufpr.br/aRT

http://www.est.ufpr.br/aRT

  • functionality: vignettes and scripts

functionality: vignettes and scripts

slide-3
SLIDE 3

aRT: R-TerraLib API aRT: R-TerraLib 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 model aRT structure: simplified model aRT structure: complete model aRT structure: complete model Features Features

useR! 2006 useR! 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 DBMS the DBMS

  • associated with geometries

associated with geometries

  • as external “medias”

as external “medias”

slide-4
SLIDE 4

Problems... Problems...

useR! 2006 useR! 2006

  • Polygons with holes (still) do not work

Polygons 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 round currently only MySQL working nice and round

con = openConn(dbms = “postgres”) con = openConn(dbms = “postgres”)

Future Work Future Work

useR! 2006 useR! 2006

  • improvements in docs, vignettes, etc

improvements in docs, vignettes, etc

  • support to another DBMS's

support to another DBMS's

  • ption for compilation/usage without DBMS
  • ption for compilation/usage without DBMS
  • ptions for memory efficient data retrieval
  • ptions for memory efficient data retrieval
  • further support for spatial temporal operations

further 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” Plug-in Future Work – “TerraView” Plug-in

useR! 2006 useR! 2006

http://www.est.ufpr.br/aRT http://www.est.ufpr.br/aRT http://saudavel.dpi.inpe.br http://saudavel.dpi.inpe.br

aRT: R-TerraLib API aRT: R-TerraLib API

useR! 2006 useR! 2006