Is there a good way to automatically generate focal mechanism (beach balls) for a shapefile with about 30.000 earthquakes and store them ideally in the attribute table.
It would be the best if I could use ArcGIS or QGIS.
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
It seems that there are some solution with ArcGIS as in ArcObjects VB Code for drawing 2D Earthquake Focal Mechanisms in ArcMap (but I don't use ArcGIS)
I don't know if there is a solution with QGIS, but you can use:
1) There is a special Python library ObsPy (Python framework for processing seismological data) and there are examples of what you want with Matplotlib and the Matplotlib Basemap Toolkit (20. Basemap Plot with Beachballs or Interactive Computing with IPython for GeoScientists)
2) with Google Earth as in Easily create .kml file to plot focal mechanisms in Google Earth
or R with the package (Seismic Focal Mechanisms in R
Maybe this Arcpy script tool can help. It draw 2D focal mechanism beach balls as Arcgis feature.
See http://blog.sina.com.cn/s/blog_16436b7230102wci7.html for detail.
For such a task in QGIS I would use a heatmap. Menu Raster > Heatmap.
Picture above: 2315 earthquakes from 1950 to present.
Check this tutorial: http://www.qgistutorials.com/en/docs/creating_heatmaps.html