QVSData FEGL Earthquake Locations Tool

Home View Menu Web Menus Data Menu Tools Menu Data Centre Services Alerts Tool

This is a Pro version topic for QVS Data.

The program is however available to anyone for free as a standalone version. 🙂 (Download)

For the most part the description here is for the stand alone tool as I believe it is easier to understand using this a illustrations. Operationally they are no different.

The only interface within the QVS Map Maker is the last tab and it looks like this:

Map Maker Tab - Places

FEGL? What is FEGL?

FE stands for Flinn-Engdahl and GL stands for Gabbitas-Loring. Both are systems for describing seismic regions and the geographical locations of earthquakes.

In fact the GL system does not replace the FE system as it is a further refinement of some areas (currently New Zealand – FE11)

You can see a fuller description of the New Zealand regions, and a map, here

The tool will return either a single location based on latitude and longitude provided or can populate a file. It can display either FE or GL areas.

The single location

This area is at the top of the screen

QVSData FEGL Earthquake Locations Tool main screen image

Type a latitude into the latitude box and then either a comma and a longitude, or enter the longitude into the longitude box. Set the GL locations checkbox to ON (ticked) or OFF (unticked) and then click on the ‘Retrieve’ button.

The information will be displayed in the Response box (FE version).

FEGL Single FE Response image

or if you used the Gabbitas-Loring version…

FEGL Single GL Response

File based version

The file based version permits you to add FE/GL locations to a CSV or TAB delimited file – mainly used for creating Google Maps files where no locations exist. This is in the bottom area of the screen.

The left hand side of the screen is mainly input and the right hand side deals with file output.

Input side

You must set the input type for the file before finding the file on disk. Generally CSV files will end in .csv and TAB files will end in .txt, but a csv file can also be a .txt file.

The important thing is to tell the program what to expect rather than be concerned with the file naming, but you should NOT attempt to run anything other than a text file into the program. In other words no Excel files or KML files (at least not yet!).

When you ‘Get the File’ the first line will be read. It does not matter if this does not have a header as long as you can identify the required fields. The first line will be split according to the input type and the field names (or data) will be added into the dropdown boxes which will then be enabled.

Now select the location field, the latitude field and the longitude field.

Each of the latitude and longitude boxes will have the same name in them so just a matter of selecting the right field. If there were no header names then theoretically the display should be in order across the file so that should help you identify the correct field.

The name is not important, it is the ordinal number of the field that the program needs.

The checkbox for ‘Has header’ IS important. If the file has a header line this MUST be checked otherwise the program will try and process the first line as if it is data.

When you have set the fields you are ready to consider the output options.

These are really quite straight forward.

Tick the ‘Use GL areas and locations’ checkbox if you want Gabbitas-Loring sub-areas. Important note here – the program only inserts sub-areas (identical to areas in FE). I may consider add the number of the Seismic region if it is off interest.

‘Keep the original file’ Seriously recommended that you leave this turned ON (checked). When on the amended file is saved to disk with "_locations" appended.

‘Keep any existing locations’ and ‘Overwrite all locations’

If set to keep then any data found in the location field will be retained, otherwise all data will be replaced.

Output Options

DOS format CSV: The file will be created as a CSV file with NO quotes. Any commas in existing locations that have been retained with be changed to full stops. FE/GL locations do not have commas in the text anyway so are not an issue.

Excel format CSV: The file will be created as a CSV file and any field with commas in it will be ‘wrapped’ in quotes "

TAB delimited format: The delimiter character will be a TAB and commas in the location fields that are retained are not an issue. The fields that contain them are NOT wrapped in quotes. This format is suitable for posting direct into MS Excel or MS SQL Server or similar.

‘Show temp file on completion’ opens the temporary output file in your default text editor. This file is always a .txt file

All the output formats are completely independent of the input formats.

Click ‘Get Locations’ to start the run. The output will be created and the time and number of lines displayed.

I have run 1300+ lines into the program and it completed in less than 2 seconds. In this instance it was under 1 second

If you have downloaded the program from here:

Download the setup file from my dropbox (2.2 Mb)

and would like to be kept up to date with any developments leave a comment with something germaine like "Stick me on the list" and I will let you know of any changes.

The download is hosted at a location only available to me and is virus and malware free at the time of uploading to that location.

I take no responsibility for the loss of any data through the use of the program. The program is supplied as is and is not warranted fit for any purpose. In other words if it is broke that’s is tough. Let me know and I will fix it (the program) but I will not compensate you for any loss, shower you with gifts or flowers, replace your data or the work/time you spent gathering the data.

Comments policy

Please feel free to leave a reply. (All comments are moderated)

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s