SlideShare a Scribd company logo
An Interactive Web Map of
New Zealand Earthquakes
BY HARRIS OHLAND
• Pacific plate subducts under Australian
plate to the North
• Australian plate subducts under Pacific
plate to the South
• Alpine fault zone in between (Australian
side moving North, Pacific side moving
South)
Source: https://upload.wikimedia.org/wikipedia/commons/8/8a/NZ_faults.png
USGS earthquake records (CSV) GNS Active Faults (shapefile)
All earthquakes within a 1750km of 41°16′15″S 173°17′2″E occuring from 1986 to
2016 with magnitudes 4.0 or greater and focal depths of 300km or less.
Demo
External scripts and stylesheets for
Mapbox and jQuery
Map container
Menu container and subcontainers
Mapbox access token
Global variables and map
Functions
• Add vector tileset source from Mapbox
Studio
• Set ‘mag’ variable and start ‘while’ loop that
will add one layer per unique magnitude
value
• Set circle radius based on magnitude value
and zoom level
• Set circle color based on magnitude
• Increment ‘mag’ variable by 0.1, add to
‘floats’ array, convert to float
• Set ‘mag’ variable, get min. and max.
values from the magnitude range
slider
• Use if/else statement to make layers
outside the specified range not visible
• Create new filter array using the
values from the ‘depth’ and ‘year’
range slider
• Update the filters for each layer
• Use if/else statement to set visibility
property for faults and plate
boundary when checked
• Create new filter array using the
values from the ‘depth’ and ‘year’
range slider
• Update the filters for each layer
Data Sources
Earthquakes
Institution: United States Geological Survey
Database: Earthquake Archive
URL: http://earthquake.usgs.gov/fdsnws/event/1/query.csv?starttime=1986-05-
15%2000:00:00&endtime=2016-05-15%2023:59:59&latitude=-
41.271&longitude=173.284&maxradiuskm=1750&minmagnitude=4&eventtype=earthquake
&orderby=time
Faults
Institution: New Zealand Institue of Geological and Nuclear Sciences
Database: Active Fault Database
URL: http://data.gns.cri.nz/af/exportShp.html
Special thanks to
• Kathleen Stewart
• Monica Lloyd
• Dave McLean
• Jim Verran
• Dr. Euan Smith

More Related Content

What's hot

The Gaia Revolution
The Gaia RevolutionThe Gaia Revolution
The Gaia Revolution
Ronald Drimmel
 
Poster Nov19
Poster Nov19Poster Nov19
Poster Nov19
Rudolf Husar
 
Soils
SoilsSoils
2017 PLSC Track: Gravity - Not just a Law: It is the Basis of NGS's New Geopo...
2017 PLSC Track: Gravity - Not just a Law: It is the Basis of NGS's New Geopo...2017 PLSC Track: Gravity - Not just a Law: It is the Basis of NGS's New Geopo...
2017 PLSC Track: Gravity - Not just a Law: It is the Basis of NGS's New Geopo...
GIS in the Rockies
 
Klosterhalfen, Anne: Two-level Eddy Covariance Measurements Improve Land-atmo...
Klosterhalfen, Anne: Two-level Eddy Covariance Measurements Improve Land-atmo...Klosterhalfen, Anne: Two-level Eddy Covariance Measurements Improve Land-atmo...
Klosterhalfen, Anne: Two-level Eddy Covariance Measurements Improve Land-atmo...
Integrated Carbon Observation System (ICOS)
 
ÖNCEL AKADEMİ: INTRODUCTION TO SEISMOLOGY
ÖNCEL AKADEMİ: INTRODUCTION TO SEISMOLOGYÖNCEL AKADEMİ: INTRODUCTION TO SEISMOLOGY
ÖNCEL AKADEMİ: INTRODUCTION TO SEISMOLOGY
Ali Osman Öncel
 
