|
Updating Seismic Maps
Written by Andres Diaz and Christine
Regalla (March 24, 2002)
Revised by Meg Janzer (November
25, 2003)
World Map
Before beginning, it is important to have the following
data available for each earthquake you will be adding to the database:
- Location
- Date
- Magnitude
- Latitude
- Longitude
Make sure not to leave any field blank.
1. Go to Williams 412 and sit down at a PC
2. Dowload the existing earthquake database to your PC
- Open SSH Secure File Transfer
- Click on the Quick Connect button on the tool bar
at the top of the SSH window
- Fill in Host Name: wm406c.cc.lehigh.edu
User Name: leoone
And click Connect
- Enter the password (Margie Barry will supply you with
it)
- After the program is finished loading, right click the
window and choose the option New File Transfer
- There will be two boxes, the “local” one is for your
computer, the “remote” is for the computer you are downloading from.
- Under the box labeled “remote,” open the folder
seismic_events
- Open the folder world
- Click & drag the file EQDBTXT.txt into the
“local” box
- The file should now be on your desktop
- Keep the SSH SFT program open
3. Update the earthquake database
- Open EQDBTXT.txt in MS Excel
- The data will be tab delimited
- Click next, next, finish on the Text Import Wizard to
keep it in that format if the window appears
- Update the database according to each field (do not
leave any field blank)
NOTE
LATITUDE
·
Both World and Local Databases
o
North – positive
o
South – negative
LONGITUDE
·
World Databse
o
East – keep the longitude the same as is given to you
o
West – subtract the longitude value from 360
§
(i.e., Entered Long Value = 360 – Actual Longitude Value)
·
Local Database
o
East - keep the longitude the same as is given to you
o
West – make the longitude negative
4. Save the database in Tab Delimited format and
name it EQDBTXT.txt
- Excel will prompt you to do so
- ArcView can only read the data in this format
5. Upload the database to the Irix machines
- Reopen the SSH secure file transfer
- Make sure the “remote” box is open to the folder /disk3/leo/seismic_events/world
- Click and drag the updated file over to the remote host
- Click yes to overwrite the old file
6. Move to an Irix machine in Williams 406 to open ArcView
- Type leoone in the user name prompt and the
password given to you
- In the Toolchest click on the Desktop
option
- Click the Open Unix Shell option
- In the open Unix Shell type arcview and press
return at the prompt (This might take a few minutes)
- Highlight Open an existing project and click ok
- Navigate to seismic_events/world and open the
project titled worleq.apr
7. Now the project is open and you can update the maps
- In the project manager (the window with title
worldeq.apr) double click on the view labeled World View to open the
existing map
- Under the view, World View, delete the theme
labeled Earthquake Magnitude (or earthquakes.shp) by
clicking on the Magnitude box on the left of the view and then going to
Edit (at the top of the toolbar) and selecting Delete Themes.
Click yes
- Go back to the project manager
- Delete the table labeled table of Magnitude (or
EQDBTXT.txt) by clicking on the tables icon in the project
manager and hitting delete key
- Still in the table screen, click Add to add a new
table
- Change the List Files of Type to Delimited
Text (*.txt) and select the updated EQDBTXT.txt from disk3/leo/seismic_events/world/
- The table should now be in the table screen, labeled
EQDBTXT.txt
- Go back to the World View window by clicking on
its title bar
- Under View (the toolbar on top) choose the
option Add Event Theme
- Make sure that longitude corresponds to the X Field
and latitude corresponds to the Y Field (you’ll be prompted for this)
- Choose EQDBTXT.txt and press ok
- Highlight the EQDBTXT.txt box in the World View
window
- Next, go to Theme (at the top of the toolbar),
and select Convert to shape file
- Make sure you are in the folder seismic_events/world
- Name it earthquakes.shp
- Click yes to replace
- Delete the old file when done by going to Edit
on the toolbar at top and selecting Delete Themes
- Rename the earthquakes.shp theme to
Earthquake Magnitude by going to Themes (on the toolbar) and
selecting Properties
- The first box is for the title
- The updated database is now added to the World View.
To view the database, just click open table of active theme button.
8. Update the legends by loading the predefined legends
- Optional Note: You may want to change the legends
instead of loading them
- Double click the EQDBTXT.txt theme on the
World View window, this will open the Legend Editor
- Update according to your own preferences
- Click Apply and then close the window
- Remember to save the new legend as maglegnd.avi
- Double click the EQDBTXT.txt theme on the
World View window, this will open the Legend Editor
- Click Load
- Highlight the file named maglegnd.avi, and
click ok
- Click Apply and then close the window
- Make sure you check the box for the Magnitude theme
while in the World View so that the points will appear on the map
9. Save your work in jpeg form to view on the website
- Highlight the project manager
- Select the Layout icon
- Select World Map
- Click Open
- Optional - To create your own template/layout:
- While World View is highlighted, go to View
(in the toolbar)
- Select Layout
- Scroll down and select World Map
- Click OK
- Select a basic template design
- Once the new Layout has opened, you may save it as a
template by selecting Edit (on the toolbar) and Create
Template
- Note: Should you have any problems with the background
color, there is an icon at the top right of the toolbar icons that is just a
white box. Click on it. Change the background color to white instead of
transparent or black.
- Saving the file: Go to File (on the
toolbar)Select Export
- Change the List Files Type to JPEGClick
the Options button and change
- Resolution = 96
- Quality = 100
- Name the file worldeqpic.jpg and click Ok
- Click yes to replace the existing file
10. Update the local map
Local Map
To update the earthquake map for the regional area, follow the same steps in
updating the database and the ArcView project as you would for the World
Earthquake map.
However, the names and variables are different as such:
Save Directory = disk3/leo/seismic_events/local
Database name for earthquakes = localeqdb.txt
Database name for blasts = localblastdb.txt
Latitude = always positive (in the North)
Longitude = always negative (in the South)
Project name = localeq.apr
Earthquake Legend Name = localeqlgnd.avi
Blast Legend Name = localblastlgnd.avi
Note:
Should you have any major problems with either arcview
project, they may be restarted with the original maps and databases (tab
delimited texts).
For the world earthquake map
·
The map of the world is stored in
o
disk3/leo/seismic_events/world/wolrdgrid
·
The earthquake database is EQDBTXT.txt
·
Add the database in as in the original directions. (You may have to redo
the legend, the instructions are in the original directions as well)
·
Add the world grid in as an event theme (just as you did for the
earthquake database)
o
You can either load the predefined legend seismic_events/world/elevlegnd.avi
o
Or create your own legend (instructions are in the original directions)
Follow the same directions for the local map
·
The local regional map is
o
disk3/leo/seismic_events/local/boundaries/clip.shp
·
and its predefined legend is
o
disk3/leo/seismic_events/local/statelegend.avi
|