SlideShare une entreprise Scribd logo
1  sur  6
Télécharger pour lire hors ligne
Buildingsin space, sun in time
Jan Marsch • osmbuildings.org
OSM Buildings
OSM Buildings
Default mode
Sketch mode
• Layerfor web maps
• Dynamic perspective
• No installationrequired
• Fast,simple, small
Calculation
function getSunPosition(date, lat, lon) {
var lw = rad*-lon,
phi = rad*lat,
M = getSolarMeanAnomaly(date),
C = getEquationOfCenter(M),
L = getEclipticLongitude(M, C),
D = getDeclination(L, 0),
A = getRightAscension(L, 0),
t = getSiderealTime(date, lw),
H = t-A;
return {
azimuth: getAzimuth(H, phi, D),
altitude: getAltitude(H, phi, D)
};
}
Integration
var sun = getSunPosition(date, lat, lon);
var shadowLen = 1/tan(sun.altitude);
var v = {
x: cos(sun.azimuth) * shadowLen,
y: sin(sun.azimuth) * shadowLen
};
function project(x, y, z) {
return {
x2: x + v.x * z,
y2: y + v.y * z
};
}
Optimization
• Samevectorfor all points
• No shadows on otherobjects
• Renderinglayers
• Face combining
Links
• OSM Buildings osmbuildings.org
• Mourner‘sSuncalc github.com/mourner/suncalc
• AstronomyAnswers aa.quae.nl/en/reken/zonpositie.html
• GeoNames geonames.org

Contenu connexe

Tendances

Route Finding in Time Dependent Graphs - Nima Montazeri and Ben Earlam @ Grap...
Route Finding in Time Dependent Graphs - Nima Montazeri and Ben Earlam @ Grap...Route Finding in Time Dependent Graphs - Nima Montazeri and Ben Earlam @ Grap...
Route Finding in Time Dependent Graphs - Nima Montazeri and Ben Earlam @ Grap...Neo4j
 
Important Topics
Important TopicsImportant Topics
Important TopicsAtiqa khan
 
Using Deep Learning to Derive 3D Cities from Satellite Imagery
Using Deep Learning to Derive 3D Cities from Satellite ImageryUsing Deep Learning to Derive 3D Cities from Satellite Imagery
Using Deep Learning to Derive 3D Cities from Satellite ImageryAstraea, Inc.
 
Modeling Geometry and Reference Systems on the Web of Data - LGD 2014
Modeling Geometry and Reference Systems on the Web of Data - LGD 2014Modeling Geometry and Reference Systems on the Web of Data - LGD 2014
Modeling Geometry and Reference Systems on the Web of Data - LGD 2014Raphael Troncy
 
Vincent Sarago (Mapbox) | Traitement d’imagerie satellitaires de masse en ut...
Vincent Sarago (Mapbox)  | Traitement d’imagerie satellitaires de masse en ut...Vincent Sarago (Mapbox)  | Traitement d’imagerie satellitaires de masse en ut...
Vincent Sarago (Mapbox) | Traitement d’imagerie satellitaires de masse en ut...ACSG Section Montréal
 
MiPlEx - Online Task Planning for Exploration Tasks in Urban Terrain
MiPlEx - Online Task Planning for Exploration Tasks in Urban TerrainMiPlEx - Online Task Planning for Exploration Tasks in Urban Terrain
MiPlEx - Online Task Planning for Exploration Tasks in Urban TerrainFlorian-Michael Adolf
 
Expressive Map Design: OGC SLD/SE extension for expressive mapstyles
Expressive Map Design: OGC SLD/SE extension for expressive mapstylesExpressive Map Design: OGC SLD/SE extension for expressive mapstyles
Expressive Map Design: OGC SLD/SE extension for expressive mapstylesSidonie Christophe
 
Change Detection Examples
Change Detection ExamplesChange Detection Examples
Change Detection ExamplesIan Marrs
 
FREQUENCY RESPONSE POLAR PLOT
FREQUENCY RESPONSE POLAR PLOTFREQUENCY RESPONSE POLAR PLOT
FREQUENCY RESPONSE POLAR PLOTMd Kiron
 
Meshing and Simplification of High Resolution Urban Surface Data for UAV Path...
Meshing and Simplification of High Resolution Urban Surface Data for UAV Path...Meshing and Simplification of High Resolution Urban Surface Data for UAV Path...
Meshing and Simplification of High Resolution Urban Surface Data for UAV Path...Florian-Michael Adolf
 
MapStyle: Automatic Rendering of a Cassini Style
MapStyle: Automatic Rendering of a Cassini StyleMapStyle: Automatic Rendering of a Cassini Style
MapStyle: Automatic Rendering of a Cassini StyleSidonie Christophe
 
Open Historical Map: Vector Tiles & Other Updates
Open Historical Map: Vector Tiles & Other UpdatesOpen Historical Map: Vector Tiles & Other Updates
Open Historical Map: Vector Tiles & Other Updatesgwhathistory
 
Serverless+Redis!= Stateless Avner Braverman
Serverless+Redis!= Stateless Avner BravermanServerless+Redis!= Stateless Avner Braverman
Serverless+Redis!= Stateless Avner BravermanRedis Labs
 

Tendances (20)

Route Finding in Time Dependent Graphs - Nima Montazeri and Ben Earlam @ Grap...
Route Finding in Time Dependent Graphs - Nima Montazeri and Ben Earlam @ Grap...Route Finding in Time Dependent Graphs - Nima Montazeri and Ben Earlam @ Grap...
Route Finding in Time Dependent Graphs - Nima Montazeri and Ben Earlam @ Grap...
 