DSD-INT 2018 Global Landslides analysis and forecasting - Tehrani
DSD-INT 2018 Global Landslides analysis and forecasting - TehraniDSD-INT 2018 Global Landslides analysis and forecasting - Tehrani
DSD-INT 2018 Global Landslides analysis and forecasting - Tehrani
Deltares
 
LunarCubes 4: Astrobotic - Private Access to Cislunar Space
LunarCubes 4: Astrobotic - Private Access to  Cislunar SpaceLunarCubes 4: Astrobotic - Private Access to  Cislunar Space
LunarCubes 4: Astrobotic - Private Access to Cislunar Space
Lunar Workshops
 
EarthSci 6- Volcanoes
EarthSci 6- VolcanoesEarthSci 6- Volcanoes
EarthSci 6- Volcanoes
CHENGsane
 
LightSail Solar Sailing
LightSail Solar SailingLightSail Solar Sailing
LightSail Solar Sailing
Kristin Adams Schmitt
 
markus_mueller_eresearchnz2016
markus_mueller_eresearchnz2016markus_mueller_eresearchnz2016
markus_mueller_eresearchnz2016Markus Müller
 
Natalie bill jill_collated_05_dec11_final
Natalie bill jill_collated_05_dec11_finalNatalie bill jill_collated_05_dec11_final
Natalie bill jill_collated_05_dec11_finalSérgio Sacani
 
Akiyo yatagai
Akiyo yatagaiAkiyo yatagai
Akiyo yatagaiClimDev15
 
Senior_Project_Robert_Kittleson
Senior_Project_Robert_KittlesonSenior_Project_Robert_Kittleson
Senior_Project_Robert_KittlesonRobert Kittleson
 
LIDAR-derived DTM for archaeology and landscape history research some recent ...
LIDAR-derived DTM for archaeology and landscape history research some recent ...LIDAR-derived DTM for archaeology and landscape history research some recent ...
LIDAR-derived DTM for archaeology and landscape history research some recent ...
Shaun Lewis
 
What Is Richter Magnitude Esp101 Clarakwan
What Is Richter Magnitude  Esp101 ClarakwanWhat Is Richter Magnitude  Esp101 Clarakwan
What Is Richter Magnitude Esp101 ClarakwanClara Kwan
 
Shi_2015_present
Shi_2015_presentShi_2015_present
Shi_2015_presentTiger Shi
 

What's hot (19)

The Gaia Revolution
The Gaia RevolutionThe Gaia Revolution
The Gaia Revolution
 
Poster Nov19
Poster Nov19Poster Nov19
Poster Nov19
 
Soils
SoilsSoils
Soils
 
Risk_CA
Risk_CARisk_CA
Risk_CA
 
2017 PLSC Track: Gravity - Not just a Law: It is the Basis of NGS's New Geopo...
2017 PLSC Track: Gravity - Not just a Law: It is the Basis of NGS's New Geopo...2017 PLSC Track: Gravity - Not just a Law: It is the Basis of NGS's New Geopo...
2017 PLSC Track: Gravity - Not just a Law: It is the Basis of NGS's New Geopo...
 
Klosterhalfen, Anne: Two-level Eddy Covariance Measurements Improve Land-atmo...
Klosterhalfen, Anne: Two-level Eddy Covariance Measurements Improve Land-atmo...Klosterhalfen, Anne: Two-level Eddy Covariance Measurements Improve Land-atmo...
Klosterhalfen, Anne: Two-level Eddy Covariance Measurements Improve Land-atmo...
 
ÖNCEL AKADEMİ: INTRODUCTION TO SEISMOLOGY
ÖNCEL AKADEMİ: INTRODUCTION TO SEISMOLOGYÖNCEL AKADEMİ: INTRODUCTION TO SEISMOLOGY
ÖNCEL AKADEMİ: INTRODUCTION TO SEISMOLOGY
 
DSD-INT 2018 Global Landslides analysis and forecasting - Tehrani
DSD-INT 2018 Global Landslides analysis and forecasting - TehraniDSD-INT 2018 Global Landslides analysis and forecasting - Tehrani
DSD-INT 2018 Global Landslides analysis and forecasting - Tehrani
 
