Wednesday, September 20, 2017

Mexico Earthquake Maps


Yesterday a 7.1 magnitude earthquake struck central Mexico. At the time of writing there have been 216 confirmed deaths from the quake.

The U.S. Geological Survey's interactive map locates the epicenter of the quake near the town of Raboso in Puebla, 76 miles southeast of Mexico City. The USGS's Latest Earthquakes Map includes options to view earthquake activity over the last 24 hours, the last week or the last month. The map also shows plate boundaries. Mapbox's Live Earthquake Tracker is also a nicely designed map of the same USGS data, allowing you to view the location and the size of the most recent seismic activity around the world on a global map.


The New York Times has created a seismic activity map which shows that although Mexico City is 76 miles from the epicenter of yesterday's quake it still experienced intense seismic activity. Mexico City is built on an ancient lake bed. The soft soil under Mexico City is known to be prone to seismic activity. When earthquake waves pass through the soil it vibrates and magnifies the waves.

The result of seismic activity can therefore be catastrophic for Mexico City's buildings. The NYT article includes a map of buildings that have collapsed in the city and lots of photos of the devastation caused. Yesterday's quake occurred on the anniversary of the horrific 1985 earthquake which damaged around 3,000 buildings in the city. It appears yesterday's earthquake has not caused that scale of damage to the city's buildings. After the 1985 quake Mexico City introduced more stringent building codes. Those codes probably saved a lot of lives yesterday.

Tuesday, September 19, 2017

Non-Clustering Custom Place Labels


Planet of Sound was created by Dorothy to crowd-source the music playlist for an event they held in May of this year. That event is now over but the map still works and is well worth visiting. Not least for its magical non-clustering custom map labels.

The Planet of Sound map allows you to tag any location in the world with a song and a memory. If you don't want to add a song you can just browse the map to explore what songs other people associate with different places across the globe.

The map doesn't include any real place-name labels. In fact the only labels on this map are the song titles people have added to the map. What is particularly impressive is how the map avoids clustering and overlapping these custom labels. This is not a simple thing to achieve.

If you want to add your own non-clustering & non-overlapping labels to a map then you can should have a look at James Milner's Labelgun for reducing label clutter. The GitHub for Labelgun includes examples of the library being used with Leaflet, Esri and OpenLayers. If you check out these examples you can see how Labelgun works to avoid custom labels clustering and overlapping as you zoom in and out on the map.

Vintage Maps of Japan


The Japanese Historical Maps Collection of the East Asian Library has worked with the David Rumsey Map collection to digitize around 2,300 early Japanese maps. The Japanese Historical Maps collection allows you to explore all of these digitized historical maps from Japan as zoomable images.

If you want you can explore some of these vintage maps in more detail on Google Maps. The Japan Historical GIS page has eight maps from the collection, dating back to 1694, which you view on top of Google Maps.

The University of British Columbia has a huge collection of maps and guidebooks from the Japanese Tokugawa period (1600-1867). Their Japanese Maps of the Tokugawa Era includes digitized versions of the maps which can be explored online.

The National Archives of Japan also own a large number of rare vintage maps of Japan. In particular they have digitized the Genroku Kuni Ezu (national land maps). Around the turn of the Eighteenth Century the Tokugawa Shogunate ordered maps to be made of the whole of the Japan. You can explore these maps on the National Archives Classic Maps website.


Gunma GIS Geek has used the Leaflet mapping platform to create interactive maps from a couple of famous Japanese pilgrimage mandalas. Pilgrimage mandalas are paintings which provide a panoramic view of temple and shrine sites.

The first map on Temple Pilgrimage Mandala is of the Nachi Pilgrimage Mandala. This 16th–17th century hanging scroll depicts the Nachi Shrine on the Kii Peninsula in Japan. The painting presents the journey of two pilgrims (the couple clothed in white) as they enter the scene (bottom right) and take a circuitous route through the temple complex to the Nachi shrine.


You can learn more about some of the over 50 buildings depicted in the painting at the Embodying Compassion website. Embodying Compassion includes an interactive version of the Nachi Pilgrimage Mandala. This interactive version of the mandala features a number of markers which allow you to learn more about the buildings, temples and statues depicted in the mandala.


