SlideShare a Scribd company logo
1 of 20
Download to read offline
3D Building visualization for
        environmental impact
             assessment



Daniel Gastón
GIS Software Developer
WebGL Camp – July 2012
Index
• Prodevelop
• Motivation
• Buildings Visualization
   – Architecture
   – Buildings Data Preparation
   – Buildings Rendering

• Buildings Processing
   – Solar Incidence Servlet
   – Visibility Servlet

• Conclusions




                                  WebGL Camp – July2012   2 / 20
Geographic Information Systems (GIS)

                WebGL




            WebGL Camp – July2012      3 / 20
Motivation
• Optimize the passive energy consumption of buildings
     – Buildings sector represents the energetic sector with the highest potential in

     terms of energy reduction —estimation of 29% for 2020— [1]

• Industrial research in:
     – calculus of energy demand models for buildings (Solar
     Incidence)

     – indirect environmental impact (Visibility)

• WebGL-based visualization

[1] Contribution of Working Group III to the Fourth Assessment Report of The Intergovernmental Panel on Climate Change (2007)




                                                    WebGL Camp – July2012                                                   4 / 20
Buildings Visualization




                          5 / 20
Architecture Diagram




         WebGL Camp – July2012   6 / 20
Buildings Data Preparation
Cadastre
• Input:
    – 2D Cadastre: data coming from the Spanish cadastre in SHP
    format
• Output Data:
    – JSON with topological and semantic attributes




Shapefile    GeoJSON                Java Processing               JSON


                               WebGL Camp – July2012                     7 / 20
Buildings Data Preparation
FIDE (Edification Exchange Data Format)

• Input:
   – FIDE: edification data in XML format

• Output Data:
   – JSON with topological attributes




     FIDE                         Java Processing   JSON


                            WebGL Camp – July2012          8 / 20
Buildings Rendering
1. Load buildings data (JSON files)

2. Extrude (only cadastre data)

3. Create node

4. Specify vertex attribute data
   – OSGJS does not have Tessellation support.

   – Adaptation of Poly2tri Constrained Delaunay Triangulation library in JS

   – Tessellation takes place in the client side

5. Attach node to the scene




                                 WebGL Camp – July2012                         9 / 20
Demo




       WebGL Camp – July2012   10 / 20
Buildings Processing




                       11 / 20
Architecture Diagram




         WebGL Camp – July2012   12 / 20
Solar Incidence Servlet
ServletInput = {
          BUILDING: JSON.stringify(FIDE),
          START_MONTH: 7,
          START_DAY:     1,
          START_HOUR: 14.00,
          END_MONTH:     7,                                          Solar
                                                                     Incidence
          END_DAY:       5,
                                                                     Servlet
          END_HOUR:      17.00,
          HOUR_STEP:     1.0,
          DAY_STEP:      1
};


                                                    [0, 0.189, 14.667, 4.580, …]

                          Solar Incidence Values in sync with FIDE faces


                            WebGL Camp – July2012                          13 / 20
Solar Incidence Servlet
   …Servlet takes into account:

   • Solar ephemerides

   • Digital Elevation Model
   • Cadastre buildings
   • FIDE building faces




                …and the likelihood of solar blocks between them




                     WebGL Camp – July2012                  14 / 20
Demo




       WebGL Camp – July2012   15 / 20
Visibility Servlet
                                                              [[lat1, lon1, visibility1] ,
                                                               …,
ServletInput = {
                                                               [latN, lonN, visibilityN]]
       BUILDING: JSON.stringify(FIDE),
       MIN_X:      724900,
       MAX_X:      725500,                               Visibility
       MIN_Y:      4371500,                              Servlet
       MAX_Y:      4372200,
       CELL_SIZE: 10
};


                                                                      Reproyection
                                                                        Servlet

       [[X1, Y1, visibility1] , [X2, Y2, visibility2] , … , [XN, YN, visibilityN]]




                                 WebGL Camp – July2012                           16 / 20
Visibility Servlet




           WebGL Camp – July2012   17 / 20
Visibility Servlet




  FIDE building



                  WebGL Camp – July2012   18 / 20
Conclusions
• Using WebGL represents an improvement

• Time-consuming (esp. Visibility processing)

• Contribution to:
   – WebGL community (open source code)

   – Sustainable energy policy




                           WebGL Camp – July2012   19 / 20
Daniel Gastón
            GIS Software Developer
            dgaston@prodevelop.es


http://github.com/RealFlow/godzi-webgl/tree/buildings

More Related Content

Viewers also liked

Charlie parker
Charlie parkerCharlie parker
Charlie parkervivetto44
 
Franska revolutionen
Franska revolutionenFranska revolutionen
Franska revolutionendya0116
 
El arte en la religion
El arte en la religion El arte en la religion
El arte en la religion Roger Goodwill
 
Makalah Statistika : Skala Pengukuran
Makalah Statistika : Skala PengukuranMakalah Statistika : Skala Pengukuran
Makalah Statistika : Skala PengukuranMamah Rohimah Sardin
 
Answers cape2008-120618171808-phpapp01
Answers cape2008-120618171808-phpapp01Answers cape2008-120618171808-phpapp01
Answers cape2008-120618171808-phpapp01Roger Goodwill
 
The social institution of religion
The social institution of religionThe social institution of religion
The social institution of religionRoger Goodwill
 
Egg experiment
Egg experimentEgg experiment
Egg experimentsjlastayo
 
108639348 solucionario-analisis-matematico-iii-eduardo-espinoza-ramos
108639348 solucionario-analisis-matematico-iii-eduardo-espinoza-ramos108639348 solucionario-analisis-matematico-iii-eduardo-espinoza-ramos
108639348 solucionario-analisis-matematico-iii-eduardo-espinoza-ramosDeiby Requena Marcelo
 

Viewers also liked (12)

Charlie parker
Charlie parkerCharlie parker
Charlie parker
 
Historia clinica facultad de odontologia 2
Historia clinica facultad de odontologia 2Historia clinica facultad de odontologia 2
Historia clinica facultad de odontologia 2
 
Franska revolutionen
Franska revolutionenFranska revolutionen
Franska revolutionen
 
Filosofia Occidental
Filosofia OccidentalFilosofia Occidental
Filosofia Occidental
 
Haiti 1820
Haiti 1820Haiti 1820
Haiti 1820
 
El arte en la religion
El arte en la religion El arte en la religion
El arte en la religion
 
Historia clinica uce semiologia
Historia clinica uce semiologiaHistoria clinica uce semiologia
Historia clinica uce semiologia
 
Makalah Statistika : Skala Pengukuran
Makalah Statistika : Skala PengukuranMakalah Statistika : Skala Pengukuran
Makalah Statistika : Skala Pengukuran
 
Answers cape2008-120618171808-phpapp01
Answers cape2008-120618171808-phpapp01Answers cape2008-120618171808-phpapp01
Answers cape2008-120618171808-phpapp01
 
The social institution of religion
The social institution of religionThe social institution of religion
The social institution of religion
 
Egg experiment
Egg experimentEgg experiment
Egg experiment
 
108639348 solucionario-analisis-matematico-iii-eduardo-espinoza-ramos
108639348 solucionario-analisis-matematico-iii-eduardo-espinoza-ramos108639348 solucionario-analisis-matematico-iii-eduardo-espinoza-ramos
108639348 solucionario-analisis-matematico-iii-eduardo-espinoza-ramos
 

Similar to WebGL Camp Europe Presentation

State of GeoServer 2.10
State of GeoServer 2.10State of GeoServer 2.10
State of GeoServer 2.10Jody Garnett
 
Mock Objects from Concept to Code
Mock Objects from Concept to CodeMock Objects from Concept to Code
Mock Objects from Concept to CodeRob Myers
 
GI2012 buono-cnr-geo-platform
GI2012 buono-cnr-geo-platformGI2012 buono-cnr-geo-platform
GI2012 buono-cnr-geo-platformIGN Vorstand
 
Dev Fest X (Sapporo) WebGL
Dev Fest X (Sapporo) WebGLDev Fest X (Sapporo) WebGL
Dev Fest X (Sapporo) WebGLYukio Andoh
 
Spatio-temporal Data Handling With GeoServer for MetOc And Remote Sensing
Spatio-temporal Data Handling With GeoServer for MetOc And Remote SensingSpatio-temporal Data Handling With GeoServer for MetOc And Remote Sensing
Spatio-temporal Data Handling With GeoServer for MetOc And Remote SensingGeoSolutions
 
Gi2011 x-pre-agenda v5
Gi2011 x-pre-agenda v5Gi2011 x-pre-agenda v5
Gi2011 x-pre-agenda v5Karel Charvat
 
So, you wanna migrate to Java 9?
So, you wanna migrate to Java 9?So, you wanna migrate to Java 9?
So, you wanna migrate to Java 9?Tomek Adamczewki
 
OAE Developer Bootcamp
OAE Developer BootcampOAE Developer Bootcamp
OAE Developer BootcampBert Pareyn
 
Integrate Spring MVC with RequireJS & Backbone.js & Spring Data JPA
Integrate Spring MVC with RequireJS & Backbone.js & Spring Data JPAIntegrate Spring MVC with RequireJS & Backbone.js & Spring Data JPA
Integrate Spring MVC with RequireJS & Backbone.js & Spring Data JPACheng Ta Yeh
 