C Ms Intro
C Ms IntroC Ms Intro
C Ms Intro
 
LunarCubes 4: Astrobotic - Private Access to Cislunar Space
LunarCubes 4: Astrobotic - Private Access to  Cislunar SpaceLunarCubes 4: Astrobotic - Private Access to  Cislunar Space
LunarCubes 4: Astrobotic - Private Access to Cislunar Space
 
EarthSci 6- Volcanoes
EarthSci 6- VolcanoesEarthSci 6- Volcanoes
EarthSci 6- Volcanoes
 
LightSail Solar Sailing
LightSail Solar SailingLightSail Solar Sailing
LightSail Solar Sailing
 
markus_mueller_eresearchnz2016
markus_mueller_eresearchnz2016markus_mueller_eresearchnz2016
markus_mueller_eresearchnz2016
 
Natalie bill jill_collated_05_dec11_final
Natalie bill jill_collated_05_dec11_finalNatalie bill jill_collated_05_dec11_final
Natalie bill jill_collated_05_dec11_final
 
Akiyo yatagai
Akiyo yatagaiAkiyo yatagai
Akiyo yatagai
 
Senior_Project_Robert_Kittleson
Senior_Project_Robert_KittlesonSenior_Project_Robert_Kittleson
Senior_Project_Robert_Kittleson
 
LIDAR-derived DTM for archaeology and landscape history research some recent ...
LIDAR-derived DTM for archaeology and landscape history research some recent ...LIDAR-derived DTM for archaeology and landscape history research some recent ...
LIDAR-derived DTM for archaeology and landscape history research some recent ...
 
What Is Richter Magnitude Esp101 Clarakwan
What Is Richter Magnitude  Esp101 ClarakwanWhat Is Richter Magnitude  Esp101 Clarakwan
What Is Richter Magnitude Esp101 Clarakwan
 
Shi_2015_present
Shi_2015_presentShi_2015_present
Shi_2015_present
 

Viewers also liked

V bennett aster_2015
V bennett aster_2015V bennett aster_2015
V bennett aster_2015
COGS Presentations
 
Base mapping of the St.Mary's District
Base mapping of the St.Mary's DistrictBase mapping of the St.Mary's District
Base mapping of the St.Mary's District
COGS Presentations
 
Rachel mckenna
Rachel mckennaRachel mckenna
Rachel mckenna
COGS Presentations
 
Exploring Halifax Attractions using the Esri Runtime SDK for Android
Exploring Halifax Attractions using the Esri Runtime SDK for AndroidExploring Halifax Attractions using the Esri Runtime SDK for Android
Exploring Halifax Attractions using the Esri Runtime SDK for Android
COGS Presentations
 
Matt cousensagrg presentation_final
Matt cousensagrg presentation_finalMatt cousensagrg presentation_final
Matt cousensagrg presentation_finalCOGS Presentations
 
Presentation: Fee & Brigley
Presentation: Fee & BrigleyPresentation: Fee & Brigley
Presentation: Fee & Brigley
COGS Presentations
 
Model for Prioritizing Catchments for Terrestrial Liming in NS
Model for Prioritizing Catchments for Terrestrial Liming in NSModel for Prioritizing Catchments for Terrestrial Liming in NS
Model for Prioritizing Catchments for Terrestrial Liming in NS
COGS Presentations
 
Centre of Geographic Sciences Remote Sensing Field Camp 2015
Centre of Geographic Sciences Remote Sensing Field Camp 2015Centre of Geographic Sciences Remote Sensing Field Camp 2015
Centre of Geographic Sciences Remote Sensing Field Camp 2015COGS Presentations
 
Adams Hunt Lawrence May 2016
Adams Hunt Lawrence May 2016Adams Hunt Lawrence May 2016
Adams Hunt Lawrence May 2016
COGS Presentations
 
