art: rterralib apipedro/art/docs/artuser.pdf · jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf jfddfjh...
TRANSCRIPT
![Page 1: aRT: RTerraLib APIpedro/aRT/docs/aRTuseR.pdf · Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Adds spatial/temporal](https://reader033.vdocuments.pub/reader033/viewer/2022042409/5f24e08d8ef2744b7006a15a/html5/thumbnails/1.jpg)
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
![Page 2: aRT: RTerraLib APIpedro/aRT/docs/aRTuseR.pdf · Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Adds spatial/temporal](https://reader033.vdocuments.pub/reader033/viewer/2022042409/5f24e08d8ef2744b7006a15a/html5/thumbnails/2.jpg)
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
![Page 3: aRT: RTerraLib APIpedro/aRT/docs/aRTuseR.pdf · Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Adds spatial/temporal](https://reader033.vdocuments.pub/reader033/viewer/2022042409/5f24e08d8ef2744b7006a15a/html5/thumbnails/3.jpg)
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
![Page 4: aRT: RTerraLib APIpedro/aRT/docs/aRTuseR.pdf · Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Adds spatial/temporal](https://reader033.vdocuments.pub/reader033/viewer/2022042409/5f24e08d8ef2744b7006a15a/html5/thumbnails/4.jpg)
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
![Page 5: aRT: RTerraLib APIpedro/aRT/docs/aRTuseR.pdf · Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Adds spatial/temporal](https://reader033.vdocuments.pub/reader033/viewer/2022042409/5f24e08d8ef2744b7006a15a/html5/thumbnails/5.jpg)
TerraLib ProjectTerraLib Project
useR! 2006useR! 2006
● Free softwareFree software● http://www.terralib.orghttp://www.terralib.org● Developed byDeveloped by
![Page 6: aRT: RTerraLib APIpedro/aRT/docs/aRTuseR.pdf · Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Adds spatial/temporal](https://reader033.vdocuments.pub/reader033/viewer/2022042409/5f24e08d8ef2744b7006a15a/html5/thumbnails/6.jpg)
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
![Page 7: aRT: RTerraLib APIpedro/aRT/docs/aRTuseR.pdf · Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Adds spatial/temporal](https://reader033.vdocuments.pub/reader033/viewer/2022042409/5f24e08d8ef2744b7006a15a/html5/thumbnails/7.jpg)
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
![Page 8: aRT: RTerraLib APIpedro/aRT/docs/aRTuseR.pdf · Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Adds spatial/temporal](https://reader033.vdocuments.pub/reader033/viewer/2022042409/5f24e08d8ef2744b7006a15a/html5/thumbnails/8.jpg)
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
![Page 9: aRT: RTerraLib APIpedro/aRT/docs/aRTuseR.pdf · Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Adds spatial/temporal](https://reader033.vdocuments.pub/reader033/viewer/2022042409/5f24e08d8ef2744b7006a15a/html5/thumbnails/9.jpg)
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++
![Page 10: aRT: RTerraLib APIpedro/aRT/docs/aRTuseR.pdf · Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Adds spatial/temporal](https://reader033.vdocuments.pub/reader033/viewer/2022042409/5f24e08d8ef2744b7006a15a/html5/thumbnails/10.jpg)
aRT structure: simplified modelaRT structure: simplified model
![Page 11: aRT: RTerraLib APIpedro/aRT/docs/aRTuseR.pdf · Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Adds spatial/temporal](https://reader033.vdocuments.pub/reader033/viewer/2022042409/5f24e08d8ef2744b7006a15a/html5/thumbnails/11.jpg)
aRT structure: complete modelaRT structure: complete model
![Page 12: aRT: RTerraLib APIpedro/aRT/docs/aRTuseR.pdf · Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Adds spatial/temporal](https://reader033.vdocuments.pub/reader033/viewer/2022042409/5f24e08d8ef2744b7006a15a/html5/thumbnails/12.jpg)
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”
![Page 13: aRT: RTerraLib APIpedro/aRT/docs/aRTuseR.pdf · Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Adds spatial/temporal](https://reader033.vdocuments.pub/reader033/viewer/2022042409/5f24e08d8ef2744b7006a15a/html5/thumbnails/13.jpg)
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”)
![Page 14: aRT: RTerraLib APIpedro/aRT/docs/aRTuseR.pdf · Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Adds spatial/temporal](https://reader033.vdocuments.pub/reader033/viewer/2022042409/5f24e08d8ef2744b7006a15a/html5/thumbnails/14.jpg)
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 ...
![Page 15: aRT: RTerraLib APIpedro/aRT/docs/aRTuseR.pdf · Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Adds spatial/temporal](https://reader033.vdocuments.pub/reader033/viewer/2022042409/5f24e08d8ef2744b7006a15a/html5/thumbnails/15.jpg)
Future Work – “TerraView” PluginFuture Work – “TerraView” Plugin
useR! 2006useR! 2006
![Page 16: aRT: RTerraLib APIpedro/aRT/docs/aRTuseR.pdf · Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Jfddfjh gfsdfgdfssf fsdf fsdfsd sdfsdf Adds spatial/temporal](https://reader033.vdocuments.pub/reader033/viewer/2022042409/5f24e08d8ef2744b7006a15a/html5/thumbnails/16.jpg)
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