If you want to explore vintage maps of Tokyo then a good place to start is with the Past and Present Map, which uses some beautiful vintage maps to illustrate how Tokyo has developed since the Nineteenth Century.

The application lets you explore ten historical maps ranging in date from 1896 to 2005. The dual map control places the historical map side-by-side with a Google Map. Pan and zoom the historical map and the Google Map will also move to ensure that both maps are always showing the same view.

Monday, September 18, 2017

School Safety Snapshot


Zendrive has rated the road safety around 75,000 schools nationwide. Using mobile phone data from car drivers Zendrive has measured the levels of dangerous driving around schools across the United States. You can find out the Zendrive ratings for dangerous driving around your local schools on the Zendrive School Safety Snapshot interactive map.

The map uses three different administrative levels to show ratings for states, counties and individual schools. When zoomed out on the map you can view the ratings for each state (California and Florida have the worst ratings). If you click on a state on the map you can drill down to view the ratings in each county. If you the click on a county you can view the ratings for all the individual schools.

The interactive map is well designed and it is very easy to navigate down to view the ratings for individual schools. I'm not entirely convinced about Zendrive's data and methodology. They claim that their model "predicts future collisions six times more accurately than leaders of the industry". If you are worried about dangerous driving around your local school then it might be worth checking the traffic accident records of the local roads for yourself.


For example you could look at Mapping Ten Years of Fatal Traffic Accidents, an interactive map showing every single fatal traffic accident in the United States from 2004 to 2013.

When zoomed out this map shows a heatmap of fatal traffic accidents across the whole country. When you zoom in on the map markers appear showing the location of each individual fatal accident. This means that you can zoom in on any city or town in the USA to view a detailed map of where accidents occurred locally.

When you zoom in on the map option controls also appear which allow you to filter the accidents shown by contributing factors (alcohol, speeding and driver distraction). The markers are also colored on the map to show who was killed in each accident (driver, passenger, pedestrian etc).

Mapping Marine Protected Areas


Marine Protected Areas (MPA) are areas of oceans where human activity is restricted for conservation purposes. 6.35% of the world's seas are now covered by MPAs. That is a ten-fold increase in the area of our oceans designated as MPAs in the first seventeen years of this century.

You can view which areas of the world's oceans have MPA status on Protected Planet's Marine Protected Areas interactive map. The map shows the location of MPAs around the globe and provides information about the status of each MPA. If you select an MPA on the map you can click-through to read more about its designation and the name of its management authority.

The Protected Planet also maintains a database of all the world's terrestrial and marine protected areas. The World Database on Protected Areas includes an interactive map showing both marine & terrestrial protected areas around the globe.

Sunday, September 17, 2017

Free Style OSM


If you like the Emoji Map Generator then you will probably love Map Stylizer. Where the Emoji Map Generator allows you to create maps from your favorite emojis the Map Stylizer gives you more scope to create a custom styled map from an OpenStreetMap tile.

The Map Stylizer includes a number of pre-set map styles. For example the screenshot above shows the White House styled using the Map Stylizer's treasure map style. The other pre-set styles include  'circuit board', 'paper' and 'scribbles'. However you don't have to use these pre-set styles. If you choose the custom option you can select to choose which map features you want to change and how you want to change them.

Both the Emoji Map Generator and the Map Stylizer create pretty awful maps but they are fun to play with. They are both also interesting examples of how individual OSM map tiles can be manipulated on the fly.

Friday, September 15, 2017

Cleaner Air = Longer Lives


You can use this interactive map to find out how many extra years you could expect to live if your country met the World Health Organization's recommended safe levels of air quality. The Energy Policy Institute at the University of Chicago's Air Quality-Life Index map shows how many life years could be saved in countries around the world if they met WHO standards for safe levels of airborne particulate matter pollution.

The darker the color on the map then the more years could be saved. In other words the darkest areas have the worst records of air pollution. You can actually view particulate pollution concentrations on the map by switching to the 'Pollution' layer.