Centre Of Geographic Sciences Remote Sensing Field Camp 2015
Centre Of Geographic Sciences Remote Sensing Field Camp 2015Centre Of Geographic Sciences Remote Sensing Field Camp 2015
Centre Of Geographic Sciences Remote Sensing Field Camp 2015
COGS Presentations
 
Coastal erosion
Coastal erosionCoastal erosion
Coastal erosion
COGS Presentations
 
The essentials for life at cogs
The essentials for life at cogsThe essentials for life at cogs
The essentials for life at cogs
COGS Presentations
 
Various frontslides2016
Various frontslides2016Various frontslides2016
Various frontslides2016
COGS Presentations
 
Sutherland final presentation
Sutherland final presentationSutherland final presentation
Sutherland final presentation
COGS Presentations
 
Karman vortices
Karman vorticesKarman vortices
Karman vortices
COGS Presentations
 
Trying to decipher fort beausejour
Trying to decipher fort beausejourTrying to decipher fort beausejour
Trying to decipher fort beausejour
COGS Presentations
 
The Processing of the 1920's Survey Sheets of the City of Saint John, NB for ...
The Processing of the 1920's Survey Sheets of the City of Saint John, NB for ...The Processing of the 1920's Survey Sheets of the City of Saint John, NB for ...
The Processing of the 1920's Survey Sheets of the City of Saint John, NB for ...
COGS Presentations
 
Presentation Brake & Scott
Presentation Brake & ScottPresentation Brake & Scott
Presentation Brake & Scott
COGS Presentations
 

Viewers also liked (20)

V bennett aster_2015
V bennett aster_2015V bennett aster_2015
V bennett aster_2015
 
Base mapping of the St.Mary's District
Base mapping of the St.Mary's DistrictBase mapping of the St.Mary's District
Base mapping of the St.Mary's District
 
Rachel mckenna
Rachel mckennaRachel mckenna
Rachel mckenna
 
Exploring Halifax Attractions using the Esri Runtime SDK for Android
Exploring Halifax Attractions using the Esri Runtime SDK for AndroidExploring Halifax Attractions using the Esri Runtime SDK for Android
Exploring Halifax Attractions using the Esri Runtime SDK for Android
 
Matt cousensagrg presentation_final
Matt cousensagrg presentation_finalMatt cousensagrg presentation_final
Matt cousensagrg presentation_final
 
Sable presentation bowen
Sable presentation bowenSable presentation bowen
Sable presentation bowen
 
Presentation: Fee & Brigley
Presentation: Fee & BrigleyPresentation: Fee & Brigley
Presentation: Fee & Brigley
 
Model for Prioritizing Catchments for Terrestrial Liming in NS
Model for Prioritizing Catchments for Terrestrial Liming in NSModel for Prioritizing Catchments for Terrestrial Liming in NS
Model for Prioritizing Catchments for Terrestrial Liming in NS
 
Centre of Geographic Sciences Remote Sensing Field Camp 2015
Centre of Geographic Sciences Remote Sensing Field Camp 2015Centre of Geographic Sciences Remote Sensing Field Camp 2015
Centre of Geographic Sciences Remote Sensing Field Camp 2015
 
Adams Hunt Lawrence May 2016
Adams Hunt Lawrence May 2016Adams Hunt Lawrence May 2016
Adams Hunt Lawrence May 2016
 
Centre Of Geographic Sciences Remote Sensing Field Camp 2015
Centre Of Geographic Sciences Remote Sensing Field Camp 2015Centre Of Geographic Sciences Remote Sensing Field Camp 2015
Centre Of Geographic Sciences Remote Sensing Field Camp 2015
 
Coastal erosion
Coastal erosionCoastal erosion
Coastal erosion
 
The essentials for life at cogs
The essentials for life at cogsThe essentials for life at cogs
The essentials for life at cogs
 
Murphy presentation
Murphy presentationMurphy presentation
Murphy presentation
 
Various frontslides2016
Various frontslides2016Various frontslides2016
Various frontslides2016
 
Sutherland final presentation
Sutherland final presentationSutherland final presentation
Sutherland final presentation
 
