Shaded map generation

User interface and rendering result
User interface and rendering result

I made this project with my colleague Clément Nussbaumer for an object-oriented programming course taught by Michel Schinz at EPFL Switzerland. The idea was to combine two types of data; some geographic data coming from the OpenStreetMaps project and digital terrain elevation data to produce a shaded map in the same style as the swiss national map.

Guidelines were given during the project as well as java classes behaviour description. Our task was to implement the required functionalities in a clean and efficient way. At the end of the semester, the possibility was given to enhance the software with additional features or different algorithms to treat the data.

Initially, the rendering of the map used gaussian blur when the resolution (of 1 arc-second) of the digital elevation model was unsufficient. Therefore, to enhance the project, we modified it so it now uses Gouraud shading, a technique of bilinear interpolation which gives nice results with better performance. You can find more on that subject in the wiki of the project. While at first the software necessitated the use of command line, we also added a graphical user interface which will hopefully make things a bit easier on the user side.

Source code

User interface and raw map rendering
User interface and raw map rendering
User interface and raw shading rendering
User interface and raw shading rendering