Tuesday, 21 December 2010

Master courses in Germany taught in English Language

Here are the list of Master studies in German Universities that are taught in English ! Only few universities offers course in English in Germany nevertheless there are quite a few courses ranging from business management to engineering. When i was collecting information in Internet about different Master courses in Germany offered in English, I myself was much surprised. In total, I found out more than 500 different courses that are offered in English.

Most of the Master studies are of two years. Please be noted that education used to be free in Germany till some years back now almost all the states in Germany charge fees for education ( known as Studiengeb├╝hren in German Language). But the good thing is that fee charged is relatively less compared to fees charged elsewhere like in UK, Australia of US. At present, the fee stands at 500 euro pro semester.  Not all the Master courses offered scholarship. Only handful of  Master courses are supported by DAAD.

I hope this map will be helpful for people who want to come to Germany for their further studies.

Master courses in Germany taught in English Language

Here are the list of Master studies in German Universities that are taught in English ! Only few universities offers course in English in Germany nevertheless there are quite a few courses ranging from business management to engineering. When i was collecting information in Internet about different Master courses in Germany offered in English, I myself was much surprised. In total, I found out more than 500 different courses that are offered in English.

Most of the Master studies are of two years. Please be noted that education used to be free in Germany till some years back now almost all the states in Germany charge fees for education ( known as Studiengeb├╝hren in German Language). But the good thing is that fee charged is relatively less compared to fees charged elsewhere like in UK, Australia of US. At present, the fee stands at 500 euro pro semester.  Not all the Master courses offered scholarship. Only handful of  Master courses are supported by DAAD.

I hope this map will be helpful for people who want to come to Germany for their further studies.

Friday, 17 December 2010

Visualization in Google Earth generated with KML using MATLAB

Well, I am bored again. That means time to write a new post :) . This time, I am going to utilized the knowledge that i have gained while writing my previous post KML creation with Matlab. I will show you Embassies of Nepal that are in different part of the world. I have used the same code that I have explained in the previous post and modified it so that i can display Embassy location as markers together with path connecting capital of Nepal and a particular Embassy location. The information about Nepalease Mission Abroad was taken from a page of Ministry of Foreign Affairs of Nepal. However, it doesn't contain latitude and longitude information that are required to draw point in Google Earth but instead it has only Address information. Therefore I downloaded the page information in MS Excel and formatted it as a list. Now, I have address information of each Embassy which needed to be Geocoded to get information about its latitude and longitude. Therefore, i wrote a PHP code which will send the addresses one at a time to Google and returns latitude and longitude information as a list. For those who are not familiar with PHP, similar task of converting address list to latitude and longitude list can be also achieved with this site.

Now my list in Excel looks like this.



Using that table and some coding in MATLAB, I created this beautiful visualization in Google Earth. Now that's cool. Isn't it? Flag of Nepal represents embassy of Nepal in that location and when a user clicks on it, information about it will be displayed in the pop up balloon. Double clicking on it, will zoom the Google Earth to that location.


I will write about the step wise explanation of MATLAB code to create such visualization next time when i will be bored again :). Now I am off for couple of beers after all its Friday evening! Ohh yeah!!

Visualization in Google Earth generated with KML using MATLAB

Well, I am bored again. That means time to write a new post :) . This time, I am going to utilized the knowledge that i have gained while writing my previous post KML creation with Matlab. I will show you Embassies of Nepal that are in different part of the world. I have used the same code that I have explained in the previous post and modified it so that i can display Embassy location as markers together with path connecting capital of Nepal and a particular Embassy location. The information about Nepalease Mission Abroad was taken from a page of Ministry of Foreign Affairs of Nepal. However, it doesn't contain latitude and longitude information that are required to draw point in Google Earth but instead it has only Address information. Therefore I downloaded the page information in MS Excel and formatted it as a list. Now, I have address information of each Embassy which needed to be Geocoded to get information about its latitude and longitude. Therefore, i wrote a PHP code which will send the addresses one at a time to Google and returns latitude and longitude information as a list. For those who are not familiar with PHP, similar task of converting address list to latitude and longitude list can be also achieved with this site.

Now my list in Excel looks like this.



