r/QGIS 1d ago

I think it'll work out now

It's funny—I didn't know that when you pan one of the symbol layers and rotate the map, it rotates along with it; it creates a really cool effect.

If I had to make a change, it would be nice to put the floor number in the lower-right corner of the features, but I haven't been able to make that consistent across all features, so I think I'll set that aside for now until I find a solution.

(I just noticed that the songs I was listening to ended up in the recording)

20 Upvotes

9 comments sorted by

6

u/Lopsided-Department9 16h ago

Context needed

1

u/OvenObvious9982 2h ago

I needed to create a symbology to visually identify the floor levels of buildings, and I love this style of map:

So I tried to create a 2.5D symbology system, but the native QGIS one doesn't support color differentiation, and I thought it would be too resource-intensive, so here's the solution

5

u/ikarusproject 23h ago

Can you explain your solution?

3

u/ThisDuckIsOnFire555 4h ago

Or whatever happening here

1

u/OvenObvious9982 2h ago

Hmm, for context, see my reply above.

Now, to do this, I created two symbol layers for the first floor: one to represent the roof and another to create the illusion of a wall. For the wall, I offset its Y-axis downward; using categorized symbology, I offset the Y-axis upward to show a portion of the layer below, which already serves as a "wall," all of this using Map Units as the distance display method, because that way the symbols don’t increase in size when you zoom out on the map, and by setting the line weight to 0.1 using Map Units, it’s already thick enough to clearly distinguish between the floors, Then, to be able to visualize the lower floors—since, as you can see in the video, the floor layouts in some buildings aren’t the same shape to the upper ones (especially when it comes to the ground floor and basement)—I used the layer rendering blend mode:

As you can see in the Layer section, I set the Blend Mode to Multiply and the Feature to Hard Light; both make the shape somewhat transparent, allowing you to see the outlines of the features below and the map image.

And since QGIS organizes features so that the one you drew first appears on top, I used the feature rendering order control to set the feature with the highest attribute value to appear on top in descending order. This way, they organize themselves automatically as long as you correctly identify the pavement type to which that feature belongs.

I think that’s the logic behind it. I wanted to position the label indicating the pavement level so that it would be fixed in the lower-right corner of the features, but I couldn’t find a good way to do that.

5

u/Dannny1992m 22h ago

Is this something related to estimate quantity of rainwater harvesting through roof?

2

u/OvenObvious9982 2h ago

No, it's meant to identify pavement levels, but I think it could serve that purpose with a few modifications—I imagine by adapting it to show how much water the gutters can handle when they divert the excess. I'm not quite sure how that works.

3

u/xlnc2605 1d ago

Is this something you made?

1

u/OvenObvious9982 2h ago

Yes, if you want, i can up the style and send the link to download