Skip to content

AlexandraKapp/30daymapchallenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

30daymapchallenge

https://alexandrakapp.github.io/30daymapchallenge/

What is the 30dayMapChallenge?

My results

The idea is to make 30 maps from each day from 1st Nov to 30th Nov 2020. I hope to get about half done - so 15 maps.

I want to use this challenge to play around with different R packages for geospatial data and try out different ways of interactive visualizations.

Day 1: Points

Amount of cars in XHain mapped as points onto streets

There are 80.808 cars registered in Friedrichshain-Kreuzberg (2017).

If all cars would start driving at the same time - it'd get pretty crowded

Click here for full map

The polygon of the streets are derived as a 'negative' from the official blocks provided by the Geoportal Berlin. Points to represent cars are sampled randomly within the polygon.

R source code

Data:

Tools & Packages:

Day 2: Lines

All domestic German flights 2019

About 10% of all flights from German airports are domestic flights - so starting in Germany and landing in Germany.

The amount of flights between German airports are mapped here:

Click here for full map

R source code

Data:

Tools & Packages:

Day 3: Polygons

The catchment area of boulder gyms in Berlin

Playing around with Voroni maps: "Voronoi polygons are created so that every location within a polygon is closer to the sample point in that polygon than any other sample point."

Here: All boulder gyms (that I know of) in Berlin. If everyone would go his or her closest gym (by beeline), this would be the catchment areas of each boulder gym.

Click here for full map

R source code

Tools & Packages:

Day 4: Hexagons

Traffic accidents in Stuttgart

The 'Statistikportal' offers a great data set on (almost) all accidents in Germany as single points. The mapdeck package auto aggregates point data into hexagons - so no need for data pre-processing.

I chose to crop the data to the outline of Stuttgart - but any other region or city can easily be used with the code by setting a different outline.

Click here for full map

R source code

Data:

Tools & Packages:

Day 5: Blue

Day 6: Red

Rotpunkt

Today is another one on climbing - it's less about the mapping tools.

In sport climbing, redpointing is free-climbing a route, while lead climbing, after having practiced the route beforehand. The English term "redpoint" is a loan translation of the German Rotpunkt coined by Kurt Albert in the mid-1970s at Frankenjura. He would paint a red X on a fixed pin so that he could avoid using it for a foot- or handhold. Once he was able to free-climb the entire route, he would put a red dot at the base of the route. In many ways, this was the origin of the free climbing movement that led to the development of sport climbing ten years later. Wikipedia

This map shows all notable ascents according to Wikipedia.

Click here for full map

R source code

Data:

Self compiled data set using:

Day 7: Green

Day 8: Yellow

Hours of sunshine in Germany 2019

Where in Germany was a lot of sunshine in 2019 - where was it rather grey?

Click here for full map

R source code

Data:

Tools & Packages:

Day 9: Monochrome

The life lines of Berlin

A fast way to find major streets within a city, without searching for any data on traffic amounts, street types or street width:

Take random start and end points within the city and run a routing to find routes connecting the start and end points.

Then aggregate the single street segments on how often they were used. You then get an image of the major city axes.

Big thanks to the stplanr package, which makes this easily done within a few lines of code!

Click here for full map

R source code

Tools & Packages:

Day 10: Grid

Which cuisine can you eat where in Berlin?

Click here for full map

R source code

Tools & Packages:

Data:

OpenStreetMap via osmdata package

Day 11: 3D

Mapping the alpes in 3D

Playing around with the mapdeck::add_terrain() function. Not perfect yet, but works for a first try.

Click here for full map

R source code

Data:

Elevation data with Mapbox Tiles:

Tools & Packages:

Day 12: Map not made with GIS software

Day 13: Raster

Noise in Berlin

OpenGIS Web Services (OWS) define geospatial standards to provide geo data, like WFS (Web Feature Service) for vector data and WMS (Web Map Service) for raster data. Yet, these standards are not widely known with developers or data analysts who are used to working with ESRI-shape files, geojsons, etc.

Some spatial data infrastructure providers, as the Geodatenportal Berlin (FIS-Broker) only offer these services and no further file download.

There are some resources on how to use those services in R, e.g. here some general info and here more specific for the Berlin FIS-Broker.

Though, all example code was on retrieving vector data of WFS services. For todays challenge "raster" I wanted to try out, how easy it is to get raster data (WMS) straight into R.

It's not entirely straight forward, as you need to find some parameters (e.g. "layers") through the getCapabilities query first. Then you retrieve a PNG where you need to set a proper georeference again, with a bounding box and CRS. Therefore, I still find the easiest way for a one time download to use QGIS (I wrote a blog post on how to do that at the Technologiestiftung Berlin), as QGIS does all this setting the correct parameters already for you.

Click here for full map

R source code

Data:

Geodatenportal Berlin: Strat. Lärmkarte Gesamtlärmindex L_DEN (Tag-Abend-Nacht) Raster 2017 (Umweltatlas)

Tools & Packages:

Day 14: Climate change

Area of destroyed rain forest in 2019

In 2019 121.500 square km of rain forest had been destroyed. But how much is that? This map shows a polygon as large as the destroyed area that can be moved to any spot on the map to compare it to.

Click here for full map

R source code

Data:

Tools & Packages:

Day 15: Connections

Day 16: Island(s)

Day 17: Historical map

Day 18: Landuse

Day 19: NULL

Day 20: Population

Movement within Berlin ("Binnenwanderung")

Many people are moving to Berlin from other places - especially the center - "im Ring" - is popular for people comiing to the city. But once in Berlin - how do people move between the different districts ("Binnenwanderung")? More people move from the center districts to the outskirts. (Data from 2013)

Click on a district to see where the people are coming from that move to this district.

Click events on leaflet maps are possible with shiny observe events.

Click here for full map

R source code

Data:

Tools & Packages:

Day 21: Water

Day 22: Movement

U-Bahn trains moving through Berlin

All U-Bahn trains moving through the city on a regular Monday using the {mapdeck::add_trips()} function.

Click here for full map

R source code

Data:

Tools & Packages:

Day 23: Boundaries

Day 24: Elevation

Day 25: COVID-19

Day 26: Map with a new tool

Flight departures by Airport in Germany

Today is not made with R, but with Datawrapper

Click here for full map

R source code

Data:

Tools & Packages:

Datawrapper

Day 27: Big or small data

Day 28: Non-geographic map

Day 29: Globe

Day 30: A map

Create your own basemap with Mapbox Studio

Ever wanted pink rivers or lilac streets on your basemap? That can easily be done with Mapbox Studio.

Click here for full map

R source code

Tools & Packages:

Mapbox Studio

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages