SlideShare une entreprise Scribd logo
1  sur  71
PROJECTO FINAL DA LICENCIATURA EM ENGENHARIA INFORMÁTICA
ESTRUTURA

 Apresentação do conceito SOLAP

 Modelo de Interacção SOLAP

 Protótipo Web Based

 Caso de Estudo
ESTRUTURA

 Apresentação do conceito SOLAP

 Modelo de Interacção SOLAP

 Protótipo Web Based

 Caso de Estudo
SOLAP
“Plataforma visual desenvolvida especificamente para explorar de
    forma rápida e interactiva, dados com componente espacial,
    armazenados segundo o modelo multidimensional, que gera
  vários níveis de agregação possíveis de visualizar nas formas de
                       mapa, tabela e gráfico”
                         (Bédard, 1997)




                 OLAP SOLAP                   GIS

       Spatial OnLine Analytical Processing
ESTRUTURA

 Apresentação do conceito SOLAP

 Modelo de Interacção SOLAP

 Protótipo Web Based

 Caso de Estudo
CENÁRIO
NÍVEIS HIERÁRQUICOS

 STATE




            TYPE     WAREHOUSE
                                 SALES
COUNTY
                                 REGION




                   STORE
NÍVEIS HIERÁRQUICOS

               STATE




               COUNTY




               CUSTOMER
COMPONENTES DA INTERFACE SOLAP


           Zona da        Visualização dos dados espaciais
       Visualização de       geométricos sob a forma de
         Mapas - ZM                    mapas
1:1
      Zona de Suporte         Visualização de atributos
       aos Mapas - ZS       semânticos das dimensões e
                                      métricas

1:N   Zona de Detalhe -     Visualização de agregados de
             ZD           atributos semânticos de qualquer
                                 dimensão e métricas
MAPA DE REFERÊNCIA
MAPA DE REFERÊNCIA
CORRESPONDÊNCIA VISUAL ENTRE
MAPA E TABELA DE SUPORTE (1)

                    Store County    SUM Store
                    King            Sales
                                    6812.71
                    Kitsap          8263.95
                    Los Angeles     31226.57
                    Marion          15405.42
                    Multnomah       14918.92
                    Pierce          12564.26
                    San Diego       12514.7
                    San Francisco   1794.99
                    Spokane         12541.67
                    Walla Walla     637.96
                    Whatcom         503.73
                    Yakimaa         5164.91
CORRESPONDÊNCIA VISUAL ENTRE
MAPA E TABELA (2)
CORRESPONDÊNCIA VISUAL ENTRE
MAPA E TABELA (2)
COMO MANTER RESTRIÇÃO 1:1?


  Store      Year   Store Sales
  Name 2
   Store     1997   291.22
  Store 2    1998   212.51        Adicionar um atributo
                                  semântico de uma dimensão
  Store 11   1997   7843.63
                                  semântica
  Store 11   1998   7075.29
  …          …      …
  Store 24   1997   6227.87
  Store 24   1997   6286.83
COMO MANTER RESTRIÇÃO 1:1?


  Store State Store Type   Store Sales
  California   Supermarket 4542.65
                                         Adicionar atributo semântico
  California   Deluxe      3476.03       da dimensão espacial de
  …            …           …             nível hierárquico superior
  Washington Gourmet       649502.98
SOLUÇÃO: MÚLTIPLOS MAPAS




    Adicionar um atributo semântico de uma dimensão
    semântica
SOLUÇÃO: MÚLTIPLOS MAPAS




       Slider sobre valores distintos de atributos
SLICES ESPACIAIS


   DISTÂNCIA          VIZINHANÇA        TOPOLÓGICAS



    Exemplo:             Exemplo:
                                           Exemplo:
Encontrar as lojas    Encontrar as 3
                                       Encontrar as lojas
que se encontrem       lojas que se
                                       que se encontram
a menos de 5 Km      encontrem mais
                                        dentro de zonas
  de um centro       perto de uma da
                                           urbanas.
    comercial.         autoestrada.
SLICES ESPACIAIS
DRILL-DOWN E ROLL-UP
       DRILL DOWN     DRILL DOWN




                                               store location
                      store county
        store state




            ROLL UP                  ROLL UP
INCLUSÃO ENTRE GEOMETRIAS (1)




                        store state
INCLUSÃO ENTRE GEOMETRIAS (1)
                  sales region

       North
        West




      Central
        West




       South
        West
INCLUSÃO ENTRE GEOMETRIAS (1)
                  sales region

       North
        West




                             store state
      Central
        West




       South
        West
INCLUSÃO ENTRE GEOMETRIAS (1)


                 Store State Sales Region Store Sales

                 California   South West   35553.26

                 California   Central West 12002.34

                 Oregon       Central West 23323.19

                 Oregon       North West   10234.22

                 Washington North West     46489.19




                  state e sales_region        existe
                             inclusão
INCLUSÃO ENTRE GEOMETRIAS (2)




Store     Warehouse Store Sales
County
King      Warehouse 6812.71
Kitsap    1
          Warehouse 8263.95
Pierce    1
          Warehouse 12564.26      store_county e warehouse      não existe incl
Whatcom   1
          Warehouse 503.73
Yakima    1
          Warehouse 5164.91
          1
USO DA TABELA DE DETALHE
                       • Visão global de todos os
                         elementos semânticos
                         presentes em ZS.

                       • Agregar dados
                         semânticos de diferentes
                         níveis e visualizar N
                         métricas sem a
                         necessidade de gerar
                         múltiplos mapas ou
                         recorrer à visualização
                         de gráficos nos mapas.

                       • Detalhar qualquer uma
                         das tabelas de suporte
                         presentes na ZS.
USO DA TABELA DE DETALHE
                       • Visão global de todos os
                         elementos semânticos
                         presentes em ZS.

                       • Agregar dados
                         semânticos de diferentes
                         níveis e visualizar N
                         métricas sem a
                         necessidade de gerar
                         múltiplos mapas ou
                         recorrer à visualização
                         de gráficos nos mapas.

                       • Detalhar qualquer uma
                         das tabelas de suporte
                         presentes na ZS.
CLUSTERING




             Grelha
CLUSTERING




                                       Grelha
             Problema:
             Divisão de clusters que
             logicamente
             pertencem ao mesmo
             grupo
CLUSTERING




K-Means   Grelha
CLUSTERING




K-Means   Grelha
INTERACÇÃO ENTRE ZM, ZD E ZS

                                   A2
    Mapa

                     A1

                                                  A3
Tabela de




            Atributo A                 Valor
 Suporte




            A1                         1000
            A2                         2000
            A3                         3000

            Atributo A    Atributo B           Valor
Tabela de




            A1            B1                   750
 Detalhe




            Atributo A    Atributo B           Valor
            A1
            A2            B2
                          B1                   250
                                               500
            A2
            A2            B1
                          B2                   500
                                               1500
            A2            B2                   1500
            A3            B1                   1250
            A3            B2                   1750
ESTRUTURA

 Apresentação do conceito SOLAP

 Modelo de Interacção SOLAP

 Protótipo Web Based

 Caso de Estudo
CONSIDERAÇÕES

 Apenas 1 dimensão espacial

 Apenas 1 métrica numérica e no máximo
 2 atributos espaciais na tabela de suporte

 Sem recurso a múltiplos mapas

 Sem recurso a gráficos para N métricas

 Sem recurso a clusters
ARQUITECTURA
FLUXO DE INFORMAÇÃO
                                             META
                                 MD          DATA




                                                   DATA
SOLAP         REQUEST
                        SOLAP          SQL
                                                  WAREHOU
CLIENT                  SERVER
                 DATA                 RESULTS
                                                     SE


         MAP REQUEST
                                                MAP DATA

  MAP RESPONSE           MAP
                        SERVER
TECNOLOGIAS
    SOLAP
    CLIENT
                 FLEX + JAVACRIPT

    SOLAP
    SERVER
                     PHP

  MAP SERVER    ORACLE MAPVIEWER

     DATA
   WAREHOUSE       ORACLE 10G

  META MODELO        XML
META MODELO
INTERFACE


  MAP
CONTROL        MAP

                          DATA
                         CONTROL


 USER
OPTIONS     TABLE AREA
INTERFACE                            USER OPTIONS




                                           NOVA SESSÃO



                                           CARREGAR SESSÃO
                                           GUARDADA

                                           SALVAR SESSÃO
                                           ACTUAL




        CENTERED VIEW   TABLE VIEW   MAP VIEW