Air pollution causes 1 in 8 deaths worldwide. The World Health Organization's own interactive map, Global Ambient Air Pollution, also shows the levels of pollution across the globe. The map displays the average annual atmospheric particulate matter levels throughout most of the world. The data used is from the WHO Global Urban Ambient Air Pollution Database, which covers 3000 cities in 103 different countries.

The Global Ambient Air Pollution map helps highlight the fact that air pollution most effects those living in low and middle income countries. However 56% of cities in high-income countries also don't meet the WHO air quality guidelines. Even in high-income countries urban air pollution levels tend to be higher in low and middle-income cities and in the poorest neighborhoods of high-income cities.

Rocking All Over the World


Taylor Swift really likes playing in Nashville. If you check out her gigging history on the Music Globe you can see that the number of concerts she has played in Nashville dwarfs all other locations. Mind you she did move to Nashville at the age of fourteen, so perhaps her gigging history isn't that surprising.

You can find out where other musical artists like to gig on this new 3d Music Globe. Just type in an artist's name and you can see a visualization of how often they have gigged at locations around the world. The height of the colored towers on the map represents the number of concerts played at that location.

The data for the number of gigs an artist has played comes from the Bandsintown API. Unfortunately Bandsintown was founded in 2007, so I assume the data for historical concerts only goes back that far. The globe itself was created using Google's WebGL Globe library. The source code for the interactive Music Globe is available on Github.

Thursday, September 14, 2017

Before & After Irma


The Washington Post has used satellite imagery from before & after Hurricane Irma to show the scale of the destruction caused by the tropical storm in the Carribean and in Florida. Before and After Hurricane Irma uses high resolution satellite imagery from DigitalGlobe to provide an aerial view of just a few of the areas devastated by the storm.

NOAA has also released an interactive map which includes aerial imagery of Florida taken since the storm. Hurricane IRMA Imagery uses aerial imagery captured on Monday and Tuesday. The map includes post-Irma aerial imagery for much of the Florida Keys. The map also has imagery along the west coast of Florida, from Naples up to Punta Gorda.

Street Views of 1980s New York


Broadway in the mid 1980s had a lot to offer.  Karate Kid Part II was on at the cinema, Cats was being performed nightly at the theater and on Times Square you could buy just about any drug that you wanted. If that sounds appealing to you then get ready to jump into this new Street View time machine.

80s.NYC is a fantastic collection of vintage photographs of New York City street scenes, all taken in the 1980s. The photos were taken by the Finance Department of New York City in the middle of the 80s. In order to accurately assess building taxes the department photographed every single building in the five boroughs. The pictures could then be used to estimate property values.

Thanks to Brandon Liu and Jeremy Lechtzin you can now travel the city streets of 1980's New York City. Their 80s.NYC map allows you to browse the City's photographic collection by location. Just click anywhere on the map of the city and you can instantly view the vintage Street Views of that location. The map also includes a number of curated 'Stories'. These stories provide historical background to some of the more interesting photos and historical buildings in the collection.


If the sleaze of 1980s New York doesn't appeal then why not go back further in time to the beginning of the 20th Century. The New York Public Library has a complete collection of vintage photographs depicting Fifth Avenue, New York, from start to finish.

The photos provide a great resource for exploring New York at the turn of the last century. Especially if you use the library's own great Street View application. Street View, Then & Now: New York City's Fifth Avenue allows you to take a virtual stroll down Fifth Avenue in Street View while comparing today's New York to those vintage photos of the same locations taken at the beginning of the 20th Century.


If you enjoy exploring old vintage photographs of New York then you might want to help NYPL geo-tag its collection of vintage photographs of the city. The NYPL's Surveyor map is a citizen science project designed to hep the library index its collections of historical photographs by location.

Visit the Surveyor website and you will be shown a vintage photograph from the NYPL collection. All you have to do is show the location depicted in the photo by clicking on the interactive map. Luckily many of the photographs have an address in the photo's title or associated data. This makes the task relatively easy, even if you don't know New York very well.

Many of the photos in the NYPL's Digital Collections are in the public domain. This means that you will be able to use many of the photos that you geo-tag in your own interactive maps. Just like OldNYC has done with its interactive map of 40,000 vintage photos of New York from the NYPL’s photo collections.