Karman vortices
Karman vorticesKarman vortices
Karman vortices
 
Trying to decipher fort beausejour
Trying to decipher fort beausejourTrying to decipher fort beausejour
Trying to decipher fort beausejour
 
The Processing of the 1920's Survey Sheets of the City of Saint John, NB for ...
The Processing of the 1920's Survey Sheets of the City of Saint John, NB for ...The Processing of the 1920's Survey Sheets of the City of Saint John, NB for ...
The Processing of the 1920's Survey Sheets of the City of Saint John, NB for ...
 
Presentation Brake & Scott
Presentation Brake & ScottPresentation Brake & Scott
Presentation Brake & Scott
 

More from COGS Presentations

Southwest mongolia multispectral program title
Southwest mongolia multispectral program titleSouthwest mongolia multispectral program title
Southwest mongolia multispectral program title
COGS Presentations
 
Remote Sensing Field Camp 2016
Remote Sensing Field Camp 2016 Remote Sensing Field Camp 2016
Remote Sensing Field Camp 2016
COGS Presentations
 
Test2016
Test2016Test2016
Using ArcMap’s Network Analyst to Model Emergency Service Response Routes Dur...
Using ArcMap’s Network Analyst to Model Emergency Service Response Routes Dur...Using ArcMap’s Network Analyst to Model Emergency Service Response Routes Dur...
Using ArcMap’s Network Analyst to Model Emergency Service Response Routes Dur...
COGS Presentations
 
Automated change detection in grass gis
Automated change detection in grass gisAutomated change detection in grass gis
Automated change detection in grass gis
COGS Presentations
 
Online Mapping Support - Age Advantage Association
Online Mapping Support - Age Advantage AssociationOnline Mapping Support - Age Advantage Association
Online Mapping Support - Age Advantage Association
COGS Presentations
 
Exploring the Usage of Municipal Parking in Wolfville's Downtown
Exploring the Usage of Municipal Parking in Wolfville's DowntownExploring the Usage of Municipal Parking in Wolfville's Downtown
Exploring the Usage of Municipal Parking in Wolfville's DowntownCOGS Presentations
 
From Report to Geographic Study
From Report to Geographic StudyFrom Report to Geographic Study
From Report to Geographic StudyCOGS Presentations
 
GIS Consulting with the BCAF
GIS Consulting with the BCAFGIS Consulting with the BCAF
GIS Consulting with the BCAF
COGS Presentations
 
Online Mapping Support - Age Advantage Association
Online Mapping Support - Age Advantage Association Online Mapping Support - Age Advantage Association
Online Mapping Support - Age Advantage Association COGS Presentations
 
Geovisualisation and Analysis of the Good Country Index
Geovisualisation and Analysis of the Good Country IndexGeovisualisation and Analysis of the Good Country Index
Geovisualisation and Analysis of the Good Country Index
COGS Presentations
 
Flood susceptibility for the kennebecasis watershed
Flood susceptibility for the kennebecasis watershedFlood susceptibility for the kennebecasis watershed
Flood susceptibility for the kennebecasis watershedCOGS Presentations
 

More from COGS Presentations (14)

Southwest mongolia multispectral program title
Southwest mongolia multispectral program titleSouthwest mongolia multispectral program title
Southwest mongolia multispectral program title
 
Remote Sensing Field Camp 2016
Remote Sensing Field Camp 2016 Remote Sensing Field Camp 2016
Remote Sensing Field Camp 2016
 
Test2016
Test2016Test2016
Test2016
 
Using ArcMap’s Network Analyst to Model Emergency Service Response Routes Dur...
Using ArcMap’s Network Analyst to Model Emergency Service Response Routes Dur...Using ArcMap’s Network Analyst to Model Emergency Service Response Routes Dur...
Using ArcMap’s Network Analyst to Model Emergency Service Response Routes Dur...
 
Automated change detection in grass gis
Automated change detection in grass gisAutomated change detection in grass gis
Automated change detection in grass gis
 
