
š SeismoScope: Global Seismic Hazards & Spatial Risk Intelligence
Live Geospatial Earthquake Explorer Built on AWS Serverless and Open Data What if you could explore earthquake activity around the world, filter seismic events in real time, and understand regional activity through an interactive map?

That was the idea behind SeismoScope, my project for the AWS Builder Center Weekend Challenge: Map It.
Instead of building another map with static location markers, I wanted to create an interactive geospatial application that helps users explore earthquake activity through heatmaps, clusters, magnitude filters, and a contextual regional activity indicator.
I built SeismoScope using AWS serverless services and publicly available earthquake data from the United States Geological Survey (USGS).
The result is a global earthquake explorer that combines open scientific data, geospatial visualization, serverless APIs, and interactive spatial analysis.





š Explore SeismoScope
Live API Gateway Endpoint: Ā https://ffz5g978r3.execute-api.us-east-1.amazonaws.com/prod/earthquakesĀ
AWS Builder Center Challenge: Weekend Challenge ā Map It
Tags: #maps #opendata #serverless #aws




1. The Problem: Earthquake Data Needs Context
Earthquake information is publicly available, but understanding its geographic distribution can be challenging.
A list of earthquake events may tell us the magnitude, depth, time, and location of an event. However, it does not always make it easy to understand the spatial patterns behind those events.
For example:
- Where are earthquakes concentrated globally?
- Which regions have experienced stronger seismic activity?
- How does earthquake depth vary across different geographic areas?
- What happens when we filter events by magnitude?
- How does seismic activity differ between Japan, the Pacific Ring of Fire, and Central Europe?
I wanted to make these questions easier to explore through an interactive map.
That became the motivation for SeismoScope.
2. What Is SeismoScope?
SeismoScope is an interactive global earthquake exploration platform designed to visualize seismic activity and geographic patterns.
It goes beyond plotting individual earthquake locations.
The application combines:
- Global earthquake visualization.
- Dynamic heatmaps.
- Geographic clustering.
- Individual earthquake markers.
- Magnitude and depth exploration.
- Interactive regional filtering.
- A contextual seismic activity indicator.
- City search and map navigation.
The application dynamically responds as users change filters, search for locations, or explore different areas of the world.
Who Can Benefit From It?
Civil Engineers and Urban Planners
Explore historical and recent earthquake activity around regions of interest and investigate event magnitude and depth distributions.
Homebuyers and Real Estate Researchers
Use the map as an initial exploration tool to understand observed earthquake activity around a city or neighborhood.
It should not replace official seismic hazard maps, geotechnical assessments, or professional building inspections.
Students and Geoscience Researchers
Explore geographic earthquake patterns, including activity around the Pacific Ring of Fire, mid-ocean ridges, and continental boundaries.
Developers and Data Engineers
Explore how open geospatial datasets can be processed, exposed through serverless APIs, and visualized in an interactive web application.











