USGS 3D EARTHQUAKE MAP CODE
See the code for this on Github (lines 18–28). Create the map: contains the vintage basemap from John Nelson loaded as a TileLayer.So the final app has the following sections: Summary - putting things together in JavaScript With ArcGIS API for JavaScript we can use a HistogramRangeSlider as a filtering tool and use the filter property on the GeoJSONLayerView to hide features that don’t satisfy the filter criteria. So if the user is interested in earthquakes between a certain magnitude range, then we filter out all the earthquakes with magnitude values outside of that range. When the user needs to focus on a certain data range, a useful technique is to only display those features in the data range. For that we’ve set a popupTemplate on the layer. The user can interact with the earthquakes by clicking on a symbol to get more information about the earthquake. When the camera reaches that height, the user can’t zoom in anymore. The user can freely navigate in the scene, but zooming in to city level doesn’t really make sense for this app, so we’re going to set a constraint to limit the min altitude to 400,000m. User interactionĪ SceneView comes with default 3D navigation like pan, zoom and tilt. And that’s all there is to it, no server or data processing needed in this case. It comes in different formats, but for our app, we’re going to get the GeoJSON live feed for the last 30 days and set it in the url of the GeoJSONLayer. We’ll use this map as a basemap in our application.Īs mentioned in the beginning, the data comes from USGS earthquake live feed. You can read more about the creation process in this blog post. This effect is given by the wonderful vintage physical map that John Nelson created. The look and feel of the app should remind us of a school atlas, with the advantage that everything is interactive. In addition, we want to allow the user to get extra information about each earthquake by clicking on it. To help the user get a better overview of earthquake magnitude distribution and where the earthquakes occur, we’ll also add a histogram and a filter slider. For the sake of consistency, we will also show the minor earthquakes that generally don’t cause any damage.
We want to show the latest earthquakes classified in such a way that the user can immediately see which ones were extremely dangerous (major earthquakes that cause severe damage) and which ones were moderate (can cause damage but only to buildings which are not earthquake proof). I was intrigued by all the data and maps that USGS has to offer.See the live app: Step 1. These earthquakes register a magnitude of less than 2 and were not likely felt. 20 of the recorded earthquakes were classified as strong or major, which means they registered a magnitude of at least 6, and more than 75% of the earthquakes were classified as minor.
USGS 3D EARTHQUAKE MAP DOWNLOAD
In addition to tabular data, you can download Google Earth KML files and XML files containing earthquake data.Īt the time I downloaded the file, 10,305 earthquakes had occurred in the past 30 days. This up-to-date information is updated every 15 minutes, and includes information including the earthquake location, magnitude and depth. From the real-time Feeds & Notifications USGS webpage, I navigated to the Spreadsheet Format page and then downloaded data for all earthquakes that have occurred in the past 30 days. This image is a symbol map created in MapViewer 8, and the symbols are sized and colored according to the earthquake's magnitude. I used tabular data from USGS to create the image on today's post. The website also provides a place to report earthquakes on the Did You Feel It? page. The USGS website provides real-time data feeds, regional information, and various maps pertaining to earthquakes around the world. If you're as fascinated as I am by this seismic activity, you may be interested in learning more. Contrary to what I thought and according to several reports around the web, we aren't experiencing an increase in earthquake occurrences, but we are experiencing an increase in earthquake reportings. Areas from Nepal to Japan to Papua New Guinea to the United States have been struck by earthquakes, big and small. There have been many reports of earthquakes in recent news.