Geographic Digital Content Components
description
Transcript of Geographic Digital Content Components
Geographic Digital Content Components
André Santanchè
Advisor: Dr. Claudia Bauzer Medeiros
Database Group
Unicamp - Brazil
Summary
• Goal
• Reuse and Interoperability
• Digital Content Component– Previous Work– Digital Content Component Model– Geo Component
• Project with Digital Content Components
• Concluding Remarks
Overview
• Goal: Support reuse of GIS Projects
• GIS Project: A collection of related data pieces (e.g., maps, graphs or tables), composed and processed in a specific sequence by software components.
Reuse and Interoperability
• Reuse and interoperability are closely related dimensions, since the increase in interoperability expands the opportunities to reuse.
• Current approaches:– open standards for GIS data representation;– open standards for GIS process
interoperability.
GIS data representation
• GeoTIFF – based on the popular TIFF format – embeds georeferencing capabilities in the image file.
• ESRI Shapefile – format is a standard for vector data.
Class NameLV Latossolo VermelhoPV Argilossolo VermelhoPVA Argilossolo Vermelho-AmareloCX Cambissolo HáplicoCX Cambissolo HáplicoCX Cambissolo HáplicoGX Gleissolo HáplicoLVA Latossolo Vermelho-Amarelo
shx
shp
polygonal shapes in a map
Index of shapes shapes
attributevalues
GIS process interoperability
• Open GIS Consortium (OGC) defines:– Geography Markup Language (GML) – XML
based language to enable data interoperability.– OGC Web Services (OWS) – architecture that
uses Web Services technology to enable inter-process interoperability.
• Interoperability promotes a component-based software development approach.
Problem
• If a user wants to share an entire project he could face two problems:– How to enable systematic access the same
collection of components used to develop it?– How to represent the relationship between
different kinds of data objects, managed by distinct specialized software components?
Our Proposal
• A “glue” to integrate reuse and interoperability standards in an unified project. It involves:– a homogeneous model to represent any
piece of GIS data and software component Digital Content Component.
– a mechanism to connect Digital Content Components in a project.
Digital Content Component• Can encapsulate any kind of digital data: program
code, raster data, vectorial images, tables, etc.
• Based in a previous project – Anima.
Digital Content
Component
Software Component
Image
Table
Class NameLV Latossolo VermelhoPV Argilossolo VermelhoPVA Argilossolo Vermelho-AmareloCX Cambissolo HáplicoCX Cambissolo HáplicoCX Cambissolo HáplicoGX Gleissolo HáplicoLVA Latossolo Vermelho-Amarelo
MagicHouse
Previous ProjectAnima
AnimaFramework
Magic House is an authoring tool for building educational applications based on composition of software components.
A frameworkused by
Magic House.
MagicHouse
Previous ProjectAnima
AnimaFramework
Uses Web standards (XML, XSL, RDF and OWL) to allow the interoperability of educational applications.
• Digital content component: extend benefits of packaging, deployment and composition to any kind of digital content.
• Component management: allow proper storage, search and retrieval of components.
Extensions of Anima
Digital Content ComponentProduction/Use Cycle
Language Y context
Language X context
User
Packager
Spreadsheet
Software
Packager
WorkflowRuntimeEngine
User / Developer
Retrieved Content Components
ComponentRepositoryManager
Composition Tool
WorkflowRuntimeEngine
Execution
Software Developer
Software Development Tool
Packager
GIS program
Class NameLV Latossolo VermelhoPV Argilossolo VermelhoPVA Argilossolo Vermelho-AmareloCX Cambissolo HáplicoCX Cambissolo HáplicoCX Cambissolo HáplicoGX Gleissolo HáplicoLVA Latossolo Vermelho-Amarelo
WOODSS
Packager
Class NameLV Latossolo VermelhoPV Argilossolo VermelhoPVA Argilossolo Vermelho-AmareloCX Cambissolo HáplicoCX Cambissolo HáplicoCX Cambissolo HáplicoGX Gleissolo HáplicoLVA Latossolo Vermelho-Amarelo GIS program
Class NameLV Latossolo VermelhoPV Argilossolo VermelhoPVA Argilossolo Vermelho-AmareloCX Cambissolo HáplicoCX Cambissolo HáplicoCX Cambissolo HáplicoGX Gleissolo HáplicoLVA Latossolo Vermelho-Amarelo
Software Developer
Software Development Tool
Packager
Software
Class NameLV Latossolo VermelhoPV Argilossolo VermelhoPVA Argilossolo Vermelho-AmareloCX Cambissolo HáplicoCX Cambissolo HáplicoCX Cambissolo HáplicoGX Gleissolo HáplicoLVA Latossolo Vermelho-Amarelo
Inside Geo Component
Structure (XML)
Metadata (OWL)
Soil Map of São Paulotitle
taxonomy Soil Map
Interface (OWL-S)
getMap
image
taxonomy
SHP image
São PauloSoil Map
parameterType
hasOutput
map
value
São Paulo SoilAttribute
hasOutput
stringparameterType
attr
taxonomy
getAttr
hasInput
index integer
parameterType
label string
parameterType
shxshp
Class NameLV Latossolo VermelhoPV Argilossolo VermelhoPVA Argilossolo Vermelho-AmareloCX Cambissolo HáplicoCX Cambissolo HáplicoCX Cambissolo HáplicoGX Gleissolo HáplicoLVA Latossolo Vermelho-Amarelo
x
x
x
x
Inside Geo Component
Structure (XML)
Metadata (OWL)
Soil Map of São Paulotitle
taxonomy Soil Map
Interface (OWL-S)
getMap
image
taxonomy
SHP image
São PauloSoil Map
parameterType
hasOutput
map
value
São Paulo SoilAttribute
hasOutput
stringparameterType
attr
taxonomy
getAttr
hasInput
index integer
parameterType
label string
parameterType
shxshp
Class NameLV Latossolo VermelhoPV Argilossolo VermelhoPVA Argilossolo Vermelho-AmareloCX Cambissolo HáplicoCX Cambissolo HáplicoCX Cambissolo HáplicoGX Gleissolo HáplicoLVA Latossolo Vermelho-Amarelo
x
x
x
x
São PauloSoil Map
subClassOf
DataProduct
Map
SWEET – DataEarthRealm
SolidEarthLayer
subClassOf
LithosphereLayer
subClassOf
subClassOf
CrustLayer
subClassOf
SoilLayer
LandSurfaceLayer
subClassOf
SWEET – EarthRealm
Brazil
Center-South
São Paulo
partOf
partOf
POESIA
coverage
type
evaluate
• Workflow based Decision Support System developed at UNICAMP for environmental planning, now being used in agriculture planning.
WOODSS
User
GIS program
Class NameLV Latossolo VermelhoPV Argilossolo VermelhoPVA Argilossolo Vermelho-AmareloCX Cambissolo HáplicoCX Cambissolo HáplicoCX Cambissolo HáplicoGX Gleissolo HáplicoLVA Latossolo Vermelho-Amarelo
Data
workflow
WOODSS
Class NameLV Latossolo VermelhoPV Argilossolo VermelhoPVA Argilossolo Vermelho-AmareloCX Cambissolo HáplicoCX Cambissolo HáplicoCX Cambissolo HáplicoGX Gleissolo HáplicoLVA Latossolo Vermelho-Amarelo
Pedological Zoning for Coffee Crop
Zoning Workflow
São Paulo Soil Map Shapefile and Attributes
shxshp
shx
shp
result
result
dbf
Class SuitabilityCLS1 GoodCLS2 GoodCLS3 IneptCLS4 GoodCLS5 IneptCLS6 IneptCLS7 GoodCLS8 Good
Coffee Soil Suitability Ranking Spreadsheet
A B1 Texture argillaceous2 Relief smooth3 Fertility low4 Soil depth v. deep5 Drainage high67 Aptitude good
dbf
Class Name SymbolLV Latossolo Vermelho +LV32PV Argilossolo Vermelho PV3PVA Argilossolo Vermelho-Amarelo PVA80
Concluding Remarks• This project presents a solution for data and
program code reuse to face the proliferation of geographic data formats and software tools.
• The main contribution is a homogeneous model to deal with software components and data objects in the geo-information processing domain.
• The work combines two previous experiences: Anima and WOODSS.
AnimaProduction/Use Cycle
SoftwareDeveloper
User / Developer
Retrieved Anima Components
File System
CompositionTool
Execution
Software
Software
Software
Software
Software
Software
SoftwareDevelopment Tool
PackagerSoftware
SoftwareDeveloper
SoftwareDevelopment Tool
PackagerSoftware
AnimaComponentsLanguage X context
Language Y context
Categories of Components
• We differentiate between two kinds of component:– process components;– passive components.
Process Components• Encapsulates any kind of process description
(sequences of instructions or plans) that can be executed by a computer.
Metadata
outputdata
inputdataw orkflow
workflow
Orig inCreation Date
outputform at
inputXM L schema
XS Lsheet
< =" ">< =" ">< =" "> <
=" "/> </ > </ ></ >< ></ ><
=" "/>
param xsl:attribute xsl:for-each xsl:call-template
xsl:for-eachxsl:attributeparam
xsl:textxsl:text
xsl:apply-templates
namename
select
name
select
objetosvalue//object
enumeraObjetos
//object
instructions (XSL)
• Contain data that can be used by a process component.
Passive Components
OriginCreation Date
<topico> <titulo>Elaboração</titulo> <subtopico> <titulo>Análise</titulo> Será realizada uma pesquisa DTDs do XML tal como o CML, </subtopico> <subtopico> <titulo>Concepção</titulo> A partir da análise do item uma proposta de DTD voltada </subtopico>
XM Ldocum ent
XM L docum ent
outputXM L schema
AuthorTitle
G IFim age
image
bitmap imageGIF format
• Components can be combined into more complex components.
• This can be done repeatedly/recursively.
Combining and Composing Components
OriginCreation Date
<topico> <titulo>Elaboração</titulo> <subtopico> <titulo>Análise</titulo> Será realizada uma pesquisa DTDs do XML tal como o CML, </subtopico> <subtopico> <titulo>Concepção</titulo> A partir da análise do item uma proposta de DTD voltada </subtopico>
< =" ">< =" ">< =" "> <
=" "/> </ > </ ></ >< ></ ><
=" "/>
param xsl:attribute xsl:for-each xsl:call-template
xsl:for-eachxsl:attributeparam
xsl:textxsl:text
xsl:apply-templates
namename
select
name
select
objetosvalue//object
enumeraObjetos
//object
sheet (XS L)
docum ent (X M L)docum ent
X M L
X SL
OriginCreation D ate
northeast(S VG )
southeast(S VG )
south (S VG )
north (SV G )
centro-w est(SVG )
im age
S VG
S VG
S VG
S VG
S VG
“Componentizing” WOODSSsecond approach
Execution
G IS SystemPurpose
m ap
m ap
w orkflow
X M Ldoc.
map
rainfall data
workflow
<topico> <titulo>Elaboração</titulo> <subtopico> <titulo>Análise</titulo> Será realizada uma pesquisa DTDs do XML tal como o CML, </subtopico> <subtopico> <titulo>Concepção</titulo> A partir da análise do item uma proposta de DTD voltada </subtopico>
AuthorTitle
b itm apim age
m ap
m ap im agebitmap format
“Componentizing” WOODSSfirst approach
Orig inCreation Date
<topico> <titulo>Elaboração</titulo> <subtopico> <titulo>Análise</titulo> Será realizada uma pesquisa DTDs do XML tal como o CML, </subtopico> <subtopico> <titulo>Concepção</titulo> A partir da análise do item uma proposta de DTD voltada </subtopico>
XM Ldocum ent
Rainfall Data
outputXM L schem a
Metadata
m apim age
w orkflow
W O ODSS workflow
m ap im agerainfall data
Execution
Using Components Example• In Content Engineering, the single-sourcing practice is
usual, where the same source can be presented on many output formats.
e
plates
bjetos
ct
1. Elaboração
,
1.1. Análise
1.2. Concepção
2.1. Seleção
S erá realizada uma pesquisaDTDs do XML tal como o CML
A partir da anális e do itemuma proposta de DTD voltada
S erão pesquisados na Web quais para a linguagem XML.
2. Con strução
Report
Map plot
O riginCreation Date
<topico> <titulo>Elaboração</titulo> <subtopico> <titulo>Análise</titulo> Será realizada uma pesquisa DTDs do XML tal como o CML, </subtopico> <subtopico> <titulo>Concepção</titulo> A partir da análise do item uma proposta de DTD voltada </subtopico>
XM Ldocum ent
Superm arket L ist
outputXM L schema
Orig inCreation Date
PDFform at
inputXM L schema
XS Lsheet
< =" ">< =" ">< =" "> <
=" "/> </ > </ ></ >< ></ ><
=" "/>
param xsl:attribute xsl:for-each xsl:call-template
xsl:for-eachxsl:attributeparamxsl:textxsl:textxsl:apply-templates
namenameselect
name
select
objetosvalue//object
enumeraObjetos
//object
XSL - Report
Orig inCreation Date
SVGform at
inputXM L schema
XS Lsheet
< =" ">< =" ">< =" "> <
=" "/> </ > </ ></ >< ></ ><
=" "/>
param xsl:attribute xsl:for-each xsl:call-template
xsl:for-eachxsl:attributeparamxsl:textxsl:textxsl:apply-templates
namenameselect
name
select
objetosvalue//object
enumeraObjetos
//object
XSL - M ap