3. The Data Behind SeismoScope
A geospatial application is only as useful as the data powering it.
For SeismoScope, I used the USGS Earthquake Hazards Program as the primary earthquake data source.
USGS provides publicly accessible earthquake information through GeoJSON feeds and web services.
Official data source:
Why GeoJSON?
GeoJSON is particularly useful for applications that need to work with geographic information.
The USGS earthquake GeoJSON structure provides information such as:
Attribute | Description |
|---|---|
Ā magĀ | Reported earthquake magnitude |
Ā placeĀ | Descriptive geographic location |
Ā timeĀ | Event time in Unix epoch milliseconds |
Ā geometryĀ | Geographic coordinates |
Ā depthĀ | Earthquake depth in kilometers |
Ā urlĀ | Link to the official USGS event information |
One particularly useful feature is the geographic coordinate structure:
{ "type": "Point", "coordinates": [ 139.6917, 35.6895, 10.0 ]}The coordinate order is:
- Longitude
- Latitude
- Depth in kilometers
This makes the data suitable for geographic visualization and spatial filtering.
Dataset Used in SeismoScope
For this project, I processed a dataset containing more than 2,000 global earthquake events, primarily covering magnitude 2.5 and above.
The processed GeoJSON dataset is stored in Amazon S3.
The application uses the event attributes and geographic coordinates to support filtering, visualization, and regional analysis.
An important distinction: USGS feeds are updated regularly, but the application displays the data available through its configured ingestion and processing pipeline. The freshness of the displayed events depends on that pipeline.
4. AWS Architecture: Building a Serverless Geospatial Application
One of my main objectives was to build SeismoScope using managed AWS services rather than maintaining traditional servers.
The architecture uses Amazon S3, AWS Lambda, Amazon API Gateway, and Amazon Location Service.
Architecture Overview
1. Amazon S3 ā Static Hosting and Geospatial Data Storage
Amazon S3 serves two important purposes in this project.
Frontend hosting
The web application is deployed as a static website in an S3 bucket.
The application files are served through the S3 website endpoint.
Geospatial data storage
S3 also stores the processed earthquake GeoJSON dataset:
/data/quakes_30d.geojsonThis provides a simple way to store and distribute the processed spatial dataset to the application.
Official documentation: Ā https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.htmlĀ
2. AWS Lambda ā Serverless Backend
The backend is implemented using an AWS Lambda function named:
SeismoScopeBackendLambdaIt uses Python 3.11 to process earthquake API requests.
The backend supports dynamic filtering, including:
- Geographic bounding boxes.
- Minimum earthquake magnitude.
- Result limits.
- Spatial query parameters.
This allows the application to request relevant earthquake information without requiring a continuously running backend server.
3. Amazon API Gateway ā REST API
Amazon API Gateway exposes the backend functionality through a REST API.
The live endpoint is:
https://ffz5g978r3.execute-api.us-east-1.amazonaws.com/prod/earthquakesIts responsibilities include:
- Receiving frontend API requests.
- Integrating with AWS Lambda.
- Handling configured CORS behavior.
- Providing a managed API endpoint.
- Returning earthquake data to the application.
4. Amazon Location Service ā Maps and Geocoding
Amazon Location Service provides the mapping capabilities used by SeismoScope.
The project uses:
Map: seismoscope-mapPlace: seismoscope-placesThe map configuration provides the geographic basemap, while the place index supports location search and geocoding.
This allows users to search for cities and navigate directly to geographic areas they want to explore.
Why Serverless?
I chose a serverless architecture because it allows the project to use managed infrastructure and avoid maintaining always-running application servers.
The architecture can scale according to request patterns, while costs depend on storage, requests, data transfer, and compute usage.
Serverless does not mean zero cost, but it can reduce the operational overhead of a small geospatial application.
5. The Key Feature: Dynamic Bounding-Box Seismic Activity Analysis
This is one of the features I wanted to make particularly useful.
Most basic earthquake maps simply display earthquake locations.
SeismoScope goes a step further by analyzing the events within the currently visible geographic area.
How It Works
When a user pans or zooms the map:
Step 1: Identify the visible geographic area
The application obtains the map viewport's geographic bounding box.
This represents the visible longitude and latitude boundaries.
Step 2: Identify relevant earthquake events
The application evaluates earthquake events that fall within the selected geographic area.
Step 3: Calculate regional indicators
The application uses the visible events to derive indicators such as:
- Number of recorded events.
- Highest observed magnitude.
- Average or distribution of event depths.
- Geographic concentration of earthquake locations.
Step 4: Update the regional activity card
The interface updates its regional activity summary based on the selected geographic area.
Regional Activity Categories
The project uses four categories to make the activity summary easier to understand:
Indicator | Meaning |
|---|---|
š“ Critical | High observed activity or significant recorded events |
š Elevated | Increased observed seismic activity |
š” Moderate | Moderate recorded activity |
š¢ Low | Limited recorded activity in the selected dataset |
The categories are generated from the application's configured thresholds and observed event data.
Important scientific distinction: These categories represent a visualization-oriented activity indicator. They are not official USGS hazard classifications, earthquake forecasts, probabilities of future earthquakes, or assessments of building safety.
The goal is to help users explore and compare recorded seismic activity, not predict earthquakes.
6. Interactive Features: What Can Users Explore?
I wanted the application to feel like an exploration tool rather than a static dashboard.
Here are some of its main capabilities.
A. Multiple Visualization Layers
Users can switch between three visualization modes.
Heatmap
Displays geographic concentrations of earthquake events, helping users identify areas with greater recorded activity.
Clusters
Groups nearby earthquake markers to make dense geographic areas easier to explore.
As users zoom in, clusters can break into smaller groups or individual markers.
Points
Displays individual earthquake locations.
Users can select a marker to explore the corresponding event.
B. Dynamic Magnitude Filtering
The magnitude slider allows users to adjust the minimum earthquake magnitude.
For example, users can explore:
- M2.5 and above.
- M4.0 and above.
- M5.0 and above.
- M6.0 and above.
- M7.0 and above.
This makes it easier to compare the distribution of smaller and larger recorded events.
C. Interactive Earthquake Popups
Clicking an earthquake marker displays information about the selected event, including:
- Magnitude.
- Geographic location.
- Focal depth.
- Event time in UTC.
- Geographic coordinates.
- Link to the official USGS event report.
Users can move from the visualization directly to the source event information.
D. City Search and Geocoding
The application includes a location search feature.
Users can search for cities such as:
- Tokyo
- San Francisco
- Istanbul
- Islamabad
The map navigates to the selected geographic location, allowing users to explore nearby earthquake activity.
7. Proof It Works: Live Application and API
A project is more meaningful when people can actually try it.
SeismoScope includes a publicly accessible web application, a deployed API endpoint, an open-source repository, and a recorded demonstration.
Live Application
API Test
The following endpoint demonstrates a request with a minimum magnitude filter and a result limit:
GET https://ffz5g978r3.execute-api.us-east-1.amazonaws.com/prod/earthquakes?minmagnitude=4.5&limit=3The project testing returned:
HTTP 200 OKThis confirms that the tested API request received a successful HTTP response at the time of testing.
Open-Source GitHub Repository
The repository provides a place to explore the project's implementation and technical structure.
8. Watch the Project Demo
I also recorded a walkthrough demonstrating the application and its interactive features.
In the video, you can explore:
- The global earthquake map.
- Heatmap and clustering modes.
- Magnitude filtering.
- Interactive earthquake markers.
- Regional activity summaries.
- City search and map navigation.
ā¶ļø Watch the SeismoScope demo on YouTube:
I encourage you to open the live application and explore different geographic regions while watching the demonstration.
9. What I Learned Building SeismoScope
Building SeismoScope was a valuable opportunity to combine several areas of cloud engineering and application development.
Some of my key takeaways:
1. Open data can power meaningful applications
Public scientific datasets can become interactive applications when combined with data processing and visualization.
2. Geospatial data needs thoughtful handling
Coordinate order, geographic boundaries, depth values, and spatial filtering all matter when building map-based applications.
3. Serverless architecture simplifies infrastructure management
Amazon S3, AWS Lambda, and API Gateway provided the building blocks for a lightweight cloud-native application.
4. User experience matters in data applications
A map with thousands of markers can become difficult to understand. Heatmaps, clustering, filters, and contextual summaries make the information easier to explore.
5. Visualization must not overstate scientific conclusions
Observed earthquake activity is useful for exploration, but it should not be confused with official seismic hazard analysis or earthquake prediction.
10. Future Improvements
SeismoScope is a foundation that can be extended with additional geospatial and analytical capabilities.
Some improvements I would like to explore include:
- Historical earthquake comparisons across configurable time periods.
- Additional tectonic plate and fault-line datasets from authoritative scientific sources.
- Population-density overlays for geographic context.
- More advanced spatial analysis and regional comparison.
- Improved caching and optimized GeoJSON delivery.
- CloudFront integration for secure HTTPS delivery and content distribution.
- Automated data ingestion and refresh monitoring.
- More detailed regional analytics and downloadable reports.
These improvements could make SeismoScope more useful for educational exploration, research, and geospatial application development.






Conclusion
SeismoScope ā Global Seismic Hazards & Spatial Risk Intelligence started with a simple idea: make global earthquake information easier to explore through interactive maps.
By combining USGS open data with Amazon S3, AWS Lambda, Amazon API Gateway, and Amazon Location Service, I built a serverless geospatial application that brings earthquake information into an interactive experience.
For me, the most interesting part was not simply displaying earthquake markers. It was building the experience around them: dynamic filters, heatmaps, geographic clusters, city search, and contextual regional activity indicators.
This project demonstrates how AWS serverless services and open scientific datasets can be combined to create practical geospatial applications.
I built SeismoScope as my entry for the AWS Builder Center Weekend Challenge: Map It, and I'm excited to share it with the AWS community.
Try It. Explore It. Share Your Feedback.
Let's Connect
I'd love to hear your feedback.
What other geospatial datasets or AWS services would you integrate into SeismoScope to make it more powerful?
If you explore the application, share your thoughts in the comments!
#AWS #AWSBuilderCenter #Serverless #OpenData #Maps #Geospatial #AmazonS3 #AWSLambda #APIGateway #AmazonLocationService #USGS #CloudComputing
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article