/lab6

Primary LanguagePython

Data and Sources

The data used in this program refers to several information about cities in Switzerland and Germany. The cities are Zürich, Geneva, Basel, Lausanne, Bern, Berlin, Hamburg, Düsseldorf, Munich, and Dresden.

The data about about the city are the following :

  • name : name of the city

  • location : Geographical decimal coordinates of the city

  • area : area of the city in squared km

  • population : number of inhabitants

  • density : population density (inhabitans/km²)

  • gdp : Gross Domestic Product in billion Euros

  • elevation : mean altitude of the city in meters.

All the information about the cities was retrieved from Wikipedia and the coordinates were extracted from a website called LATITUDE. The polyline line data of the coastline of Europe was obtained as part of the class of Introduction of Software Programming from the Msc in Geoinformatics and Spatial Data Science at WWU.

Defined Classes and UML class diagrams

The following figure demonstrates how classes were defined for the execution of this program.

UML Class Diagram