Important Topics
Important TopicsImportant Topics
Important Topics
 
Tim Alder
Tim AlderTim Alder
Tim Alder
 
Session2 03.juri opitz
Session2 03.juri opitzSession2 03.juri opitz
Session2 03.juri opitz
 
Using Deep Learning to Derive 3D Cities from Satellite Imagery
Using Deep Learning to Derive 3D Cities from Satellite ImageryUsing Deep Learning to Derive 3D Cities from Satellite Imagery
Using Deep Learning to Derive 3D Cities from Satellite Imagery
 
Modeling Geometry and Reference Systems on the Web of Data - LGD 2014
Modeling Geometry and Reference Systems on the Web of Data - LGD 2014Modeling Geometry and Reference Systems on the Web of Data - LGD 2014
Modeling Geometry and Reference Systems on the Web of Data - LGD 2014
 
Vincent Sarago (Mapbox) | Traitement d’imagerie satellitaires de masse en ut...
Vincent Sarago (Mapbox)  | Traitement d’imagerie satellitaires de masse en ut...Vincent Sarago (Mapbox)  | Traitement d’imagerie satellitaires de masse en ut...
Vincent Sarago (Mapbox) | Traitement d’imagerie satellitaires de masse en ut...
 
EU 2015 (RJ) - FME pelo mundo - casos de sucesso
EU 2015 (RJ) - FME pelo mundo - casos de sucessoEU 2015 (RJ) - FME pelo mundo - casos de sucesso
EU 2015 (RJ) - FME pelo mundo - casos de sucesso
 
EU 2015 (SP) - FME pelo mundo - casos de sucesso
EU 2015 (SP) - FME pelo mundo - casos de sucessoEU 2015 (SP) - FME pelo mundo - casos de sucesso
EU 2015 (SP) - FME pelo mundo - casos de sucesso
 
MiPlEx - Online Task Planning for Exploration Tasks in Urban Terrain
MiPlEx - Online Task Planning for Exploration Tasks in Urban TerrainMiPlEx - Online Task Planning for Exploration Tasks in Urban Terrain
MiPlEx - Online Task Planning for Exploration Tasks in Urban Terrain
 
Expressive Map Design: OGC SLD/SE extension for expressive mapstyles
Expressive Map Design: OGC SLD/SE extension for expressive mapstylesExpressive Map Design: OGC SLD/SE extension for expressive mapstyles
Expressive Map Design: OGC SLD/SE extension for expressive mapstyles
 
Projections
ProjectionsProjections
Projections
 
Change Detection Examples
Change Detection ExamplesChange Detection Examples
Change Detection Examples
 
FREQUENCY RESPONSE POLAR PLOT
FREQUENCY RESPONSE POLAR PLOTFREQUENCY RESPONSE POLAR PLOT
FREQUENCY RESPONSE POLAR PLOT
 
OSGC POSTER
OSGC POSTEROSGC POSTER
OSGC POSTER
 
Meshing and Simplification of High Resolution Urban Surface Data for UAV Path...
Meshing and Simplification of High Resolution Urban Surface Data for UAV Path...Meshing and Simplification of High Resolution Urban Surface Data for UAV Path...
Meshing and Simplification of High Resolution Urban Surface Data for UAV Path...
 
MapStyle: Automatic Rendering of a Cassini Style
MapStyle: Automatic Rendering of a Cassini StyleMapStyle: Automatic Rendering of a Cassini Style
MapStyle: Automatic Rendering of a Cassini Style
 
Open Historical Map: Vector Tiles & Other Updates
Open Historical Map: Vector Tiles & Other UpdatesOpen Historical Map: Vector Tiles & Other Updates
Open Historical Map: Vector Tiles & Other Updates
 
Serverless+Redis!= Stateless Avner Braverman
Serverless+Redis!= Stateless Avner BravermanServerless+Redis!= Stateless Avner Braverman
Serverless+Redis!= Stateless Avner Braverman
 
Polar Plot
Polar PlotPolar Plot
Polar Plot
 

Dernier

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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
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
 
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
 
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
 
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
 
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
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 

Dernier (20)

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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
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...
 
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
 
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
 
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...
 
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
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

OSM Buildings - Buildings in space, sun in time

  • 1. Buildingsin space, sun in time Jan Marsch • osmbuildings.org OSM Buildings
  • 2. OSM Buildings Default mode Sketch mode • Layerfor web maps • Dynamic perspective • No installationrequired • Fast,simple, small
  • 3. Calculation function getSunPosition(date, lat, lon) { var lw = rad*-lon, phi = rad*lat, M = getSolarMeanAnomaly(date), C = getEquationOfCenter(M), L = getEclipticLongitude(M, C), D = getDeclination(L, 0), A = getRightAscension(L, 0), t = getSiderealTime(date, lw), H = t-A; return { azimuth: getAzimuth(H, phi, D), altitude: getAltitude(H, phi, D) }; }
  • 4. Integration var sun = getSunPosition(date, lat, lon); var shadowLen = 1/tan(sun.altitude); var v = { x: cos(sun.azimuth) * shadowLen, y: sin(sun.azimuth) * shadowLen }; function project(x, y, z) { return { x2: x + v.x * z, y2: y + v.y * z }; }
  • 5. Optimization • Samevectorfor all points • No shadows on otherobjects • Renderinglayers • Face combining
  • 6. Links • OSM Buildings osmbuildings.org • Mourner‘sSuncalc github.com/mourner/suncalc • AstronomyAnswers aa.quae.nl/en/reken/zonpositie.html • GeoNames geonames.org