Android: Looking beyond the obvious
Android: Looking beyond the obviousAndroid: Looking beyond the obvious
Android: Looking beyond the obviousINVERS GmbH
 
EDINA's Open Geo-Services
EDINA's Open Geo-ServicesEDINA's Open Geo-Services
EDINA's Open Geo-ServicesAddy Pope
 
Deploy your contents with entity share
Deploy your contents with entity share   Deploy your contents with entity share
Deploy your contents with entity share Smile I.T is open
 
GeoServer intro for SDI Days 2013
GeoServer intro for SDI Days 2013GeoServer intro for SDI Days 2013
GeoServer intro for SDI Days 2013GeoSolutions
 
Raster Data In GeoServer And GeoTools: Achievements, Issues And Future Develo...
Raster Data In GeoServer And GeoTools: Achievements, Issues And Future Develo...Raster Data In GeoServer And GeoTools: Achievements, Issues And Future Develo...
Raster Data In GeoServer And GeoTools: Achievements, Issues And Future Develo...GeoSolutions
 
Data-Driven Decision-Making for Construction & Asset Management
Data-Driven Decision-Making for Construction & Asset ManagementData-Driven Decision-Making for Construction & Asset Management
Data-Driven Decision-Making for Construction & Asset ManagementGeoEnable Limited
 
Leaving Flatland: Getting Started with WebGL- SXSW 2012
Leaving Flatland: Getting Started with WebGL- SXSW 2012Leaving Flatland: Getting Started with WebGL- SXSW 2012
Leaving Flatland: Getting Started with WebGL- SXSW 2012philogb
 

Similar to WebGL Camp Europe Presentation (20)

State of GeoServer 2.10
State of GeoServer 2.10State of GeoServer 2.10
State of GeoServer 2.10
 
Mock Objects from Concept to Code
Mock Objects from Concept to CodeMock Objects from Concept to Code
Mock Objects from Concept to Code
 
GI2012 buono-cnr-geo-platform
GI2012 buono-cnr-geo-platformGI2012 buono-cnr-geo-platform
GI2012 buono-cnr-geo-platform
 
Dev Fest X (Sapporo) WebGL
Dev Fest X (Sapporo) WebGLDev Fest X (Sapporo) WebGL
Dev Fest X (Sapporo) WebGL
 
Spatio-temporal Data Handling With GeoServer for MetOc And Remote Sensing
Spatio-temporal Data Handling With GeoServer for MetOc And Remote SensingSpatio-temporal Data Handling With GeoServer for MetOc And Remote Sensing
Spatio-temporal Data Handling With GeoServer for MetOc And Remote Sensing
 
Gi2011 x-pre-agenda v5
Gi2011 x-pre-agenda v5Gi2011 x-pre-agenda v5
Gi2011 x-pre-agenda v5
 
So, you wanna migrate to Java 9?
So, you wanna migrate to Java 9?So, you wanna migrate to Java 9?
So, you wanna migrate to Java 9?
 
Open@EDINA
Open@EDINAOpen@EDINA
Open@EDINA
 
OAE Developer Bootcamp
OAE Developer BootcampOAE Developer Bootcamp
OAE Developer Bootcamp
 
Integrate Spring MVC with RequireJS & Backbone.js & Spring Data JPA
Integrate Spring MVC with RequireJS & Backbone.js & Spring Data JPAIntegrate Spring MVC with RequireJS & Backbone.js & Spring Data JPA
Integrate Spring MVC with RequireJS & Backbone.js & Spring Data JPA
 
Android: Looking beyond the obvious
Android: Looking beyond the obviousAndroid: Looking beyond the obvious
Android: Looking beyond the obvious
 
EDINA's Open Geo-Services
EDINA's Open Geo-ServicesEDINA's Open Geo-Services
EDINA's Open Geo-Services
 
Spmcasestudy
SpmcasestudySpmcasestudy
Spmcasestudy
 
Deploy your contents with entity share
Deploy your contents with entity share   Deploy your contents with entity share
Deploy your contents with entity share
 
GeoServer intro for SDI Days 2013
GeoServer intro for SDI Days 2013GeoServer intro for SDI Days 2013
GeoServer intro for SDI Days 2013
 
Raster Data In GeoServer And GeoTools: Achievements, Issues And Future Develo...
Raster Data In GeoServer And GeoTools: Achievements, Issues And Future Develo...Raster Data In GeoServer And GeoTools: Achievements, Issues And Future Develo...
Raster Data In GeoServer And GeoTools: Achievements, Issues And Future Develo...
 
The Heron Mapping Client
The Heron Mapping ClientThe Heron Mapping Client
The Heron Mapping Client
 
