Recent Earthquakes: map generated by GRASS on the fly with PHP

Software: Apache, PHP5, GRASS 6 (see here for PHP4 example; here for GRASS location with world map)

What happens here?
The server is fetching the current list of earthquakes from http://neic.usgs.gov/neis/gis/bulletin.asc and generates a vector map with attributes from that. The result is overlayed to the Blue Marble Next Generation map from May.




Earthquake classification (circles in map are sized by these classes)
Magnitude Classification Class for map
0 - 3 Micro 1
3 - 3.9 Minor 2
4 - 4.9 Light 3
5 - 5.9 Moderate 4
6 - 6.9 Strong 5
7 - 7.9 Major 6
8 and higher Great 7

Here a map should appear:

Oldest event from: 10/11/30 10:45:09 UTC ; Latest event from: 10/12/07 09:38:31 UTC
82 earthquakes on this map
Latest events drawn last.

Auto-generated earthquake map (GRASS GIS/PHP based)
Click for high-res map

For earthquake details, visit Latest Earthquakes in the World - Last 7 days from USGS.


2006 Markus Neteler (based on comments from Sharyn Namnath and Glynn Clements)
Download PHP page source code
Download the script implemented as SHELL script code