Online Mapping Support - Age Advantage Association
Online Mapping Support - Age Advantage AssociationOnline Mapping Support - Age Advantage Association
Online Mapping Support - Age Advantage Association
 
Andrew Fage presentation
Andrew Fage   presentationAndrew Fage   presentation
Andrew Fage presentation
 
Exploring the Usage of Municipal Parking in Wolfville's Downtown
Exploring the Usage of Municipal Parking in Wolfville's DowntownExploring the Usage of Municipal Parking in Wolfville's Downtown
Exploring the Usage of Municipal Parking in Wolfville's Downtown
 
From Report to Geographic Study
From Report to Geographic StudyFrom Report to Geographic Study
From Report to Geographic Study
 
GIS Consulting with the BCAF
GIS Consulting with the BCAFGIS Consulting with the BCAF
GIS Consulting with the BCAF
 
Online Mapping Support - Age Advantage Association
Online Mapping Support - Age Advantage Association Online Mapping Support - Age Advantage Association
Online Mapping Support - Age Advantage Association
 
CMacMullen_CubaPresentation
CMacMullen_CubaPresentationCMacMullen_CubaPresentation
CMacMullen_CubaPresentation
 
Geovisualisation and Analysis of the Good Country Index
Geovisualisation and Analysis of the Good Country IndexGeovisualisation and Analysis of the Good Country Index
Geovisualisation and Analysis of the Good Country Index
 
Flood susceptibility for the kennebecasis watershed
Flood susceptibility for the kennebecasis watershedFlood susceptibility for the kennebecasis watershed
Flood susceptibility for the kennebecasis watershed
 

Recently uploaded

Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 

Interactive Web Map of New Zealand Earthquakes

  • 1. An Interactive Web Map of New Zealand Earthquakes BY HARRIS OHLAND
  • 2. • Pacific plate subducts under Australian plate to the North • Australian plate subducts under Pacific plate to the South • Alpine fault zone in between (Australian side moving North, Pacific side moving South) Source: https://upload.wikimedia.org/wikipedia/commons/8/8a/NZ_faults.png
  • 3. USGS earthquake records (CSV) GNS Active Faults (shapefile) All earthquakes within a 1750km of 41°16′15″S 173°17′2″E occuring from 1986 to 2016 with magnitudes 4.0 or greater and focal depths of 300km or less.
  • 5. External scripts and stylesheets for Mapbox and jQuery Map container Menu container and subcontainers
  • 6.
  • 7. Mapbox access token Global variables and map Functions
  • 8. • Add vector tileset source from Mapbox Studio • Set ‘mag’ variable and start ‘while’ loop that will add one layer per unique magnitude value • Set circle radius based on magnitude value and zoom level • Set circle color based on magnitude • Increment ‘mag’ variable by 0.1, add to ‘floats’ array, convert to float
  • 9. • Set ‘mag’ variable, get min. and max. values from the magnitude range slider • Use if/else statement to make layers outside the specified range not visible
  • 10. • Create new filter array using the values from the ‘depth’ and ‘year’ range slider • Update the filters for each layer
  • 11. • Use if/else statement to set visibility property for faults and plate boundary when checked
  • 12. • Create new filter array using the values from the ‘depth’ and ‘year’ range slider • Update the filters for each layer
  • 13.
  • 14. Data Sources Earthquakes Institution: United States Geological Survey Database: Earthquake Archive URL: http://earthquake.usgs.gov/fdsnws/event/1/query.csv?starttime=1986-05- 15%2000:00:00&endtime=2016-05-15%2023:59:59&latitude=- 41.271&longitude=173.284&maxradiuskm=1750&minmagnitude=4&eventtype=earthquake &orderby=time Faults Institution: New Zealand Institue of Geological and Nuclear Sciences Database: Active Fault Database URL: http://data.gns.cri.nz/af/exportShp.html
  • 15. Special thanks to • Kathleen Stewart • Monica Lloyd • Dave McLean • Jim Verran • Dr. Euan Smith