Data-Driven Decision-Making for Construction & Asset Management
Data-Driven Decision-Making for Construction & Asset ManagementData-Driven Decision-Making for Construction & Asset Management
Data-Driven Decision-Making for Construction & Asset Management
 
Leaving Flatland: Getting Started with WebGL- SXSW 2012
Leaving Flatland: Getting Started with WebGL- SXSW 2012Leaving Flatland: Getting Started with WebGL- SXSW 2012
Leaving Flatland: Getting Started with WebGL- SXSW 2012
 
Scripting GeoServer
Scripting GeoServerScripting GeoServer
Scripting GeoServer
 

Recently uploaded

Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 

Recently uploaded (20)

Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 

WebGL Camp Europe Presentation

  • 1. 3D Building visualization for environmental impact assessment Daniel Gastón GIS Software Developer WebGL Camp – July 2012
  • 2. Index • Prodevelop • Motivation • Buildings Visualization – Architecture – Buildings Data Preparation – Buildings Rendering • Buildings Processing – Solar Incidence Servlet – Visibility Servlet • Conclusions WebGL Camp – July2012 2 / 20
  • 3. Geographic Information Systems (GIS) WebGL WebGL Camp – July2012 3 / 20
  • 4. Motivation • Optimize the passive energy consumption of buildings – Buildings sector represents the energetic sector with the highest potential in terms of energy reduction —estimation of 29% for 2020— [1] • Industrial research in: – calculus of energy demand models for buildings (Solar Incidence) – indirect environmental impact (Visibility) • WebGL-based visualization [1] Contribution of Working Group III to the Fourth Assessment Report of The Intergovernmental Panel on Climate Change (2007) WebGL Camp – July2012 4 / 20
  • 6. Architecture Diagram WebGL Camp – July2012 6 / 20
  • 7. Buildings Data Preparation Cadastre • Input: – 2D Cadastre: data coming from the Spanish cadastre in SHP format • Output Data: – JSON with topological and semantic attributes Shapefile GeoJSON Java Processing JSON WebGL Camp – July2012 7 / 20
  • 8. Buildings Data Preparation FIDE (Edification Exchange Data Format) • Input: – FIDE: edification data in XML format • Output Data: – JSON with topological attributes FIDE Java Processing JSON WebGL Camp – July2012 8 / 20
  • 9. Buildings Rendering 1. Load buildings data (JSON files) 2. Extrude (only cadastre data) 3. Create node 4. Specify vertex attribute data – OSGJS does not have Tessellation support. – Adaptation of Poly2tri Constrained Delaunay Triangulation library in JS – Tessellation takes place in the client side 5. Attach node to the scene WebGL Camp – July2012 9 / 20
  • 10. Demo WebGL Camp – July2012 10 / 20
  • 12. Architecture Diagram WebGL Camp – July2012 12 / 20
  • 13. Solar Incidence Servlet ServletInput = { BUILDING: JSON.stringify(FIDE), START_MONTH: 7, START_DAY: 1, START_HOUR: 14.00, END_MONTH: 7, Solar Incidence END_DAY: 5, Servlet END_HOUR: 17.00, HOUR_STEP: 1.0, DAY_STEP: 1 }; [0, 0.189, 14.667, 4.580, …] Solar Incidence Values in sync with FIDE faces WebGL Camp – July2012 13 / 20
  • 14. Solar Incidence Servlet …Servlet takes into account: • Solar ephemerides • Digital Elevation Model • Cadastre buildings • FIDE building faces …and the likelihood of solar blocks between them WebGL Camp – July2012 14 / 20
  • 15. Demo WebGL Camp – July2012 15 / 20
  • 16. Visibility Servlet [[lat1, lon1, visibility1] , …, ServletInput = { [latN, lonN, visibilityN]] BUILDING: JSON.stringify(FIDE), MIN_X: 724900, MAX_X: 725500, Visibility MIN_Y: 4371500, Servlet MAX_Y: 4372200, CELL_SIZE: 10 }; Reproyection Servlet [[X1, Y1, visibility1] , [X2, Y2, visibility2] , … , [XN, YN, visibilityN]] WebGL Camp – July2012 16 / 20
  • 17. Visibility Servlet WebGL Camp – July2012 17 / 20
  • 18. Visibility Servlet FIDE building WebGL Camp – July2012 18 / 20
  • 19. Conclusions • Using WebGL represents an improvement • Time-consuming (esp. Visibility processing) • Contribution to: – WebGL community (open source code) – Sustainable energy policy WebGL Camp – July2012 19 / 20
  • 20. Daniel Gastón GIS Software Developer dgaston@prodevelop.es http://github.com/RealFlow/godzi-webgl/tree/buildings