REDAS Manual
REDAS Manual
9
Operations
Manual
Version 2.9
1
This is a manual in progress. Only functions and menus commonly
used are being explained here. We will continuously update the
manual and will also be posted in the REDAS yahoogroups. Feel
free to give your feedbacks to: leyobautista@yahoo.com
2
©
About REDAS
REDAS is a simple and user-friendly simulation tool or software that can give a
rapid estimate of the possible seismic hazards which can be used for inferring the
severity of impacts of an earthquake to various elements-at-risk. It has been
developed for use by disaster managers for making prompt decisions for quick
deployment of rescue and relief operations.
The development of REDAS was funded by the DOST-GIA and was developed
by PHIVOLCS-DOST from 2002-2004. The program consisted of two project
components: 1) Development of Seismic Hazard Models and 2) Development of
REDAS and building the risk database
Objectives of REDAS:
Authors of REDAS:
Kathleen Papiona, Myleen Carlos, Joan Salcedo, Jeffrey Perez, Janila de Ocampo, Jane
Punongbayan, Esmeralda Banganan, Rhommel Grutas, Erlinton Antonio Olavere, Vilma
Hernandez, Roberto Tiglao, Melquiades Figueroa
(Project Members)
3
REDAS Version 2.9
The “Rapid Earthquake Damage Assessment System (REDAS)”software as a tool for
mainstreaming disaster risk reduction into the local development planning process
Abstract
The few minutes after the occurrence of a large and potentially damaging earthquake are very
crucial in making timely decisions especially information regarding the deployment of relief and
rescue operations. The agency mandated to issue earthquake bulletins and provide pertinent
information to the public after an earthquake is the Philippine Institute of Volcanology and
Seismology (PHIVOLCS) of the Department of Science and Technology (DOST). This responsibility
becomes very important when large-magnitude earthquakes occur and the public wants to know
immediately the possible impacts and damages that a given event might have caused. To address
this concern, a simple and user-friendly simulation tool or software that can give a rapid estimate of
the possible seismic hazards which can be used for inferring the severity of impacts to various
elements-at-risk was developed. This software is called “Rapid Earthquake Damage Assessment
System” or REDAS. The software was developed by PHIVOLCS-DOST thru a Grant-in-Aid (GIA)
from the Department of Science and Technology (DOST). REDAS aims to provide quick and near
real-time simulated earthquake hazard information to disaster managers which will help them in
assessing the distribution and extent of the impacts of a strong earthquake. This could help them to
decide and prioritize the deployment of timely rescue and relief operations. The second objective is
for the software to serve as a tool in convincing land use planners, policy makers, city and town
development planners and even local government executives to consider earthquake hazards in
their planning and development efforts so as to ensure long-term mitigation of seismic risks. The
hazards that could be computed using this tool are ground shaking, earthquake-induced landslides,
liquefaction and tsunami. The risk database that are continuously being built in REDAS include
population centers, roads and communication networks, lifelines, high rise buildings, hospitals,
schools, churches, banks, markets, hotels, fire stations, power plants, dams and other critical
facilities. Other capabilities of REDAS include earthquake sorting capability, produces seismicity
maps, can perform query of data points, can produce maps of different sizes, can perform on-
screen map digitization and more importantly, it allows users to build their own risk database by
themselves.
To date, the software has been provided to some local government units (LGU). To make the
software address the other hazards including hydrometeorological hazards, the READY multi-
hazard maps are also incorporated in REDAS to make it multi-hazard in approach. For each LGU,
training on its use is also provided and the participants are also taught how to build their own risk
database using maps and GPS. The software is still being continuously improved by getting
feedbacks and inputs from users to make it more attuned to their needs.
4
Features and Capabilities of REDAS
• Seismic Hazard Assessment
• Risk Plotting
• Query Functions
• On-screen digitization
• Capable of developing own database
1
Getting Started
a) Installing REDAS
An installation DVD contains all the files needed to run REDAS successfully.
REDAS should be installed using Administrator’s account. Login as guest is not
allowed. The correct specifications are illustrated below:
1. Copy REDAS folder to drive C:\. REDAS Folder should have at least 35 items in it
(31 folders, 2 REDAS icons).
2
2. Double Click ‘other required files’ folder
4. Installing Ghostscript.
4a. Click Setup.
4b. Click Install.
4c. Close the Ghostscript window.
3
5. Installing Imagemagick
5a. Click Next
5b. Tick “I accept the agreement” and Click Next
4
5
6
7. REDAS Setup
7
8
For Windows XP
C:\REDAS\other_required_files\
For Windows XP, you will need to set-up the Environment Variables.
9
8. Creating Shortcut Key
Go to C:\REDAS and right-click the REDAS icon, click Send to Desktop(create
Shortcut).
10
9. Run as Administrator (for Windows Vista and Windows 7 operating systems)
11
11. Installation of the REDAS GPS Module
12
12. How to check if you installed REDAS properly.
Start All Programs Accessories Command Prompt
13
12c. Type convert
If the command prompt displays otherwise, please refer to solutions listed at page
14
Installation of the REDAS-EDM Package
Installation of MYSQL Components
15
Installation Of The Exposure Database Module
1. Open REDAS
2. Click on REDAS EDM button within the REDAS Main Activity page to the Exposure
Database Module and a window with the title “Form 1” will open similar to the image
below.
16
3. Click on a corner space near the word “Form 1” and a window will open where you
can input the unit ID. Unit ID should be unique for each laptop/netbook/PC and
should follow naming conventions. Example of unit names are shown below:
ILO_01
ILO_02
DOST_01
DOST_02
OCD_001
PIVS_001
PIVS_002
It is strongly recommended that a database of the installations be kept within your
office and a copy provided to PHIVOLCS as well. Database should include unit
name, name of user, agency/office/division, and contact details, among other
information.
17
Chapter 2: Learning Key Features
• Launching REDAS
• Measuring Distance & Area
• Plotting Base maps
• Changing Map Parameters
• Saving, Editing and Printing Maps
• Annotating Maps
• Digitizing Polygons & Lines
• Introduction to REDAS Risk Database
• How to plot points, lines & polygons
18
Learning Key Features
Launching REDAS
1. Launch REDAS program by selecting the REDAS icon displayed on the
desktop. REDAS splash screen will be displayed. Click Continue.
2. ClickType in the username and password on the Login window. Click Next.
3. The REDAS main window will appear. Note the basic parts of the window. There
are 14 buttons, five pull down menus, indicative boxes, slider and ruler. The
Philippine map, with all its indicative earthquake source zones, is automatically
displayed. Explore the entire map by sliding the scroll bar or using the middle
mouse button.
19
Notes:
• REDAS maps are always oriented to the North.
• Scales are provided by the geographic coordinates found on the sides
of the map.
• REDAS is using linear geodetic projection with WGS84 datum to
conform with datum used in space imageries, digital elevation data
and other internationally available data including Google Earth
images, etc.
• Geographic locations are in deg.ddddd (degree decimal format).
• Data entry format is always longitude,latitude (x,y).
• Each point in a REDAS map is represented by a pixel (picture
element) whose value is shown (in light green background) in the
lower left boxes of the screen. The corresponding geographical
coordinates of each pixel is shown in the adjacent box (with yellow
background).
20
Help texts are also displayed each time the mouse pointer hovers a
button (expect for Risk Data and GPS off buttons). This will explain how
each button works.
21
2) Measuring Area
22
3) Displaying Various Maps and Changing their Parameters
REDAS uses the Generic Mapping Tool (GMT) displayed by the University of
Hawaii, to plot various maps. As a result, you can not zoom in or edit on screen as
these involve reprocessing. Hence, points, lines and polygons are also not editable
on the screen. On the other hand, REDAS can handle big files and display large
files easily.
a) Coastline Data. Tick the “Use Coastline Data” checkbox to display and edit
coastline land, ocean and coastline colors as well as coastline resolution. You can
change color by clicking on the palette and select you prefer. Coastline Resolution
varies from Low to Full.
23
Note: Use of this map type is only ideal in regional scale.
b) Digital Elevation Model(DEM) Data. Tick the “Use 30x30 sec DEM (from
NGDC)” checkbox to use the DEM data from the National Geophysical Data
Center (NGDC).
d) SRTM Data. To display the SRTM data, check the “Use 3x3 sec SRTM data”
checkbox and choose from the available dataset listed in the drop-own menu.
Since files are too big, areas are divided into smaller regions such as Northern
Luzon, Southern Luzon, Visayas, Mindanao, Palawan and Sulu.
24
3. Click “Refresh” button below the Zoom Window Position map to
determine the coordinates of the coverage of the red box.
Coordinates will be displayed on the boxes above the Zoom/Pan
buttons.
4. To navigate in or around the area of the red box, use the
Zoom/Pan buttons. To move the red box anywhere on the map,
click on the new target area on the Zoom Window Position.
Update the geographic coordinates of red box, click Refresh.
5. To go back to the original base map, click Reset (found at the
center of the Zoom/Pan buttons.)
25
c. Axis Properties.
You can change the intervals for Annotation, tick marks and Frames
manually using the values listed in the corresponding drop-down menus or
use the default values.
Edit the contour parameters by clicking “Edit Contour Parameter 1 (or 2)”.
Programmer’s File Editor (PFE) window will be displayed. PFE has a text editor that
you can use to input your desired contour interval in your maps. Type in the desired
contour interval (e.g. 1, 20, 50, 100) and if you want to add annotations in contours,
add “a” after the number (e.g. 1a, 20a, 50a). Click “Save” button to save changes.
26
e. Paper Size
Adjust the paper size of the map depending on how detailed or
zoomed your map is. Bigger paper sizes like A0 allow you to view more
details on the map. Choose among the paper sizes in the Paper Size drop-
down list.
1. Click “File” on the pull-down menus located on the upper portion of the
window. Click “Save Map.”
27
2. In the “Save As” window, navigate through the folders to save the file in
the target directory.
3. Replace the asterisk (*) in the *.map with an appropriate filename on the
“File name” text field.
4. Click “Save.”
28
6.) Editing and Printing Maps
Click “Edit and Print Map” button. You will be directed to a Paint window named
map2.bmp found at the bottom of the screen. Click the Paint window.
2. Click “Crop”. A crop tool will appear, use it to select the figure to be cropped. Cut the
figure and paste on the same pallet. Click again crop and crop the figure to fill as one
page.
3. Choose an indicative file name and save as bmp or jpg in the exercise folder
“Redas_exercise” created in the desktop.
1. Click “edit and print map”. The Paint software opens with your figure on it. File
name is “map2.bmp” which you will see at the bottom of the page.
2. From Pull down menu of Paint, choose “select all” and drag the figure to the topmost
left portion putting the map coordinates at the edge of the page. You will see jagged
lines at the edges of the figure. You can now drag the figure.
29
3. After dragging, from the pull down menu of paint, choose “page setup”, select “fit to
1 to 1”
4. Choose Page Preview. You should see the map as a one page map.
5. You can crop by going to the leftmost bottom part of the figure and clicking the edge.
You will see a small green dot and when you put your mouse over it, you will see a
double sided arrow, drag the arrow and you can now use it to crop the figure.
6. Choose an indicative file name and save as bmp or jpg in the exercise folder
“Redas_exercise” created in the desktop.
30
Chapter 3: Multi-Hazard Mapping
• Hazard Maps
• Plotting Multi-Hazard Maps
31
Hazards and Elements at Risk
Hazards are potentially damaging physical events, phenomena or human activities that
may cause the loss of life or injury, property damage, social and economic disruption or
environmental degradation.
Elements at risk are elements that may be damaged or injured should a particular hazard
occur.
Types of Hazards
Type Examples
1. Hydro-meteorological strong winds, storm surge, flood/flashflood,
hazards rain-induced landslide
2. Earthquake-related ground rupture, ground shaking, landslide,
hazards liquefaction, tsunami
3. Volcano-related hazards ashfall, pyroclastic flow, lahar, lava flow
Hazard Maps
REDAS can be used to display hazard maps such as the Multi-hazard Map
32
In the following sections, you will learn the various hazard mapping features provided by
REDAS. Please take note of the procedures in loading various Point and Line files by
referring to the previous section. It is best to refer to the image file of the hazard maps
when choosing the colours for easy comparison between maps. For ground rupture, the
lines are either solid and dashed while for other hazards, the high susceptibility is red,
moderate susceptibility is pink and low susceptibility is yellow. Depositional zone is
chocolate.
Plotting active faults: Load previous base map. Click Risk Data Line Data File
Browse for line data for faults under the Province/Line folder Open Check
corresponding Layers checkbox Change Symbol, Thickness and Color (to differentiate
one type of active fault from the other types) Plot Legend Plot Data Plot Map
Save Map inside Province\mapfiles\Ground_Rupture_Hazard.map
33
Sample Ground Rupture map:
34
Ground Shaking Map
Ground shaking hazard is represented by polyongs. Intensity VIII above is usually colored
red, Intensity VII as pink, VI as yellow. Data are classified depending on the earthquake
intensity using PHIVOLCS Earthquake Intensity Scale (PEIS).
Plotting ground shaking hazard zones: Load previous base map. Click Risk Data
Polygon Data File Browse for polygon data for ground shaking (in the
Province\Polygons\Ground_Shaking_Hazard folder) Open Check corresponding
Layers checkbox Change Fill Type, Size and Color (to distinguish one earthquake
intensity from the other) Plot Legend Plot Data Plot Map Refresh map Save
Map in Province\mapfiles\Ground_shaking_hazard.map.
35
Liquefaction Hazard
REDAS provides information about liquefaction hazards in the form of polygon files. The
data are usually grouped into three levels: high, moderate and low susceptibility.
Plotting liquefaction hazard zones: Retrieve provincial map. Click Risk Data Polygon
Data File Browse for polygon data for liquefaction (in the
Province\Polygons\Liquefaction_Hazard folder) Open Check corresponding Layers
checkbox Change Fill Type, Size and Color (to differentiate one level of susceptibility
from the other levels) Plot Legend Plot Data Plot Map Save Map in
Province\mapfile\Liquefaction_hazard.map.
36
Earthquake-Induced Landslide (EIL) Hazard
REDAS provides information about earthquake-induced landslide hazards in the form of
polygon files. The data are usually grouped into four levels: high, moderate, low
susceptibility and depositional zone.
Plotting earthquake-induced landslide hazard zones: Retrieve your provincial base map.
Click Risk Data Polygon Data File Browse for polygon data for earthquake-
induced landslide (in thePolygons\Earthquake_Induced_Landslides folder) Open
Check corresponding Layers checkbox Change Fill Type, Size and Color (to
differentiate one level of susceptibility from the other levels) Plot Legend Plot Data
Plot Map Save Map in Province\mapfile\EILandslide_hazard.map.
37
Tsunami Hazard
REDAS provides data on areas that are prone to tsunamis in the form of polygon file.
In some cases, there could be a corresponding point data to represent.
Plotting tsunami-prone zones: Retrieve your provincial base map. Click Risk Data
Polygon Data File Browse for polygon data for tsunami-prone zones (in the
Province\Polygons\Tsunami folder) Open Check corresponding Layers checkbox
Change Fill Type, Size and Color (to distinguish tsunami prone area from the background)
Plot Legend Plot Data To plot Wave height: Go to Point Data Select Province
Point Tsunami Wave Height file Plot Map Save Map.
Volcanic Hazard
38
REDAS contain information on volcanoes and its hazardous products. The hazard zones
are classified into zones which are highly and moderately susceptible to lahars and zones
where pyroclastic flow and surges might occur.
Plotting volcano-related hazard zones: Retrieve provincial base map. Click Risk Data
Polygon Data File Browse for polygon data for volcanoes (in the Province\Polygons)
Open Check corresponding Layers checkbox Change Fill Type, Size and Color
Plot Legend Plot Data Plot Map Save Map in
Province\mapfile\Volcanic_hazard.map.
39
Plotting areas according to their susceptibility to RIL: Retrieve provincial base map. Click
Risk Data Polygon Data File Browse for polygon data for RIL (in the
Polygons\Rain_Induced_Landslide folder) Open Check corresponding Layers
checkbox Change Fill Type, Size and Color Plot Legend Plot Data Plot Map
Save Map in Province\mapfile\RILandslide_hazard.map.
Flood Hazard
Plotting flood-prone areas:Retrieve your provincial base map. Click Risk Data Polygon
Data File Browse for polygon data for flood hazard Open Check corresponding
Layers checkbox Change Fill Type, Size and Color Plot Legend Plot Data Plot
Map Save Map in Province\mapfile\Flood_hazard.map.
40
Sample Flood hazard map:
Plotting storm surge hazard areas: Retrieve provincial base map. Click Risk Data
Polygon Data File Browse for polygon data for flood hazard Open Check
corresponding Layers checkbox Change Fill Type, Size and Color (to differentiate water
level and year from other data) Plot Legend Plot Data Plot Map Save Map in
Province\mapfile\Storm_surge_hazard.map.
41
Sample Storm surge hazard map:
There are two ways of saving maps: (1) File Save Map or (2) Edit and Print Map
button to activate paint window (Review Chapter 2) and save the map are .bmp or
.jpg file.
Always save maps on appropriate folder. Provide an organize way of sorting files in
easily recognizable and properly name folders.
To open the saved file, select File Load map and select the map you wish to
open.
42
Notes on the Hazard Maps in REDAS:
1. The previous discussions were on static maps that may be produced and displayed by
the REDAS software.
2. Dynamic maps for actual earthquake events can also be modelled by REDAS for real
and hypothetical earthquakes. These are ground shaking, liquefaction, earthquake-
induced landslides and tsunami.
43
Chapter 4: Map Digitizing Using
REDAS
• Annotating Maps
• Digitizing Polygons and Lines
• Concept of Digitizing
• Georeferencing
• Digitizing Points, Lines and Polygons
• Building your own REDAS Risk Databas
• REDAS Point Database
• REDAS Line Database
• REDAS Polygon Database
• Common Sources of Errors
44
1) Annotating Maps
Annotating maps means adding text labels or identifiers to maps to make it easily
understandable. In using REDAS, you use the digitizer function, define the desired text
style and appearance, save parameters in a text file and plot the desired annotation in
your map by using the saved text file.
1. Turn the Digitizer on by clicking the Digitizer button. From red indicator, it
should turn green.
45
3. Change the appearance of your desired annotation by changing the text
parameters.
Text parameters
Font Number:
46
4. Click on the desired annotation location on the map.
5. To save the text parameters, click the “Data” pull down menu, then
“Export Data” “Digitized Data” “REDAS Text Data”.
6. Choose the appropriate folder for saving the text file by navigating through
folder in the “Save As” window. Type in the appropriate file name in the “File
name” textbox. Click “Save”.
47
7. To plot the annotation on the map, select “tools” pull down menu, select
“Annotate map.” Annotation Data/Plotting Window will be displayed.
8. Click “File” button to direct the location of the text parameter file saved in
Step 6. Choose specific color in the “Color” selection box. Check the
checkbox before it. When finished, click “Plot Data.”
48
9. GMT parameters window will appear. Click “Plot Map.” Reload the map by
clicking .
Note: Before doing the next exercises, you have to click the “Memory Reset”
under the “Data” pull-down menu. In the prompting window, click OK.
49
2) Digitizing Polygons
This feature is very useful for planning routes, evacuation area and land use
delineation.
1. Turn the Digitizer on by clicking the Digitizer button. From red indicator, it
should turn green.
50
3. To save the polygon, click the “Data” pull down menu, then “Export Data”
“Digitized Data” “REDAS Polygon Data”. “Save As” window will appear.
Choose the appropriate folder for saving the text file by navigating through
folder in the “Save As” window. Type in the appropriate file name in the “File
name” textbox. Click “Save”.
51
3. To plot the polygon in the base map, click “Risk Data” button. “Risk Data
Plotting Menu” window will be displayed. Choose “Polygon Data.”
Polygon Data Plotting window will appear. Click “File” button to direct the
location of the polygon file saved in Step 3. Choose specific color in the
“Color” selection box. Check the checkbox before it. When finished, click
“Plot Data.”
52
4. GMT Parameter window will prompt. Click “Plot Map.” Click Refresh or
wait for automatic refresh.
3) Digitizing Lines
1. Turn the Digitizer on by clicking the Digitizer button. From red indicator, it
should turn green.
53
3. To save the line, click the “Data” pull down menu, then “Export Data”
“Digitized Data” “REDAS Line Data”. “Save As” window will appear.
Choose the appropriate folder for saving the text file by navigating
through folder in the “Save As” window. Type in the appropriate file name
in the “File name” textbox. Click “Save”.
4. To plot the polygon in the base map, click “Risk Data” button. “Risk Data
Plotting Menu” window will be displayed. Choose “Line Data.” Line Data
Plotting window will appear. Click “File” button to direct the location of the
polygon file saved in Step 3. Choose specific color in the “Color”
selection box. Specify Thickness of the line. Check the checkbox before
it. When finished, click “Plot Data.”
54
4. GMT Parameter window will prompt. Click “Plot Map.” Click Refresh or wait for
automatic refresh.
Digitizing
Digitizing is a process that involves converting data into digital format. In our application, it
involves tracing information from maps or images in a geographically correct way.
2. To integrate available data (e.g. CLUP, land use maps, zoning, etc) of a different
format outside REDAS and align it with existing data within REDAS.
55
In georeferencing (or Map Calibration in REDAS)
We call the linked points on each data layer “control points” or “ground
control points”
Note: Make sure that image format is in bitmap (*.bmp) or converted to bitmap and
That map has clear and well spread out geographical coordinates
Note:
Advisable to have a hard copy of map on hand for reference and/or
56
2. Open the image that you will work on: File Open BMP File Open.
3. Map Calibration:
a. Check map and find three orthogonal points with clear geographic coordinates
that will be used as ground control points wherein
1. Points are well spread out in the image
2. Crosshair of selected points are clear
57
b. Find the geographic coordinates (longitude and latitude) of these points by
referring to the hardcopy of the map.
c. Click “Calibrate Off” to turn it on.
d. Click on the 1st point, a coordinate window will appear. Type in the corresponding
X and Y coordinate. Click OK. Do this on the 2nd and 3rd points. Claibrate On button
automatically turns off after 3rd point.
58
3. Check map if calibration is correct by using all the ground control points.
Countercheck if the coordinates that appear on the coordinate panel is the same as its
coordinates in the map or hardcopy. Edit if necessary. Make sure calibration
parameters are correct before starting to digitize.
Digitizing points
1. Marker Settings. Select Tools Change Digitizer Settings Marker Point.
2. Click Digitizer Off to turn it on. Select Vector Data.
4. Click on the approximate center of the feature that you want to digitize.
5. When you made a mistake, select Data Edit Digitized data. PFE window will
appear. Make the necessary adjustments in the PFE. Save your edits.
59
6. To export point data, select Data Export data REDAS Point Data (XY). Save
on the appropriate folder. Click Save.
Tips:
Create one file each for different points data in the points folder (schools.dat,
hospital.dat, stations.dat, etc.)
Always reset memory before starting a new type of point data.
Make sure that finished point features has been exported properly to REDAS
before clicking “Memory Reset”.
Digitizing Lines
1. Marker Settings. Select Tools Change Digitizer Settings Marker Line.
2. Click Digitizer Off to turn it on. Select Vector Data.
4. To begin digitizing your line, right click THEN left click on your starting point to
register the 1st point of the line.
5. Continue tracing the line by clicking left-click ONLY on the succeeding points.
6. To mark the end of the line, right-click on the last point. A line should be formed
connecting all the points clicked.
60
7. When you made a mistake, select Data Edit Digitized data. PFE window will
appear. Make the necessary adjustments in the PFE. Save your edits.
8. To export point data, select Data Export data REDAS Line Data (XY). Save
on the appropriate folder. Click Save.
61
Tips:
Create one file each for different line data in the points folder (rivers.dat,
highways.dat,rails.dat, etc.)
Make sure that finished point features has been exported properly to REDAS
before clicking “Memory Reset”.
Digitizing Polygons
1. Marker Settings. Select Tools Change Digitizer Settings Marker Polygon.
2. Click Digitizer Off to turn it on. Select Vector Data.
4. To begin digitizing your polygon, right click THEN left click on your starting point to
register the 1st point of the polygon.
5. Continue tracing the polygon by clicking left-click ONLY on the succeeding points.
6. To mark the end of the polygon, left-click THEN right-click on the last point (this is
not necessarily the first point). A polygon should be formed connecting all the
points clicked.
7. When you made a mistake, select Data Edit Digitized data. PFE window will
appear. Make the necessary adjustments in the PFE. Save your edits.
62
8. To export point data, select Data Export data REDAS Polygon Data (XY).
Save on the appropriate folder. Click Save.
1. Close the map you're working on and open it again in the bitmap digitizer window to
append new data
Data will be appended accordingly when you digitize as long as you did not reset
the memory.
63
Building your own REDAS Risk Database
Risk databases are listings of elements at risk. REDAS classifies these elements
according to their form and content:
a. Points – particular spots
b. Lines – for linear features
c. Polygons – for areas
REDAS databases are stored as texts files, with file extensions .txt or .dat.) All
these files follow a specific structure so that REDAS will recognize it as a database.
You can create and edit databases using word processors like Notepad, Wordpad
and Microsoft Word (take note on the file extension to be used.) As for REDAS, its
default text editor is Programmer’s File Editor (PFE).
Notes:
• In REDAS, only the first two first, i.e. Longitude and Latitude, are not
enclosed in quotation marks (“), all the succeeding information must be
enclosed by quotes.
64
• To indicate that you are typing in new field information in the same record,
comma should be used to separate an information from the other. In this
case, comma (,) is a delimiter.
• In specifying longitudes and latitudes, REDAS only recognizes coordinates
in decimal degrees format. The program does not recognize degrees-
minutes-seconds format.
Wrong: 121°48’12.23”, 4°12’15.21”
Right: 121.0834, 4.2042
65
2. To understand the structure of a REDAS database, you need to load sample
database files first. Click “Load File” button and locate existing database files in this
address:
C:\REDAS\USER_DATABASE\REGIONAL\POINTS or
C:\REDAS\USER_DATABASE\METRO_MANILA\POINTS
Choose among the listed files and click Open. Familiarize yourself with the
database structure by examining the Database Builder Module window.
66
Adding New Data to an Existing Point Database
67
Attaching Photographs
The 9th row in the Database Building Module is designed for attaching photographs.
To use this feature, you need to type in the left box of the 9th row the word “picture”
or “risk photo”. To add pictures, click Browse button on the right side. Sometimes,
when the browse window is not active, erase the word “picture” or “photos” and
retype again.
68
Notes:
• All photos must be in jpg format.
• The file name must have jpg as extension. (Not jpeg)
• There must be no spaces between file names.
69
b) REDAS Line Database
In REDAS, line data are edited using PFE. For REDAS to recognize the data as a
line, it should have the following format:
>name1
longitude1A latitude1A
longitude1B latitude1B
longitude1C latitude1C
>name2
longitude2A latitude2A
longitude2B latitude2B
longitude2C latitude2C
>
70
>EDSA
120.939375 14.835875
121.015875 14.885875
121.015375 14.908375
>Taft
120.994875 14.894375
120.986375 14.911875
120.933375 14.878375
>
Notes:
• At least two points define a line.
• Start every line data with a “greater than” symbol (>).
• Longitude and latitude must be separated by space.
(Note: To begin each new exercise, always remember to clear the memory by clicking
Data Memory Rest OK.)
1. Click Risk Data button. In the prompting window, select Line Data. Line data
Plotting window will be displayed.
71
2. Click Edit button on the first row of the window. PFE window will prompt.
3. To create a new line data file, click the “New” icon (or File New).
72
3. Start typing the line data.
73
4. When finished, save the file by clicking File Save As.
5. Locate the appropriate folder, type in an appropriate filename and with .dat
extension and click Save.
Polygon data is almost the same as creating line data. However, there are few
differences that must be taken to account. Below is the format for a polygon data:
74
X name1
longitude1A latitude1A
longitude1B latitude1B
longitude1C latitude1C
longitude1A latitude1A
X name2
longitude2A latitude2A
longitude2B latitude2B
longitude2C latitude2C
longitude2A latitude2A
X
XBulacan
120.939375 14.835875
121.015875 14.885875
121.015375 14.908375
120.939375 14.835875
XLaguna
120.994875 14.894375
120.986375 14.911875
120.933375 14.878375
120.994875 14.894375
X
Notes:
• For every polygon, the first line of data must be the same as the last line
before starting a new polygon. In the example, polygon Bulacan started
with coordinates (120.939375, 14.835875) and ended with the same
coordinates (120.93937, 14.835875).
• Start every line data with a capital X.
• Longitude and latitude must be separated by space.
75
(Note: To begin each new exercise, always remember to clear the memory by clicking
Data Memory Rest OK.)
1. Click Risk Data button. In the prompting window, select Polygon Data. Polygon
data Plotting window will be displayed.
2. Click Edit button on the first row of the window. PFE window will prompt.
3. To create a new line data file, click the “New” icon (or File New).
76
3. Begin typing the line data by following the format specified earlier.
77
4. When finished, save the file by clicking File Save As.
5. Locate the appropriate folder, type in an appropriate filename and click Save.
2. Open the Line Data Plotting window by clicking Risk Data Line data.
3. Click File button; locate and open the Line Data created on the previous exercises.
After clicking Open, you will be returned to the Line Data Plotting window. Click Edit
button.
4. PFE will display the line data you made. To change this into polygon data, replace
“>” with “X” and remember to repeat the first line of data as your last line to close
the polygon. Save the polygon data by clicking File Save As.
78
Common Sources of Errors in Building Databases
• Quotation marks (“”) were accidentally erased.
• Excess number of fields.
• File name have spaces:
Wrong: Temporary Database
Right: Temporary_Database
• Wrong location of attributes.
79
Chapter 5:
• Seismicity Assessment
• Seismic Hazard Assessment
80
Seismicity Assessment
One of the important uses of REDAS is to know the earthquake history of every
province in the Philippines.
81
3. Depth and Magnitude. You have the option to display earthquakes that are
within a specific range of depth and magnitude. To do this, input values in the
Depth and Magnitude textboxes respectively.
82
6. GMT window will appear. Click “Plot Map.”
83
7. To understand the meaning of the symbols in the map, you need to display the
legend. To do this, go back to the Seismicity Assessment feature located under the
Tools pull-down menu. Click “Legend.”
Paint window named Legend2.bmp will be displayed. You can use this as
reference to know the meaning of the symbols in the map generated in Step
4.
8. To view the sorted earthquake data displayed in the map, go back to the
Earthquake Sorting menu window by selecting Seismicity Assessment menu. On
the Earthquake Sorting window, click “View Sorted Data”.
84
Programmer’s File Editor window will be displayed. This window lists the
sorted earthquake information based on your specifications on Steps 2, 3
and 4.
To save the data, click File Save As. Specify the desired folder and filename.
Click Save.
85
Interpreting Earthquake Data
86
Guide for Updating the SOEPD-PHIVOLCS database
Notes:
• This means that the first four characters of the line indicate the station code
(example, for PHIVOLCS = PIVS), the seventh to tenth characters show the
year, and so on.
PHIVOLCS Bulletins report earthquakes in Philippine Standard Time (a.k.a. local time)
but most modern-day catalogues list date and time of earthquake occurrence in universal
time.
Ground Shaking
1. Assign location of epicenter. Use left mouse button to click on the location of the
earthquake epicenter to be used in computing hazards.
2. In the Tools drop down menu, click Seismic Hazard Assessment Menu.
87
Seismic Hazard Window should appear:
88
3. Click the Ground Shaking folder. The approximate location of the epicenter
should appear on the respective fields. If you know the exact parameters
(longitude, latitude, depth, magnitude and fault azimuth) of the earthquake, it
can also be inputted in the respective fields.
89
4. You can choose which shaded map scheme to use: PGA, MMI and PEIS.
90
Sample Modified Mercalli Intensity Map:
91
5. You can change the parameters after displaying the map.
92
To change the Depth:
- Input the new depth value.
6. You can also add a Site Effect to the computation of the hazard.
Landslide
After plotting the Ground Shaking assessment, you can also calculate for the
Landslide hazard.
93
2. Select if Wet or Dry Season.
3. Click Calculate.
4. Click Plot Map.
94
Sample Landslide Hazard Map – Wet Season:
Liquefaction
After plotting the Ground Shaking assessment, you can also calculate for the
Liquefaction hazard.
95
Sample Liquefaction Hazard Map – Dry Season:
Tsunami
After plotting the Ground Shaking assessment, you can also calculate for the
Tsunami hazard.
96
2. Click the checkbox for Plot Tsunami Heights and Abe’s Method.
3. Click Calculate Tsunami Heigthts and Arrival Times.
4. Click Plot Tsunami Map.
97
The circles represent locations on the map with corresponding tsunami wave
height. The circles on the shore line represent the tsunami wave height and time of
arrival.
98
To calculate for Tsunami Inundation:
1. On the Tools drop-down menu, select Calculate Max Tsunami Inundation Distance.
2. Input Dry Land Surface Roughness Constant (N) according to the type of land
surface.
3. Input the Runup Height.
4. Click Calculate.
99
Chapter 6: Building Exposure
Database Module
100
Creating SQL Table and Setting-up Table in the EDM
Tool
1.) Open MySQL browser. Start → All Programs → MySQL → MySQL Query Browser
2.) Input “localhost” as the Server Host. Use “root” as the Username and “mysql” as
the Password. In the Default Schema, input “BUILDING_DATA”.
101
m
102
5.) The Schema Selection window should appear. Select building_data folder and click
Ok.
6.) Under the building_data folder, right-click on the desired location. For this example,
let us use dagupan_city. Click on Edit Table.
103
Right click dagupan_city
104
Press Edit Table
7.) MySQL Table Editor should appear. In the Columns and Indices tab, input the
following Data Type to the table.
8.) In the Column Details Tab, under Column Options, check Primary Key, Not Null
and Auto Increment.
105
9.) Click Apply Changes and in the Confirm Edit Table pop-up window, click Execute.
106
10.) Click the data file, in this case dagupan_city, and click Execute.
107
11.) Edit the SQL Query Area, “create table (new name) as SELECT * FROM
(original table) d;”. For example, palayan_city SELECT * FROM dagupan_city d;.
Click Execute and right-click anywhere under the Schemata tab and click Refresh.
108
Right Click and Press refresh
12.) To create back-up table, edit the SQL Query Area, “create table (new
name)_backup as SELECT * FROM (original table) d;”. For example,
palayan_city_backup SELECT * FROM dagupan_city d;. Right-click anywhere
under the Schemata tab and click Refresh.
13.) To check on the newly created table, right-click the new file, in this example,
antipolo_city. And click Edit Table.
109
Right click the ‘new_file’
ex. antipolo_city
110
Press Edit Table
14.) In the Column Details Tab, Under Column Options, check boxes Primary
Key, Not Null and Auto-Increment.
111
15.) Change the city and province accordingly.
112
16.) Edit the following data type in the MySQL Table Editor.
17.) Click Apply Changes and in the Confirm Edit Table pop-up window, click
Execute.
113
19.) Create folders for the new file. For this example, we create new folders for
Nueva Ecija.
114
2. Click the REDAS EDM button.
3. On the REDAS EDM 1.0 window, select “Building” under the Database Type drop
down menu.
115
The Building Use tab has a cyan theme.
116
The Structural Info tab has a yellow theme.
The Attributes for Wind and Flood tab has a red theme.
The Photographs, Data Appending, Other Comments tab has a pink theme.
117
5. Click the File drop down menu, select Set Configuration.
118
For Building Plot File:
C:\REDAS\EXPOSURE_DATABASE\BUILDING_DA
Province\City or Town\plot_files\test_plot.dat
119
For Critical Facilities Plot File:
120
C:\REDAS\EXPOSURE_DATABASE\BUILDING_DA
Province\town or city\settings\ save ‘file.cfg’
(example: palayan.cfg)
Geography Tab
1.) The fields initially come with a loaded configuration.
121
2.) Search for a dummy Data ID #1 to display initial information and to set data format
for the next data to be appended.
3.) With GPS receiver connected, click Get GPS Data for current location (on the map
and its geographic coordinates displayed).
122
Note: If familiar with (calibrated) survey map, GPS is not necessary to be
connected.
4.) Click Show Map for current location on the map and to view previously surveyed
data.
5.) Click point on the map for coordinates of the building for data capture.
123
Building Use Tab
Enter information on Building Use for the next data.(Building Use, Percentage of
Use, Approximate Number of People)
• Building Use:
• Percentage of Use
• Approximate Number of People
Roof/Walls Tab
Enter information on Roof/Walls.
• Roof Attachment:
124
*Parapets are upward extensions of the wall, sometimes with a coping at the top and
below.
• Roof Attachment Height
• Roof Decorations:
125
*A dormer is a structural element of a building that protrudes from the plane of a sloping
roof surface.
*An awning or overhang is a secondary covering attached to the exterior wall of a
building.
*An attic is a space found directly below the pitched roof of a house or other building(also
called garret, loft or sky parlor).
Floor/Façade
Enter information on Floor/Façade.
• Floor System:
• Floor Type:
126
• Basement Present?
• Ground Slope:
• Foundation
A facade or façade is generally one side of the exterior of a building, especially the front.
The word comes from French, literally meaning “frontage" or “face".
• Façade Type:
127
*A foyer in a house is usually a small entry area or room by the front door. Other public
rooms such as the living, dining and family rooms typically attach to it, along with any main
stairway.
*Punch window - A single pane window framed into the façade or wall.
*Panel window - As for a punch window but with multiple panels.
• Façade Projections:
Structure Tab
Enter information on the Structure.
• Horizontal Plan:
128
• Vertical Plan:
129
• Left Seismic Separation (distance to the next structure to the left of the observer
facing the subject)
• Right Seismic Separation (distance to the next structure to the right of the observer
facing the subject)
• Roof Frame Material
• Column Material
• Beam Material
• Building Type
130
• Assessor’s Office Classification:
131
• UPD-ICE Structural System Type
132
*Those in RED are not included in the HAZUS-MH Building Classification.
Legend:
L - 1-2 storeys
M - 3-7 storeys
H - 8-15 storeys
V - 16-25 storeys
E - 26-35 storeys
S - 36 storeys and above
• Roof Type:
133
• Roof Frame System:
• Opening in Walls
• Floor Finishing:
Photographs Tab
Photographs and Appending New Data
134
1. Click “Start Camera” to take picture of recently surveyed data, preferably all
elevations of the building. Then click “Take Picture” (on the webcam window).
Photos are automatically saved to “city/photo” folder.
135
• Update – to replace recently viewed/edited point or building.
• Delete – deleting erroneous point data or sometimes doubly appended data
4. Taxable?
5. Filly up Surveyor Name/Office.
136
• Change wrong information input then click “Update” on the last survey window(pink
window).
• Click “Export as CSV” to view the file using spreadsheet or excel. Click “Import
CSV” to import data in .csv format.
• Click Create REDAS Plot File to create file for overlaying in REDAS. The column
information is reduced to Data ID, Coordinates and Building Name. Point plot file is
137
temporarily saved at “city/plot_file/test_file”. Move the file to your “MyWork/MyPoint”
folder.
138
• REDAS Data Digitizing Format
139
b. Select Tracks, click enter. Select On.
c. Select Setup, click enter. Select Units.
• hddd.ddddd ; WGS 84
• Metric, Meters, m/sec, Celsius
GPS with memory/data storage examples are Garmin 60CSx and 76CSx.
BETTER to write readings on your field book then enter to REDAS using “Point Database
Buiding Module”.
140
Working with MapSource( Editing and Uploading Data)
1. Turn GPS on and connect data cable to PC.
2. Go to Garmin folder and double click MapSource icon.
3. In the MapSource window, click Transfer then select Receive from Device.
4. It will upload all data from your GPS until seeing the dialog box containing “The
data was successfully received”.
Example:
(C:\REDAS\USER_DATABASE\OLONGAPO\MyWork\GPS_Exercise\
Garmin_Data\OLONGAPO.gdb)
141
Example:
(C:\REDAS\USER_DATABASE\OLONGAPO\MyWork\GPS_Exercise\ tab_delimited\_.txt)
These lines converted from Garmin GPS can be refined using REDAS.
142
Direct Digitizing using wireless GPS receiver & REDAS
(Example: Holux Bluetooth GPSlim)
143
1. Turn your bluetooth GPS receiver on and link it with your PC with REDAS software
(Bluetooth connection will depend on your system. The preferred com port where
PC and GPS communicate is com port 6)
2. Run REDAS. Create a map where you do the GPS digitizing (or open saved
basemap of OLONGAPO)
144
3. GPS digitizing points will be appended and temporarily saved in ‘___.tmp’ file. To
check appended points and/or edit ‘___.tmp’ file, click ‘Data’ pull-down menu then
‘Edit Digitized Data’.
4. If data in digitizing memory is not needed anymore, these may be deleted by
clicking ‘Memory Reset’ under ‘Data’ pull-down menu.
5. Reference points on the map can be entered to REDAS map to guide the digitizing
process (e.g. population center)
6. Turn GPS Monitor ON by clicking side toolbox ‘GPS OFF’ then the monitor will pop-
up.
7. Choose communication port where the GPS receiver and REDAS will communicate
(comport 6 is recommended).
145
8. The outlined box on the upper left of GPS Monitor will show the information of a
point location on earth surface
Position, Elevation, Data Status and number of satellites linked
146
Monitoring of Trackpoint Reading
1. While reading and recording GPS data, a series of red-outlined dots on REDAS
map is seen at the same time.
2. Zoom-in/out to exact digitizing location on the map to monitor if reading and
recording is in progress.
3. This series of dots will blink every time a new dot is appended to temporary
digitizing file.
147
Copying GPS Digitized Trackpoints or Converted Line Data from other REDAS to your
REDAS
(OPTION 2) From the REDAS tracking survey (to see ___.tmp tracking file)
1. Copy saved GPS digitizing mapfile together with its ___.tmp file
2. Bring the mapfile to other REDAS PC. Open it: File-Load Map
3. To re-load the same file: REDAS - File - Load Map - Select the
mapfile
148
9. Check ‘Tracking Mode’ box for recording trackpoints to REDAS digitizing _.tmp file.
The green square box on the upper left corner shall blink green, indicating
trackpoints recording to REDAS
10. You’re now ready for tracking as soon as the red outlined dot/s is seen on the
REDAS map continuously appending or congregating (depending on your speed).
Actual location is shown on Long/Lat boxes.
Note that the handheld GPS is also saving its __.gdb trackpoints in its own memory
which can be processed using ‘mapsource’.
Simultaneous digitizing trackpoints provided to REDAS can be directly converted as
line/s within REDAS and without any interface processes.
11. To convert digitizing trackpoints click ‘Data’ pull down menu > ‘Export Data’ >
‘Digitized Data’ > ‘REDAS Line Data’ and its appropriate line file name,
12. Saved to MyLine
149
Copying GPS Digitized Trackpoints or Converted Line Data from other
REDAS to your REDAS
(OPTION 1) Just copy the converted ‘___ line.dat’ file
(OPTION 2) From the REDAS tracking survey (to see ___.tmp tracking file)
1. Copy saved GPS digitizing mapfile together with its ___.tmp file
2. Bring the mapfile to other REDAS PC. Open it: File-Load Map
3. To re-load the same file: REDAS - File - Load Map - Select the
mapfile.
150
Appendices
151
Appendix A
3. To display a specific place, type in a specific place name in the Fly To: textbox.
Press Enter. You will be directed and zoomed in to your selected place.
152
Preparing Base Maps using Google Earth Images
1. Launch Google Earth. Fly to your area of interest. Check the area if it has higher-
resolution images. Gray squares and rectangles in the image usually mean higher
resolution version of the image is available.To use this, zoom in to the place by clicking
over that area.
2. To make it easier to create base maps, it is highly recommended to turn on the Grid View
by selecting Tools Grid. Grid lines will appear over the images.
153
3. To start gathering images for your base map, you should keep in mind that all the
images that you will gather are all viewed at the same zoom level or eye altitude.
To check this, Eye Altitude status is located at the lower-right hand corner of
Google Earth window. Also remember to align the image to the true north direction.
Do this by double-clicking “N” at the upper left coner of the window.
4. Suppose that the base map is composed of several images that you need to stitch
together. Save the first image by selecting File Save Save Image... Move to
the other parts of your area and save the images.
154
Digitizing Lines & Polygons For REDAS Using Google Earth
155
1. To start digitizing, click the Polygon button on the toolbar located above the map.
2. New Polygon window will appear. Rename the polygon by assigning a proper name
for a feature that you need to digitize. You can also change the color, thickness and
fill of the polygon outline by selecting Style/Color tab. At this point, DO NOT close
the current New Polygon window. When you move your mouse pointer outside this,
it will change its appearance to crosshair.
3. Now, you can start digitizing a feature (example, building, river, etc.). Start by left-
click on one corner. Then left-click the successive corners of the building. You will
notice that bit by bit the outline of the building is generated. When finished, move
the mouse pointer to the New Polygon window, and click OK. Repeat the steps for
making new polygons.
4. After doing all the needed features, you will see the list of the names of the
polygons in the left-panel of the Google Earth window. The polygons are all
grouped under the “Temporary Places” folder.
156
5. Right-click the “Temporary Places” label and select “Save Place As…” Save the
places on an appropriate folder. (It is advisable to save this on Desktop). Take note
that you should save the file in .kml format (not .kmz). Click Save.
157
Editing KML Data to REDAS format
1. If you save the “Temporary Places” file on Desktop, right-click “Temporary Places
Open With WordPad. WordPad window will prompt the screen.
5. In editing the file, remove all the syntax (generally with <>) leaving all the
coordinates in the text.
158
6. After removing KML syntax, add “>” or “X” to indicate lines and polygons
respectively.
159
7. Open PFE, make all the necessary adjustments. If the coordinates are arranged in
lines and not in blocks, right-click the PFE screen and select Reformat Paragraph.
Take note of the following conditions:
a. All the elevation values (represented by 0 after the value for latitude) must
be removed in ALL lines.
b. Put “>” and “X” separators for every new line/polygon
160
9. Go back to the opened PFE window in Step 3. Copy the portions of the text which
indicates the coordinates of points in the hazard map, do this by highlighting the
coordinates and pressing CTRL and C in the keyboard at the same time or click the Copy
button.
10. Shift to the Wordpad window, locate the coordinates of the points selected randomly
on Step 6. Replace these points by highlighting it and pressing CTRL and V keys at the
same time or rightclick Paste.
11. After pasting the copied data, add commas between LAT and LONG of every line.
12. Save the file by File Save.
161
Appendix B
CBMS files such as lines, polygons and point data should be in .txt files follow these
steps:
a.) Plot a line (barangay boundary, road network, etc.) by adding layer.
b.) From File drop-down menu, select Export.
162
We are now ready to convert the data to REDAS format.
d.) In the Find what field, input N and in the Replace with field, input , (comma). Click
Replace All.
e.) In the Find what field, input E and in the Replace with field, input (empty space).
Click Replace All.
163
Before Steps a to f: After Steps a to f:
g.) Open the text file in Microsoft Excel. In the Files of type field, select All files (*.*).
h.) Text Import Wizard will open. Choose your file as Delimited and start import at row
2 and click Next.
164
i.) Check box of Comma and click Next.
j.) Select General for Column Data format and click Finish.
k.) In column G1, enter the following formula to get the longitude:
=D1+E1/60+F1/3600
l.) In column H1, enter the following formula to get the latitude:
=A1+B1/60+C1/3600
m.) Right –click on column G, select Format Cells. In the Format Cells window, select
Number and change the Decimal places to 8. Do the same for column H.
165
n.) Click on cell G1, left-click on the lower right corner of the cell and drag down to the
last entry to copy the formula. Do the same for column H.
o.) Copy columns G and H to another Workbook. Right-click and select Paste Special.
On the Paste Special window, select Values and number formats then click OK.
166
p.) On the File drop-down menu, click Save As. Choos Save as type as Text (Tab
delimited)
q.) Change the extension name from .txt to .dat to convert it into REDAS format.
r.) Plot the converted CBMS file in REDAS and edit the data in PFE be sure to use “>”
in the first and last line for plotting line and “X” in plotting polygons.
Note: Do the same process in converting polygons and point data. **In plotting the point
data first you must build your database and edit it in PFE.
167
Appendix C
Prior to conversion, make sure that the dxf files are in the appropriate province folder. For
contours, rivers, roads, Create a Line folder, make a subdirectory for topomap. For
hazard maps, use polygon folder.
Important: The REDAS commits errors when encountering spaces in folder names (ex:
earthquake induced landslide maps.dwg). Use underscore “_” to replace spaces in folder
names and in files (ex: earthquake_induced_landslide_maps.dwg.)
It is also systematic to create distinct folder for each hazard and save all xyz, output and
input files there accordingly.
168
2. Click RUN DWG2DXF button. DXF2XYZ 2.0 window will appear. (Take note of the
location of the Save XYZ button. See figure below. You will use this in step 4.) Locate the
dxf file that you want to convert. Press Output Format button.
169
3. In Output Format button, check 2D and Entity Header checkboxes.
Click OK.
170
4. Press save filename.xyz. (As located in Step 1).
You will see a message at the bottom part of the window that says
“successful conversion”.
This means that the dxf file was converted to xyz format. The filename
now has an xyz extension. Proceed to Step 2.
171
2. View/edit output of geotrans by pressing “edit output” button. This is done to see if
the conversion was successful and to check some errors. The xyz is still in UTM
and two more steps are needed to convert to lat long and finally to REDAS format.
Scroll down the converted output file. The file is automatically named
geotrans_input.dat
172
Step 3: Converting geotranslated xyz (UTM) to lat long format
1. Go to redas/geotrans2.2.6/geotrans2/win folder. Click geotrans2.exe to run
Geographic Translator V2.2.6 or geotrans2.2.6
173
2. First, go to options and select “degrees” under decimal units and “+/-“ for
sign/hemisphere.
174
3. Then, select file open geotrans_input.dat.
File Processing window will open. You will see Luzon_A datum and Clarke 1866
ellipsoid as input. Make sure you are in the correct folder. Set output to wgs84 and
geodetic.
175
4. Save as geotrans_output.dat. You will need to rename to “geotrans_output.dat”
here. Make sure you are in the correct folder.
5. You will see a “Geotrans file processing” window , press “start”. Press “OK” when
completed,
176
8. Take note of how layers were named as this will be the individual layers to be
converted to REDAS format.
177
4. Save file as redas.dat file. More importantly, you can now save the converted layer
into appropriate folders (whether line or polygon). Take note to use “>” for lines
and “X” for polygons. Usually, lines are used for contours, roads, rivers and
polygons for hazard maps.
Appendix D
SQLite
Characteristics of SQLite
1. Non Server based
2. Portable
3. Easy to build database from csv file
4. not secure
5. User-Built Database
6. Possibility for Spatial extension using “SPATIALITE”
1. Copy a sample.dat file and change into .csv file. To do this, right click on the file
and change .dat extension into .csv. The file will change icon to csv format
2. Open the saved.csv file into Microsoft Excel (Spread Sheet) by double clicking the
file.
3. Insert a new column before the “LONGITUDE” and label the header with
“DATA_ID”. Enumerate the newly inserted column. To do this, type 1, 2, 3 in the
succeeding rows from the DATA_ID label.Highlight the three boxes and dobleclick
in the lower corner edge of the three highlighted box.
178
4. Add 5 new column at the last column and label the header respectively: PHOTO1,
Reminder:
Do not use any symbols ( ; “ : / = - # ) except “_” underscore in between two words.
179
8. On the SQLite Database Browser Window, select File New database Save As
filename.db in C:\REDAS\NEW_USER_DATABASE\Province\POINTS. (Note: A
Create Table Window will show, just cancel/close the window)
9. Select File Import Table from CSV File. Note: Browse for the csv file you
saved a while ago. On the Create Table from CSV File window, fill up the New
Table Name, click on the Extract field names from the first line, then Create.
180
10. Save the database by clicking on the diskette symbol and close the SQLite
Application.
11. Run REDAS 2.5.
12. Scroll down or the TABLE NAME. Load the saved Database.
13. Now you are ready to query your database, plot file, display photo and
add/delete rows.
181
182
14. Display the created database using REDAS by following the figure below.
183
15. Create a new folder in this path:
C:\REDAS\NEW_USER_DATABASE\Province\POINTS\PHOTOS\UNIT_ID
Copy the file name and paste in the table, click on the next row for it to be saved.
Note: the file name should have no spaces and have .jpg extension
184
Appendix E
When a program is running, or executing, it is said to be in runtime. The term is mostly used by
programmers to specify when errors in a program occur. A runtime error is an error that happens
while the program is executing.
In REDAS, when runtime error occurs, a small error window will appear, displaying the error
message. Error windows look like this:
Run-time Error '339' Component 'comdlg32.ocx' or one of its Copy the comdlg32.ocx from the folder
dependencies not correctly registered: a REDAS/other required
file is missing or invalid. files/package/support, then paste in the
c:/windows/system32. (In some cases,
copy it in the drive c root directory is
enough). Restart the computer then
REDAS will work.
Error ‘55’ Error in encoded data Edit the .dat file using PFE or
Wordpad. Look for error in
typing/syntax. Save.
Error ‘13’ Full Memory Click data, memory reset
Runtime error 9 This happens during Seismic Hazard Select only a small area to conduct the
Assessment module when the whole seismic hazard assessment
Philippines is selected instead of a small
area only
Error ‘11’ Division by zero when plotting tsunami In C:\REDAS, right click .gmtdefault4
circles. and open with Wordpad, then change
the following: D_format=%.12g to
%1g. (if already %1g, retypr as %1g).
Then edit OUTPUT_degree format and
Change D to +D. (if already +D, just
change to +D). Then “Save”.
Fatal Error Program was not built to run on the Usually this happens when the OS is
processor on your system. the allowed not legal. The new GMT conflicts with
185
processor are Intel ® etc. the OS. To solve, rename the GMT
with GMT_new and rename the
GMT_old with GMT.
186
Appendix F
Computer Basics
Windows Interface
Mouse Operations
187
Miscellaneous User Interface
188
Appendix G
Day 1
07:00AM Registration
Pre-installation of REDAS software
08:00AM Opening Ceremony
09:00AM Orientation/Briefing (House Rules)
09:15AM Introduction to PHIVOLCS
09:45AM Coffee Break
10:00AM Earthquake and Earthquake Hazards
10:45AM Hydro meteorological Hazards
11:30AM Introduction to REDAS
Day 2
08:00AM Learning REDAS Features (Part 1)
09:45AM Exercise 1. Plotting base maps of your municipality
10:00AM Coffee Break
10:15AM Learning REDAS Features (Part 2)
Exercise 2. Plotting risk maps of your municipality
Day 3
08:00AM Learning REDAS Features (Part 3):Built-in hazard and Risk Data
Exercise 4. Plotting the hazard and risk in my municipality and filling
up Template 1*
189
10:00AM Coffee Break
10:15AM Seismic Hazards Assessment
Exercise 5. Prepare ground shaking map for specific Earthquake
Day 4
08:00AM Fieldwork (GPS measurements)
11:15AM Data Uploading and Putting GPS data into REDAS
Day 5
08:00AM Workshop / Participants presentation
10:00AM Coffee Break
01:00PM Reviewing REDAS functions
01:30PM Starting to use REDAS at my office
190
Appendix H
The Rapid Earthquake Damage Assessment System Software, hereafter referred to as REDAS, is a
copyrighted software, protected by Philippine laws on Intellectual Property Rights. The software is licensed,
not sold.
2. UPGRADES. Future upgrades of REDAS, if and when available, and technical assistance will also
be provided by PHIVOLCS-DOST at no cost. If the REDAS Software is an upgrade, you may use or
transfer the REDAS Software only in conjunction with the upgraded product. You may now use the
upgraded product only in accordance with this agreement.
3. SUBSCRIPTION UPDATES: Third-party users of REDAS through collaboration with the Primary
Users shall first secure written consent from PHIVOLCS-DOST.
4. COPYRIGHT: All title and copyrights in and to the REDAS Software (including but not limited to any
images, photographs, animations, video, audio, music, text, and “applets” incorporated into the
REDAS Software), the accompanying printed materials, and any copies of the REDAS Software are
owned by PHIVOLCS-DOST. The REDAS Software is protected by copyright laws. Therefore, you
must treat the REDAS Software like any other copyrighted material except that you may either (a)
make one copy of the REDAS Software solely for backup or archival purposes or (b) install the
REDAS Software on a single computer provided you keep the original solely for backup or archival
purposes.
191
a. Limitations on Reverse Engineering, Decompilation and Disassembly. You may not
reverse engineer, decompile or disassemble the REDAS Software, except and only to the
extent that such activity is expressly permitted by applicable laws notwithstanding this
limitation.
c. Software Transfer. You may permanently transfer all of your rights under this Agreement,
provided that you retain NO COPIES, you transfer all of the REDAS Software Products
(including all component parts, the media and printed materials, any upgrades, this
Agreement and if applicable the Certificate of Authenticity) and the recipient agrees to the
terms of this Agreement. If the REDAS Software is an upgrade, any transfer must include all
prior version of the REDAS Software.
d. Freeware. As the REDAS Software package comes with freely distributable software such
as GMT, ImageMagick, GhostScript and Pfe, the users should strictly abide by the User
Agreements set by the respective software developers and distributors.
I hereby agree to the terms and conditions of this End-User License Agreement for the
REDAS Software
______________________________________
Printed Name/ Signature of REDAS User
Date: ________________________________
192
Appendix I
Index
193
-format and structure -Installation
map operations -loading existing -Launching
-saving -appending/updating
-editing -attaching photographs REDAS errors
-printing -creating new
-annotating -plotting risk database