Using that table and some coding in MATLAB, I created this beautiful visualization in Google Earth. Now that's cool. Isn't it? Flag of Nepal represents embassy of Nepal in that location and when a user clicks on it, information about it will be displayed in the pop up balloon. Double clicking on it, will zoom the Google Earth to that location.


I will write about the step wise explanation of MATLAB code to create such visualization next time when i will be bored again :). Now I am off for couple of beers after all its Friday evening! Ohh yeah!!

Friday, 10 December 2010

KML creation using MATLAB

In this post, I would like to show MATLAB capabilites for handling XML file. Specifically, I will show you how to create a DOM from scratch and then build up a simple XML document. The data I will use is a excel file with longitude and latitude information of number of points along the border of my country Nepal. Using the MATLAB capabilites for handling XML file, i will show how to generate KML out of it which can be readily visualize in Google Earth.

Here is a glimpse of Excel file to show how the data is stored in the Excel.


MATLAB provides a Java method com.mathworks.xml.XMLUtils.createDocument() to create a new node. In this example, we create the top level ("root" or "document") node to be named KML then populate it with child nodes with necessary information.

Step 1) Create a structure in MATLAB to store the data in the Excel file and populate the data in that structure. MATLAB provides a simple function xlsread by which xls files can be easily read.



Step 2) Create a top level node  and other necessary child level node. Since, we want to display multiple markers in KML, we need it store multiple points in a folder. In addition, I want to also show you how to display cutom markers in KML instead of using Google's default red markers. To create node, you will use .createElement ( ) and to insert node into a  super node, you will use .appendChild ( ). Value of a node is set using .setTextContent ( ) and attributes of a node is set using .setAttribute ( ). In the example, I have stored the image location of a flag of my country Nepal in the hrefNode  and set id attributes of the node StyleNode to nepal.



Step 3) Create multiple Placemarks node and store longitude and latitude information. For this, I am using a loop to create a placemarkNode as well as necessary other nodes and populating the cordinatesNode  with longitude and latitude information from the structure created beforehand using .setTextContent ( ).


Step 4) Store the thus created xml as KML file with xmlwrite function.


Step 5) View the file thus created in a Notepad ++. By the way, if you are still using convetional Notepad that comes with windows, give a shot to Notepadd++ which is much superior to Notepad and supports many programming language.




Step 5) Visualize the KML file. Download the KML file here.






KML creation using MATLAB

In this post, I would like to show MATLAB capabilites for handling XML file. Specifically, I will show you how to create a DOM from scratch and then build up a simple XML document. The data I will use is a excel file with longitude and latitude information of number of points along the border of my country Nepal. Using the MATLAB capabilites for handling XML file, i will show how to generate KML out of it which can be readily visualize in Google Earth.

Here is a glimpse of Excel file to show how the data is stored in the Excel.


MATLAB provides a Java method com.mathworks.xml.XMLUtils.createDocument() to create a new node. In this example, we create the top level ("root" or "document") node to be named KML then populate it with child nodes with necessary information.

Step 1) Create a structure in MATLAB to store the data in the Excel file and populate the data in that structure. MATLAB provides a simple function xlsread by which xls files can be easily read.



Step 2) Create a top level node  and other necessary child level node. Since, we want to display multiple markers in KML, we need it store multiple points in a folder. In addition, I want to also show you how to display cutom markers in KML instead of using Google's default red markers. To create node, you will use .createElement ( ) and to insert node into a  super node, you will use .appendChild ( ). Value of a node is set using .setTextContent ( ) and attributes of a node is set using .setAttribute ( ). In the example, I have stored the image location of a flag of my country Nepal in the hrefNode  and set id attributes of the node StyleNode to nepal.



Step 3) Create multiple Placemarks node and store longitude and latitude information. For this, I am using a loop to create a placemarkNode as well as necessary other nodes and populating the cordinatesNode  with longitude and latitude information from the structure created beforehand using .setTextContent ( ).


Step 4) Store the thus created xml as KML file with xmlwrite function.


Step 5) View the file thus created in a Notepad ++. By the way, if you are still using convetional Notepad that comes with windows, give a shot to Notepadd++ which is much superior to Notepad and supports many programming language.




Step 5) Visualize the KML file. Download the KML file here.