INTERFACE                                 MAP CONTROL




                                                 CONTROLO
                                                 DE PAN DO MAPA




           ZOOM IN                          ZOOM PARA
         ZOOM OUT                           SELECÇÃO


           SELECÇÃO                               SELECÇÃO
       RECTANGULAR                                INDIVIDUAL




                     LEGENDA   ESCALA   LAYERS
DATA CONTROL
INTERFACE
                            ADICIONAR
                            ATRIBUTOS




                            DRILL-DOWN
                            ROLL-UP
         ADICIONAR
             SLICES
                            SLIDER
         ADICIONAR
    SLICES ESPACIAIS        ADICIONAR
         ADICIONAR          MÉTRICAS
            FILTROS         ADICIONAR
         VISUALIZAR         RESTRIÇÕES
     ESTADO ACTUAL          TOP/BOTTOM
TABLE AREA
INTERFACE

        TABELA DE SUPORTE


  1:N




        TABELA DE DETALHE
INTERFACE DO PROTÓTIPO
ESTRUTURA

 Apresentação do conceito SOLAP

 Modelo de Interacção SOLAP

 Protótipo Web Based

 Caso de Estudo
CENÁRIO
CENÁRIO                       HIERARCHY



          DISTRITO


          CONCELHO

                        BACIA
          FREGUESIA
                        HIDROGRÁFICA


                 INSTALAÇÃO
ARRANQUE DA APLICAÇÃO
COMUNICAÇÃO CLIENTE E SERVIDOR (1)
COMUNICAÇÃO CLIENTE E SERVIDOR (1)


                                    CLIENT REQUEST

      <spatialone>
       <request call="get_data">
       <params cubeId="1" filename=“emissao.xml" spatial="true"/>
       <level id="15" dimensionId="3"/>
       <measure id="2" operator="SUM"/>
       </request>
      </spatialone>
COMUNICAÇÃO CLIENTE E SERVIDOR (1)
                               QUERY SQL

          SELECT 
          
 T9.distrito_id, 
          
 T9.nome C1, 
          
 SUM(T6.quantidade_limiar)  C2 
          FROM 
          
 instalacao T3, 
          
 distrito T9,
          
 emissao_fact T6 
          WHERE 
          
 T9.distrito_id = T3.distrito_id AND 
          
 T3.instalacao_id = T6.instalacao_id 
          GROUP BY 
          
 T9.distrito_id, 
          
 T9.nome 
          ORDER BY 
          
 T9.nome
COMUNICAÇÃO CLIENTE E SERVIDOR (1)
                                                SERVER RESPONSE
  <?xml version="1.0" encoding="UTF-8"?>
  <spatialone>
  
 <response status="success" time="0.3928"/>
  
 <map theme="T.SONE6101" style="V.SONE6100"/>
  
 <table count="17">
  
 
 <columns>
  
 
 
 <C1 header="Distrito" type="level" lId="15" dId="3" />
  
 
 
 <C2 header="SUM Quantidade Limiar" type="measure“ mId="2“ op="SUM"/>
  
 
 </columns>
  
 
 <rows>
  
 
 
 <row>
  
 
 
 
 <C1>AVEIRO</C1>
  
 
 
 
 <C2> 630.25</C2>
  
 
 
 </row>
  
 
 
 <row>
  
 
 
 
 <C1>BEJA</C1>
  
 
 
 
 <C2> 647.91</C2>
  
 
 
 </row>
  
 
 
 ………
  
 
 </rows>
  
 </table>
  </spatialone>
SLICE SEMÂNTICO




     MEIO = ‘AR’   POLUENTE = (‘SO2’, ‘NOx‘, ‘CO’, ‘Pb’)
SELECÇÃO NO MAPA
SLIDER
          POLUENTE: CO
         POLUENTE: SO2
SLIDER
         POLUENTE: NO2
SLIDER
         POLUENTE: Pb
SLIDER
DRILL-DOWN ESPACIAL
                      DISTRITO
DRILL-DOWN ESPACIAL
                      CONCELHO
DRILL-DOWN ESPACIAL
                      CONCELHO: ZONA DE LISBOA
DRILL-DOWN ESPACIAL
                      FREGUESIA: ZONA DE LISBOA
DRILL-DOWN ESPACIAL
                      COORDENADA: INSTALAÇÃO
