Making use of QGIS, BLAST and POSTGRESQL to assess MSS and LAT
In order to provide calibration geoids for subsea surveying in European waters I created this small workflow/guideline. Use with care.
Download and install PostgreSQL with PostGIS , PgAdmin3 and QGIS in case you havent yet
Follow this link to download PostgreSQL with PostGIS
https://www.enterprisedb.com/software-downloads-postgres
Here you need to get EDB Postgres Standard / PostgreSQL >= 9.6
After having chosen the right location for the program files, make sure you choose the hard drive where you want to have your database. I used an internal Solid State Drive to ease on speed. At the end of the installation you will have the possibility to install addons. Here you have the option to install PostGIS and create a sample Database. Do this.
Follow this link to install PgAdmin3
https://www.pgadmin.org/download/
At the time I wrote this I wasnt being very succesful with pgAdmin4, hence I recommend pgAdmin3.
Follow this link to install QGIS
https://qgis.org/en/site/forusers/download.html
The Standalone installer will do for now.
Follow this link to get BLAST
```
http://blast-project.eu/media.php?file=604
```
```
ftp://ftp.space.dtu.dk/pub/DTU15/2_MIN/
```
Mouse yourself into PgAdmin3 to dtu/Schemas/Tables(0) and run the following QUERIES to create the database.
Open QGIS, on the browser, look for the pink blue elephant and right click on it, >Add new PostGIS connection
Add your username and password
Go to the DBase manager inside QGIS
For this we will run the derived MSS file through BLAST
To get BLAST running you just need to decompress BLAST in your program file folder. Afterwards make sure to make a folder in
your C drive entitled blastdata C:/blastdata
Inhere paste 2 folders, vrf and masks. They are located in the decompressed blast
folder.
Title lat lon newheight country syst
A0001 58.25 2.8667 44.176 8 2
A0002 58.25 2.9 44.155 8 2
A0003 58.25 2.9333 44.13 8 2
A0004 58.25 2.9667 44.106 8 2
A0005 58.25 3 44.086 8 2
A0006 58.25 3.0333 44.067 8 2
...
C:\ProgramFiles\BLAST_height_transformation_tool\blastrafo_release1.1\examples
The resulting dtu_lat.inp.out is your resulting LAT model.
Open it with EXCEL in order to edit the variable space between columns and save it as a flatsimple CSV.