## A new toy for research: Drone

It is great that our team is able to buy a new instrument, Drone, to help with our research and project. The drone is the DJI Phantom 3 Standard. It costs only RM1,830. This drone has GPS, which is the main criterion that we decide to buy, and it is the cheapest drone with GPS on the market.

The drone will use especially on the terrain, flood, and settlement mapping. I think the usage of the drone can be utilized more if we explore more.

Here some picture and analysis from the drone.

Drone in the package

Our Drone

analysis of drone image. its take a lot of time!

DEM that produced from the drone image

Noted: How to use the drone for mapping, I will discuss in the following post.

## Mencari Parameter dan Simulasi Model Neyman-Scott

Assalamualaikum & Salam Sejahtera,

Berikut adalah tutorial untuk mencari parameter untuk model Neyman-Scott, serta cara simulasi bagi mendapat data hujan (skala sejam). File sokongan dan source code untuk tutorial boleh dimuat-turn disini (Link).

PART 1: Mencari ciri-ciri hujan setiap bulan

PART 2: Mencari parameter Nyeman-Scott menggunakan ABC optimization (MATLAB code)

PART 3: Simulasi hujan skala sejam menggunakan model.

## Import data ke HEC-DSSVue

Saya ada menyediakan tutorial yang mudah untuk memasukkan data hujan dan sebagainya ke dalam HEC-DSSVue. Program ini boleh didownload dari HEC dan digunakan untuk membantu perisian HEC yang lain seperti HEC-HMS dan HEC-RAS.

Berikut tutorial dalam bahasa.

## Normalize values in a matrix to be between 0 and 1 (Matlab Tips)

I’m run a function in Matlab and it requires a matrix of variables within 0 and 1. The way to normalize the values to be between 0 and 1, and transform back to the original matrix as follows:

```b = [10; 0; 1; 1];

%% normalized matrix B to 0 and 1
normB = b - min(b(:));
normB = normB ./ max(normB(:))

%% transform normalized matrix B to the original matrix
B_sim = normB_sim .* max(b(:))```

Make sure, when transforming normalized matrix to the original matrix, you provided the maximum value of the original matrix. It not, the code cannot be run.

## Multiple colors to features within a single shapefile

I have received one shape file from a friend, who has a lot of features and attributes. However, it is within a single shapefile. So, it is difficult to me to recognise their features, since QGIS is only displayed one colour.

There is actually a way to display multiple colours of features although you have a single shape file. You can change the styles of the shape file in the layer properties. Double click the layer and select style. Select Categorized style and choose a field you want to visualize. Remember to classify your values before leaving the dialogue.

## Soil & Water Assessment Model (SWAT) in QGIS

It is a good news that SWAT can be run in QGIS. This integration is known as QSWAT and can be download from the official website of SWAT (http://swat.tamu.edu/).

I include a good tutorial that I found on the internet for the reference.

## Import “starred places” into a My Map

There is a situation, you have saved several places in Google Maps and you want to display all those places in one map in Google Maps. How to do it? It is a way to do it, by using My Maps. However, there is no way to add them through My Maps directly. Here the tips from this link to do it:

1. Export them using Google Takeout
2. Export them from “Google Maps (My Places)”, not from “Bookmarks”. They will be downloaded as a GeoJSON file.
3. Use this site to convert the file to KML GeoJSON
http://nearby.org.uk/convert-saved-places.php
4. Once download the KML file, can import it into the custom map.

## Using HEC-GeoRAS for the HEC-RAS modelling (Videos Expired!)

Note: All video tutorials have been expired!. I will make the videos to replaced expired videos soon. Sorry for the inconvenience caused. – zulkarnain

If you do HEC-RAS for the flood or water quality modeling, HEC-GeoRAS may help you. In general, HEC-GeoRAS is a plugin in ArcGIS, to help to process geospatial data from the raster image. 1) It is very helpful that allows the preparation of geometric data for import into HEC-RAS and 2) helps to display the GIS outcome, based on the outcome of HEC-RAS. This software can be download from this link.

### Preparation of geometric data for import into HEC-RAS

To create the import file, the user must have an existing digital terrain model (DTM) of the river system in the ArcInfo TIN format. The user creates a series of line themes pertinent to developing geometric data for HEC-RAS. The themes created are the Stream Centerline, Flow Path Centerlines (optional), Main Channel Banks (optional), and Cross Section Cut Lines referred to as the RAS Themes.

These are the best tutorial that I obtained from youtube:

Part 1

Part 2

Part 3

Part 4