INTERSECÇÃO ESPACIAL




                    POLUENTE = (‘Pb’, ‘Zn‘, ‘As’, ‘Cd’,
    MEIO = ‘ÁGUA’
                              ‘Hg’, ‘Cr’)
SPATIAL SLICE: DISTANCE




          INSTALAÇÕES A 1KM DE UM RIO
SPATIAL SLICE: INSIDE




          INSTALAÇÕES DENTRO DE REGIÃO
                   PROTEGIDA
SPATIAL SLICE: INSIDE OF SELECTION




        DISTRITOS DENTRO DO RECTANGULO DE
                     SELECÇÃO
SPATIAL SLICE: INSIDE OF SELECTION




        DISTRITOS DENTRO DO RECTANGULO DE
                     SELECÇÃO
SPATIAL SLICE: INSIDE OF SELECTION




        DISTRITOS DENTRO DO RECTANGULO DE
                     SELECÇÃO
QUESTÕES




 Existem algumas dúvidas ?
Desenvolvido por:


 
  
 Marlene Vitorino, aluna nº 14397

 
 Rodolfo Caldeira, aluno nº 14281


 PROJECTO FINAL DA LICENCIATURA EM ENGENHARIA INFORMÁTICA

                    2007 / 2008

Contenu connexe

En vedette

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 

En vedette (20)

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

