OpenStreetMap logo OpenStreetMap

hfs's Diary

Recent diary entries

Mapping 360,000 buildings in Germany

Posted by hfs on 11 November 2021 in English.

A great team effort to map missing residential buildings in Germany was recently concluded. Many motivated mappers worked together to add 360,000 buildings all over Germany.

If you’d like to take part in the next round, come join the party at

➡️ MapRoulette: Add buildings in Germany!

Background

This mapping effort began when populated areas in Germany were identified that had neither buildings nor residential land use mapped. A MapRoulette challenge was set up and 14,330 new land use areas and 17,440 buildings were mapped in only 43 days. You can read about the details in my previous blog post MapRoulette: Unmapped residential areas in Germany.

This blog post is about the second round that started afterwards in January 2021.

Procedure

The idea was to find residential or farm yard areas without any buildings. These should contain buildings for sure, or the land use information should be corrected. (Later it turned out that farmyards without fixed buildings are legitimate.)

To this end I imported the Germany dump of OSM into a PostGIS database while already filtering for the desired land use and building types. In PostGIS I spatially intersected the buildings with the land use polygons and removed all land use areas which touched any building.

Map of land use and building polygons

The green and purple areas are land use areas. Light red are buildings. Purple areas are land use areas which don’t contain any buildings and are the ones that were exported to become challenge tasks.

This maps shows the distribution of tasks over Germany:

Map of Germany showing land use areas without buildings

The challenge tasks were exported in GeoJSON format and used to create challenges in MapRoulette. The 25,936 tasks were too many to stuff them all into one challenge. That’s why they had to be split up into separate challenges per state and even some counties in Niedersachsen with especially many tasks.

Results

All the tasks were completed over the course of 255 days from January to October 2021 meaning a rate of roughly 100 tasks per day. 175 mappers took part in the challenge.

MapRoulette completion statistics

In total 363,489 buildings were added, but also 3,481 land use areas and 7,068 streets, as mappers were also adding details around the immediate task at hand. MapRoulette records how much time a mapper spends on each task. If the measurement is correct, buildings were created at an average rate of 131 buildings per hour.

Impact

As residential land use areas without any buildings are mainly found in rural or undermapped areas, I hope this project gave a nice push to these regions.

Here are two nice examples where two municipalities got full building coverage over the course of this project:

Ostrhauderfehn

Selsingen

Contributor stats

The most prolific mapper alone solved 7,443 tasks and added a phenomenal 126,656 buildings. So this hero shouldered 1/3 of the total work. Otherwise the participation follows the typical Pareto distribution of volunteer contributions. The next 3 mappers did about 33 % of the tasks. All top 10 mappers completed 80 % of the tasks. 44 users solved only 1 task. 64 users solved 2–10 tasks.

I also found it interesting how many mappers started in their home area and then moved on to areas further away. Here’s a map showing which contributor was most “dominant” in an area, i.e. solving the most tasks per hexagon.

Map of contributors

Lessons learned

Some conclusions about the project:

Mappers tend to work on their home region first. The regional splitting leads to mappers staying in their region more. I think it would be better to have all tasks in one large challenge. Then MapRoulette would guide mappers to underserved regions more. The performance of the MapRoulette web app would need to be snappier, though.

Too large tasks are scary and demotivating. Tasks should be small and easily digestible, i.e. take a few minutes to solve at most. This gives people a sense of progress and an easy way to contribute small amounts of time. In the follow-up project land use areas were split up to generate smaller tasks.

And did we make a dent in the number of buildings in Germany? No! This graph shows the number of buildings in Germany per month (using the ohsome Dashboard).

Graph of the number of buildings in Germany per month

You can see that 150K buildings are added every month at a quite constant rate. This project running from January to October 2021 did not have a noticeable influence on that.

Source code

If you want to run a similar analysis for your region of interest, feel free to check out the used scripts at https://github.com/hfs/landuse_without_buildings/tree/1.0.0 . It should be reasonably straightforward to run it for a different region.

Location: 26842, Ostrhauderfehn, Landkreis Leer, Lower Saxony, Germany

While working with the high-resolution data of the German census 2011, I noticed that there are still surprisingly many residential areas that are neither recorded as landuse=residential nor as building=*. This concerns mainly linear settlements or farms in the northwest of Germany.

There is now a MapRoulette-Challenge to map at least the landuse for these areas:

Unmapped residential areas in Germany

Please jump in and help if you are interested!

As a source for the challenge I compare the 100m×100m grid cells with the landuse and building polygons, which indicate residential areas: landuse=residential, but also landuse=farmyard, landuse=allotments and some more. For the buildings the residential types building=detached, building=house, etc. are used, but also building=yes.

In the process all census raster cells are deleted, which are at least touched or covered by these polygons. Then all clusters of connected grid cells are combined into one polygon. Of these, again only those are used, in which there are at least 12 persons living according to the census and which contain at least 2 raster cells. The priority of the tasks is set according to the number of inhabitants, so that “worse” cases are presented first in MapRoulette.

With this rigorous filtering I hope that really only the legitimate cases will be left. After all, there are still 2760 cases, so enough to do. The 2011 census is already quite old. Where several people lived 10 years ago, hopefully some of them will still live today.

A map of the mainly affected areas in northwest Germany:

A map of Germany with dots for all places where residential areas seem to be missing

More technical details and source code: https://github.com/hfs/unmapped-census

Location: 26676, Barßel, Cloppenburg district, Lower Saxony, Germany

Der Tagesspiegel bringt legt seinen Zeitungen alle Jahre wieder die „Radpartie“ bei. Das sind wöchentliche Serien mit jeweils einem Radtouren-Vorschlag mit Karte und Beschreibungstexten als kleines Faltbooklet zum Mitnehmen.

Neu ist dieses Jahr, dass Openstreetmap-Daten als Grundlage für die Karten dienen. Sie haben zwar Ihren eigenen Kartenstil, aber an manchen Details, wie z.B. dem ultragenau erfassten Golfplatz im Bild unten, kann man es dann doch erkennen.

Neu ist außerdem die Kooperation mit komoot, einer Wander-/Rad-Navi-Software für’s Smartphone, die ebenfalls auf OSM-Daten basiert. Man tippt einen Gutscheincode in die App ein und bekommt die vorgeschlagene Route gleich in der App angezeigt.

Hier ein Kartenausschnitt: Kartenausschnitt der Radpartie 2 – Wannsee

Location: Babelsberg Nord, Babelsberg, Potsdam, Brandenburg, 14482, Deutschland