 Hi, this is Hans van der Klaas Senior Lecturer at IHC Delft Institute for Water Education. In this video we are going to make a fun map, not for a particular reason, just for fun, a Lego map of the Rurc catchment. I have combined knowledge from other videos and tutorials that I found on the internet and applied it here to the Rurc catchment. What we need is a polygon layer with the boundary of the catchment and a digital elevation model. The first step is to create a regular grid. You find it under the research tools, create grid. The grid type is rectangles. We want rectangles to get this kind of raster. And I use the layer extent from the Rur boundary polygon layer. Now we need to give a horizontal and a vertical spacing. We can use the measure tool to estimate the size of our Lego bricks. And I think here around three kilometers would be okay. So I switch the units to kilometers and I use three kilometers for the horizontal and the vertical spacing. And I run it and it creates the regular grid with the three kilometers spacing. We use select by location to select those pixels that intersect with the Rur boundary. If we would use clip, it will also clip to the boundaries and we will use the rectangles at the boundaries. So now I have a selection of those grid cells that intersect with the boundary. If I invert the selection, then I can remove it and we now only have those grid cells that overlap with the boundary. The next step is to get the mean elevation per grid cell. I use the zonal statistics. So the input is the DEM and the vector layer is the grid. I can make an output column prefix that I call DEM and I want the mean value. Let's check in the attribute table and I see there the mean values of the DEM for each grid cell. Now we are ready to do the styling. In this case we use the graduated renderer and we choose there the DEM mean field and I'm going to use the same color ramp that I used for the DEM and this is Vicky Knutuck's one and you can use a distribution that you like. I use here natural breaks, janks in five classes. Now you can double click on a color and refine the styling to look like Lego bricks. Therefore we need to add three more of these symbol layers. So in total we have four. Let's get back to the lowest one which is the shadow and first do the one that represents the grid color. We can sample the color from the map and I just need to change the properties of the stroke, make it black and then 87% opacity and for the shadow that's the lowest one I'm going to change the fill color also to black and I use a 54% transparency opacity. Use no pen for the stroke style and I give it an offset of 0.45 for both X and Y and now you can already see in preview a little shadow that is dropped. Now we need to change the first two symbol layers. You can use the geometry generator but it's easier to use the centroid fill which automatically sets it to the centroids of those grid polygons. I change the simple marker of the first one to take the color sampled from the legend. I change the stroke color to black and the opacity of 87% and the stroke width of 0.1 and for the second symbol layer I'm going to use also the centroid fill and that will be then the shadow of the centroid. Also make it black, 54% opacity, no pen and I'm going to give it an offset of 0.3. We have now a little shadow and do okay and I see here that the centroids with the dropped shadow show up. It's still a bit small and it depends on zoom level how it looks like so we're going to fix that double click and I'm going to change the units to meters at scale and I want them to be half of the pixel so 1500 meters and the same for the shadows. Okay now they are a bit bigger, looks a bit more like Lego bricks and when I zoom in and out they also stay the same. So I can apply this now to the other colors, copy the symbol and paste it and now the only thing is that I need to sample the colors from the legend and I can take it here from the DEM but if you don't have that then before going into this procedure you could also duplicate the layer and then sample it from the duplicated layer. Now there's only one thing that we can tweak and that's the symbol levels. It's the order of drawing the different symbols and now they're all drawn at the same moment so I'm just going to give them a continuous number starting from 10 and increase them. This is to create the effect that the blocks are a bit stacked with the shadows and there we see the effect so the higher blocks look higher than the lower blocks. Now let's create a print layout, a new print layout, call it Lego and let's make a map. First I need to go to page properties and make it portrait, zoom to the extent, add the map, leave a bit of space for the title and resize it so the map shows up nicely in the center. Let's add a legend, let's remove some of these items switch off auto update and now we only have the DEM left over, let's call it elevation. Now I would like to have those symbols as square blocks so I'm going to make them the same size 7 by 7 and it looks more like the same bricks. Create a scale bar, of course it needs to have nice colors too, go to fonts and colors and let's sample some nice colors from the map and let's remove the line, that looks nice. Let's change the font, one of the few occasions that I can use the comic sans serif, let's make all the text red also for the legend, it has a subgroup heading, let's also change that to comic sans serif and the item font the same, change the color to red, give it a title, change the font of the title to red and we need a north arrow and I'm going to use a picture for that little end to indicate the north and there it is, our map is done. So just for fun, an easy way to create Lego maps, I hope you've enjoyed it, if you like to see more videos you can subscribe to my youtube channel and for free GIS tutorials go to GIS opencourseware.org.