Protótipo SOLAP Web Baseado

  • 1. PROJECTO FINAL DA LICENCIATURA EM ENGENHARIA INFORMÁTICA
  • 2. ESTRUTURA  Apresentação do conceito SOLAP  Modelo de Interacção SOLAP  Protótipo Web Based  Caso de Estudo
  • 3. ESTRUTURA  Apresentação do conceito SOLAP  Modelo de Interacção SOLAP  Protótipo Web Based  Caso de Estudo
  • 4. SOLAP “Plataforma visual desenvolvida especificamente para explorar de forma rápida e interactiva, dados com componente espacial, armazenados segundo o modelo multidimensional, que gera vários níveis de agregação possíveis de visualizar nas formas de mapa, tabela e gráfico” (Bédard, 1997) OLAP SOLAP GIS Spatial OnLine Analytical Processing
  • 5. ESTRUTURA  Apresentação do conceito SOLAP  Modelo de Interacção SOLAP  Protótipo Web Based  Caso de Estudo
  • 7. NÍVEIS HIERÁRQUICOS STATE TYPE WAREHOUSE SALES COUNTY REGION STORE
  • 8. NÍVEIS HIERÁRQUICOS STATE COUNTY CUSTOMER
  • 9. COMPONENTES DA INTERFACE SOLAP Zona da Visualização dos dados espaciais Visualização de geométricos sob a forma de Mapas - ZM mapas 1:1 Zona de Suporte Visualização de atributos aos Mapas - ZS semânticos das dimensões e métricas 1:N Zona de Detalhe - Visualização de agregados de ZD atributos semânticos de qualquer dimensão e métricas
  • 12. CORRESPONDÊNCIA VISUAL ENTRE MAPA E TABELA DE SUPORTE (1) Store County SUM Store King Sales 6812.71 Kitsap 8263.95 Los Angeles 31226.57 Marion 15405.42 Multnomah 14918.92 Pierce 12564.26 San Diego 12514.7 San Francisco 1794.99 Spokane 12541.67 Walla Walla 637.96 Whatcom 503.73 Yakimaa 5164.91
  • 15. COMO MANTER RESTRIÇÃO 1:1? Store Year Store Sales Name 2 Store 1997 291.22 Store 2 1998 212.51 Adicionar um atributo semântico de uma dimensão Store 11 1997 7843.63 semântica Store 11 1998 7075.29 … … … Store 24 1997 6227.87 Store 24 1997 6286.83
  • 16. COMO MANTER RESTRIÇÃO 1:1? Store State Store Type Store Sales California Supermarket 4542.65 Adicionar atributo semântico California Deluxe 3476.03 da dimensão espacial de … … … nível hierárquico superior Washington Gourmet 649502.98
  • 17. SOLUÇÃO: MÚLTIPLOS MAPAS Adicionar um atributo semântico de uma dimensão semântica
  • 18. SOLUÇÃO: MÚLTIPLOS MAPAS Slider sobre valores distintos de atributos
  • 19. SLICES ESPACIAIS DISTÂNCIA VIZINHANÇA TOPOLÓGICAS Exemplo: Exemplo: Exemplo: Encontrar as lojas Encontrar as 3 Encontrar as lojas que se encontrem lojas que se que se encontram a menos de 5 Km encontrem mais dentro de zonas de um centro perto de uma da urbanas. comercial. autoestrada.
  • 21. DRILL-DOWN E ROLL-UP DRILL DOWN DRILL DOWN store location store county store state ROLL UP ROLL UP
  • 22. INCLUSÃO ENTRE GEOMETRIAS (1) store state
  • 23. INCLUSÃO ENTRE GEOMETRIAS (1) sales region North West Central West South West
  • 24. INCLUSÃO ENTRE GEOMETRIAS (1) sales region North West store state Central West South West
  • 25. INCLUSÃO ENTRE GEOMETRIAS (1) Store State Sales Region Store Sales California South West 35553.26 California Central West 12002.34 Oregon Central West 23323.19 Oregon North West 10234.22 Washington North West 46489.19 state e sales_region  existe inclusão
  • 26. INCLUSÃO ENTRE GEOMETRIAS (2) Store Warehouse Store Sales County King Warehouse 6812.71 Kitsap 1 Warehouse 8263.95 Pierce 1 Warehouse 12564.26 store_county e warehouse  não existe incl Whatcom 1 Warehouse 503.73 Yakima 1 Warehouse 5164.91 1
  • 27. USO DA TABELA DE DETALHE • Visão global de todos os elementos semânticos presentes em ZS. • Agregar dados semânticos de diferentes níveis e visualizar N métricas sem a necessidade de gerar múltiplos mapas ou recorrer à visualização de gráficos nos mapas. • Detalhar qualquer uma das tabelas de suporte presentes na ZS.
  • 28. USO DA TABELA DE DETALHE • Visão global de todos os elementos semânticos presentes em ZS. • Agregar dados semânticos de diferentes níveis e visualizar N métricas sem a necessidade de gerar múltiplos mapas ou recorrer à visualização de gráficos nos mapas. • Detalhar qualquer uma das tabelas de suporte presentes na ZS.
  • 29. CLUSTERING Grelha
  • 30. CLUSTERING Grelha Problema: Divisão de clusters que logicamente pertencem ao mesmo grupo
  • 33. INTERACÇÃO ENTRE ZM, ZD E ZS A2 Mapa A1 A3 Tabela de Atributo A Valor Suporte A1 1000 A2 2000 A3 3000 Atributo A Atributo B Valor Tabela de A1 B1 750 Detalhe Atributo A Atributo B Valor A1 A2 B2 B1 250 500 A2 A2 B1 B2 500 1500 A2 B2 1500 A3 B1 1250 A3 B2 1750
  • 34. ESTRUTURA  Apresentação do conceito SOLAP  Modelo de Interacção SOLAP  Protótipo Web Based  Caso de Estudo
  • 35. CONSIDERAÇÕES  Apenas 1 dimensão espacial  Apenas 1 métrica numérica e no máximo 2 atributos espaciais na tabela de suporte  Sem recurso a múltiplos mapas  Sem recurso a gráficos para N métricas  Sem recurso a clusters
  • 36. ARQUITECTURA FLUXO DE INFORMAÇÃO META MD DATA DATA SOLAP REQUEST SOLAP SQL WAREHOU CLIENT SERVER DATA RESULTS SE MAP REQUEST MAP DATA MAP RESPONSE MAP SERVER
  • 37. TECNOLOGIAS SOLAP CLIENT FLEX + JAVACRIPT SOLAP SERVER PHP MAP SERVER ORACLE MAPVIEWER DATA WAREHOUSE ORACLE 10G META MODELO XML
  • 39. INTERFACE MAP CONTROL MAP DATA CONTROL USER OPTIONS TABLE AREA
  • 40. INTERFACE USER OPTIONS NOVA SESSÃO CARREGAR SESSÃO GUARDADA SALVAR SESSÃO ACTUAL CENTERED VIEW TABLE VIEW MAP VIEW
  • 41. INTERFACE MAP CONTROL CONTROLO DE PAN DO MAPA ZOOM IN ZOOM PARA ZOOM OUT SELECÇÃO SELECÇÃO SELECÇÃO RECTANGULAR INDIVIDUAL LEGENDA ESCALA LAYERS
  • 42. DATA CONTROL INTERFACE ADICIONAR ATRIBUTOS DRILL-DOWN ROLL-UP ADICIONAR SLICES SLIDER ADICIONAR SLICES ESPACIAIS ADICIONAR ADICIONAR MÉTRICAS FILTROS ADICIONAR VISUALIZAR RESTRIÇÕES ESTADO ACTUAL TOP/BOTTOM
  • 43. TABLE AREA INTERFACE TABELA DE SUPORTE 1:N TABELA DE DETALHE
  • 45. ESTRUTURA  Apresentação do conceito SOLAP  Modelo de Interacção SOLAP  Protótipo Web Based  Caso de Estudo
  • 47. CENÁRIO HIERARCHY DISTRITO CONCELHO BACIA FREGUESIA HIDROGRÁFICA INSTALAÇÃO
  • 49. COMUNICAÇÃO CLIENTE E SERVIDOR (1)
  • 50. COMUNICAÇÃO CLIENTE E SERVIDOR (1) CLIENT REQUEST <spatialone>  <request call="get_data">  <params cubeId="1" filename=“emissao.xml" spatial="true"/>  <level id="15" dimensionId="3"/>  <measure id="2" operator="SUM"/>  </request> </spatialone>
  • 51. COMUNICAÇÃO CLIENTE E SERVIDOR (1) QUERY SQL SELECT  T9.distrito_id,  T9.nome C1,  SUM(T6.quantidade_limiar)  C2  FROM  instalacao T3,  distrito T9, emissao_fact T6  WHERE  T9.distrito_id = T3.distrito_id AND  T3.instalacao_id = T6.instalacao_id  GROUP BY  T9.distrito_id,  T9.nome  ORDER BY  T9.nome
  • 52. COMUNICAÇÃO CLIENTE E SERVIDOR (1) SERVER RESPONSE <?xml version="1.0" encoding="UTF-8"?> <spatialone> <response status="success" time="0.3928"/> <map theme="T.SONE6101" style="V.SONE6100"/> <table count="17"> <columns> <C1 header="Distrito" type="level" lId="15" dId="3" /> <C2 header="SUM Quantidade Limiar" type="measure“ mId="2“ op="SUM"/> </columns> <rows> <row> <C1>AVEIRO</C1> <C2> 630.25</C2> </row> <row> <C1>BEJA</C1> <C2> 647.91</C2> </row> ……… </rows> </table> </spatialone>
  • 53. SLICE SEMÂNTICO MEIO = ‘AR’ POLUENTE = (‘SO2’, ‘NOx‘, ‘CO’, ‘Pb’)
  • 55. SLIDER POLUENTE: CO POLUENTE: SO2
  • 56. SLIDER POLUENTE: NO2
  • 57. SLIDER POLUENTE: Pb
  • 61. DRILL-DOWN ESPACIAL CONCELHO: ZONA DE LISBOA
  • 62. DRILL-DOWN ESPACIAL FREGUESIA: ZONA DE LISBOA
  • 63. DRILL-DOWN ESPACIAL COORDENADA: INSTALAÇÃO
  • 64. INTERSECÇÃO ESPACIAL POLUENTE = (‘Pb’, ‘Zn‘, ‘As’, ‘Cd’, MEIO = ‘ÁGUA’ ‘Hg’, ‘Cr’)
  • 65. SPATIAL SLICE: DISTANCE INSTALAÇÕES A 1KM DE UM RIO
  • 66. SPATIAL SLICE: INSIDE INSTALAÇÕES DENTRO DE REGIÃO PROTEGIDA
  • 67. SPATIAL SLICE: INSIDE OF SELECTION DISTRITOS DENTRO DO RECTANGULO DE SELECÇÃO
  • 68. SPATIAL SLICE: INSIDE OF SELECTION DISTRITOS DENTRO DO RECTANGULO DE SELECÇÃO
  • 69. SPATIAL SLICE: INSIDE OF SELECTION DISTRITOS DENTRO DO RECTANGULO DE SELECÇÃO
  • 71. Desenvolvido por: Marlene Vitorino, aluna nº 14397 Rodolfo Caldeira, aluno nº 14281 PROJECTO FINAL DA LICENCIATURA EM ENGENHARIA INFORMÁTICA 2007 / 2008