Skip to content
/ Imhof Public

Pretty geographical maps generation 🔰

Notifications You must be signed in to change notification settings

droduit/Imhof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Imhof

Pretty geographical maps generation 🔰

Description

The goal of the Imhof project, named in honor of the cartographer Eduard Imhof, is to write a program for drawing topographic maps in a style similar to that of Swiss maps, from freely available data. These data come partly from the project OpenStreetMap, and on the other hand from the site viewfinderpanoramas by Jonathan de Ferranti.

The map of Interlaken and its region, shown in Figure 1 below, was generated using the program. The style of this map draws heavily on that of national topographic maps.

Figure 1: Interlaken and its region. Image generated by the Imhof program

For comparison, Figure 2 below shows the official 1:50,000 map for this same region.

Figure 2: Interlaken and its region (© swisstopo)

The program to be produced does not include a graphical interface. It simply takes as input two data files — the first containing the OpenStreetMap data, the second the terrain model — as well as information concerning the area to be drawn, and outputs a map image.

Figure 3 below illustrates the general organization of the program. On the one hand, OpenStreetMap data is loaded from an OSM file (in XML format) then transformed into simple geometric entities (segments lines and polygons) before being drawn to obtain a map without relief. On the other hand, the altimetric information is loaded from a DEM file (in HGT format), then transformed into a relief image. These two images are finally combined to get the final relief map.

Figure 3: Program organization

Contributors

  • Dominique Roduit
  • Thierry Treyer

About

Pretty geographical maps generation 🔰

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages