Download
MIDOP is available for free to any institution or individual interested.
The tool is released under:
- Creative Commons Attribution-NonCommercial-ShareAlike 4.0 (BY-NC-SA) International License
- AGPL v3 License.
In order to download it, please, send us an email specifying your Institution or affiliation
and which kind of macroseismic data you would like to publish.
We shall evaluate your request and we will provide you with a password to unlock the zip package.
This procedure will help us keeping trace of its use and will increase the networking among users.
By installing MIDOP you understand that you will use it at your own risk.
Though we made every effort to make the tool useful and problem free, it is available "as is"
and we will not provide any technical support.
There is no guarantee that it will suit your needs, no guarantee that it will not cause problems
on any system on which it will be used, and no guarantee against consequential damages.

308MB
|
MIDOP package, December 2015 release - password protected zip file
-
Unzip the folder "MIDOP" into your webserver root
(e.g. "C:\myWebServerFolder\htdocs\" on Windows or "/var/www/" on Linux)
If you don't have any webserver and would like to try out MIDOP,
you may want to try out the pre-configured webserver below (only for MS Windows users)
-
turn ON your webserver (Apache and MySQL)
-
point your browser to the MIDOP folder served by your webserver (e.g.: http://localhost/MIDOP)
|
Changelog [click for more]
Release December 2015
- fixed a long lasting bug preventing the plot of symbols in equatorial areas
- fixed a bug in the integrated MySql manager preventing assigning the primary key to a field
- fixed a bug related to popup window information related to place special cases and unconventional intensities
- fixed a bug preventing the use of PHP 7
- fixed a bug preventing loading the site settings in Ubuntu 14.04 (bug in PHP "require" function? it was keeping loading the previous version of the file!)
- added more checks about the PHP configuration
- added more checks about the MySQL connection
- added custom position of the map toolbox
- added custom position and layout of the MDP legend
- added additional symbols for plotting SD (slightly damaged), HF (higly felt), and SF (slightly felt)
- reworked few more icons, now in SVG (higher quality on high resolution displays)
Release January 2015
- reworked the entire php codebase for switching from MySQL API (now deprecated) to MySQLi API
- implemented the earthquake information frame and the MDP list frame as a unique frame, this will greatly reduce the number of output files per earthquake
- implemented the earthquake catalogue header and the earthquake catalogue list as a unique frame, this will greatly reduce the number of output files per earthquake
- major cleanup of the basecode to get rid of most PHP notices
- fixed a bug related to grouping earthquakes based on time-windows
Release August 2014
- reworked the html layout to be compatible with the Apple Retina display (iPad 3+, iPhone 4+, iPod 4+)
- removed fields for coordinates representing large territories, now these can be stored in the normal cordinate fields, the place special case "TE" will be take into account
- improved the QuakeML-macro support
- improved the metadata tags
- legends are now SVG images
Release April 2014 (not public)
- better implementation of the circular or ellipsoid confidence area, representing the uncertainty associated to the estimated epicentre
- better support to the estimated MDP intensity reliability/quality
- updated XML output from QuakeML to v.1 to v.1.2
-
new information supported:
- link to an external web page, associated to an earthquake and/or to a single MDP
- number of death, associated to an earthquake and/or to a single MDP
- number of people injured, associated to an earthquake and/or to a single MDP
- number of reports considered to assess the MDP intensity
Release November 2013
- now MIDOP covers the entire world
- better DEM, B&W flat-shaded (2D), B&W or color hill-shaded (3D), also with bathymetry
- it is now possible to use an identifier for earthquakes and a different one for MDP datasets
- dropped the need of flushing all cached files every time you want to see an updated result
- better support for spreadsheet files (now XLSX)
- possible to set the size of symbols when exporting to Google Earth (kml)
- automatic generation of the maximum intensity map in the "query by place"
- seismic histories can be easily printed
- more control when placing a logo image over maps
- added a field containing useful notes about earthquakes
- added a field containing useful notes about MDPs
- added a symbol for representing tsunami/sea waves (value "W")
- added a minimal MySQL manager in the control panel, it should make MIDOP easier to use (use with care!)
- it is now possible to specify a custom MySQL port
- reworked the layout, labels and helps texts in the control panel, it should be more intuitive
- QuakeML output code generation improved
- more control over unconventional intensity values (e.g. damage, felt)
- better import of data published in a remote MIDOP website
- it is now possible to include earthquakes without MDPs
- more metadata information (rights owner, terms of use, licence, DOI)
- code optimizations to speed-up the final generation process
- it is now possible to store DEMs outside the SVG, making the output file size much smaller
- now internally MIDOP uses two decimals while projecting coordinates to UTM, making the output smaller
- reworked much of the code to better deal with UTF-8 text
- fixed bugs while calculating places seismic histories when using special characters (e.g. russian, greek)
- updated some PHP function to make it more compatible with modern PHP releases
- refreshed the online manual to reflect all changes
Important notes
Notes on the required webserver configuration for serving MIDOP generated websites [click for more]
MIDOP generates SVG images (.svg) and serve Google Earth files (.kml, .kmz).
Be sure that your webserver is able to serve correctly these file types by adding the following code to your Apache webserver configuration:
<IfModule mime_module>
...
AddType image/svg+xml .svg
AddType image/svg+xml .svgz
AddEncoding x-gzip .svgz
<FilesMatch \.svgz$>
<IfModule mod_gzip.c>
mod_gzip_on No
</IfModule>
</FilesMatch>
AddType application/vnd.google-earth.kml+xml .kml
AddType application/vnd.google-earth.kmz .kmz
...
</ifModule>
Please, have a look at the webserver configuration requirements in the manual.
Notes for Mac OS X users [click for more]
MIDOP works within a webserver running on your computer.
As Mac OS X is in fact a fully fledged Unix system, it might be tricky for beginners.
The configuration steps described below are therefore tedious, so please, be patient and follow exactly each step.
- download the SQL dump below (link "SQL dump of the MySQL database").
Extract the .sql file from the zip file and remember its folder position
- download the latest XAMPP package for OSX from https://www.apachefriends.org/download.html.
Be sure to download a distribution for OS X, version 5.6.x.
- mount the downloaded XAMPP .dmg file
- execute the XAMPP installer and wait until it is finished
- place the folder with the MIDOP package above into the folder "Applications/XAMPP/htdocs"
-
change the user permissions of three MIDOP folders, repeat the steps below for the folders
"MIDOP/data", "MIDOP/PUBLISHED_SITES", and "MIDOP/settings":
- right click on the folder and select "Get Info"
- expand "Sharing and Permissions" at the bottom if it already isn't
- click the lock icon at the bottom right to allow you to make changes
- select "Read & Write" for "everyone"
- click the small wheel at the bottom and select "Apply to enclosed items" and confirm
- close the info window
- open the XAMPP "manager-osx" tool from "Applications/XAMPP"
-
change the Apache configuration file:
- from the "Manage Servers" tab, select the "Apache Web Server"
- click "Configure"
- click "Open Con File" (click "Yes" and continue at the warning popup)
- using your text editor search the configuration file for the tag "IfModule mime_module"
-
add the following lines:
AddType image/svg+xml .svg
AddType image/svg+xml .svgz
AddEncoding x-gzip .svgz
<FilesMatch \.svgz$>
<IfModule mod_gzip.c>
mod_gzip_on No
</IfModule>
</FilesMatch>
AddType application/vnd.google-earth.kml+xml .kml
AddType application/vnd.google-earth.kmz .kmz
- from the "Manage Servers" tab, stop both the Apache Web Server and the MySQL Database Server and wait until the light icon become red
- start both the Apache Web Server and the MySQL Database Server and wait until the light icon become green
-
create a "midop" user in MySQL
- click "go to applications" in the "Welcome" tab of the XAMPP "manager-osx" or point your browser to "http://localhost/xampp"
- click "phpMyAdmin" under "Tools" on the left in the XAMPP welcome web page
- click "Users" in the menu bar at the top of "phpMyAdmin" (which is an open source MySQL front-end)
- click "Add user" below the list of already exiting users
-
enter:
- enter "midop" as the user name
- enter "localhost" as the host
- enter "midop" as the user password (or another password of your choice, and remember it!)
- confirm the entered password under "re-type"
- click "Check All" under "Global privileges" (or choose what to enable, but only if you know what you are doing)
- click "Go" to create the user. Once clicked a message "You have created a new user" should appear.
-
create a "midop" database
- click "Databases" at the top menu of phpMyAdmin
- enter "midop" as a database name
- select "utf8_general_ci" from the "Collation" drop-down list (be sure to select the correct one from the long list, the "utf8_general_ci" is in the last part of the list)
- click "Create". A confirmation message should appear saying "Database midop has been created" and "midop" should appear in the list of databases on the left of the page. If the midop database is not listed try refreshing the list clicking the green icon at the top to force the list to refresh its content
-
import the SQL data with the ready-made example dataset
- click "Import" at the top menu of the phpMyAdmin page (be sure that the midop database is selected)
- click "Browse your computer" to load the file with the file extension ".sql" that you have downloaded at the beginning
- be sure that the selected character set specified for the file is "utf-8" and that the format is "SQL"
- click "Go" to start uploading the example dataset. A green message saying "Import has been successfully finished" should appear
- you may now explore MIDOP from the webpage "http://localhost/MIDOP"
Notes for Linux users [click for more]
Before using the MIDOP package on the webserver on your PC, please make sure that the following folders (and their content)
are readable and writeable by the Apache user (e.g. in Ubuntu such user is called "www-data"):
- MIDOP/data/
- MIDOP/settings/
- MIDOP/PUBLISHED_SITES/
Additional resources
Example dataset, based on the work by Olivera et al., 2006
Pre-configured web server for Windows (zip, 129Mb), with Apache + PHP + MySql
1) Unzip the folder "xampp" to "C:\xampp\"
2) Place the MIDOP folder (extracted from the MIDOP package above) into "C:\xampp\htdocs"
3) Execute "C:\xampp\setup_xampp.bat"
4) Execute "xampp-control.exe"
5) Start the Apache server and the MySQL server
6) Open your browser and go to
http://localhost/MIDOP
Beware that to correctly startup the Apache server on Windows,
softwares such as Skype should be turned OFF as they use
port 443, which is required by Apache.
In order to use Skype and Apache at the same time proceed as follows:
- Turn OFF Skype
- Turn ON Apache and MySQL
- Wait until the Apache server is up and running (check http://localhost)
- turn ON Skype
The predefined MySQL user is 'midop', the password is 'midop'.
Acknowledgment:
the pre-configured web server is a custom webserver mostly based on the
XAMPP portable 5.6.3
with Apache 2.4.10, MySQL 5.6.21, PHP 5.6.3, phpMyAdmin 4.3.8, XAMPP Control Panel 3.2.1