You are not logged in.

#1 2021-05-03 12:38:42

Hungerburg
Member
Registered: 2020-12-11
Posts: 212

Skillions

Please share tips how to get them right smile https://www.openstreetmap.org/relation/12660108

Looked fine in kendzi yesterday, now in f4map one skillion is wrong, OSM2World does not do them at all.

Thank you in advance!

Offline

#2 2021-05-03 20:54:37

pyram
Member
Registered: 2012-06-16
Posts: 1,318

Re: Skillions

Ich denke das Problem liegt darin, dass along/across keine eindeutige Aussage zur Dachneigung bei "skillion" ist und f4map das deshalb nicht unterstützt.
Nutze besser roof:direction=*. Ist nur geringfügig aufwändger (Mit JOSM kann man den Winkel aber leicht ermitteln).

Offline

#3 2021-05-04 00:13:44

Hungerburg
Member
Registered: 2020-12-11
Posts: 212

Re: Skillions

Hello pyram, along/across is actually honoured, but not, where there is up, where is down (in the bottom part of the staircase building part). I read somewhere, that it may work correctly when I reorder the points on the way. I am missing a clear specification for this though, so that different renderers can show the same.

Offline

#4 2021-05-04 05:48:51

R0bst3r
Member
Registered: 2015-04-23
Posts: 672

Re: Skillions

roof:direction may be very clear if you use 0 to 360 degrees?!

Btw: the result looks very strange, e.g. on f4map. But I don't know the real intention.
Osmbuilding doesn't show much ...

Last edited by R0bst3r (2021-05-04 05:57:58)


OSM Profis sollten Anfänger mehr ermuntern und mehr unterstützen, damit die Gemeinschaft wächst und vielfältiger wird. Momentan vergrault man immer noch gerne.

Offline

#5 2021-05-04 08:30:18

Hungerburg
Member
Registered: 2020-12-11
Posts: 212

Re: Skillions

Here a picture, https://www.ibkinfo.at/media/11877/6-ta … 0dpi-a.jpg - the staircase is outside of the building and winds up.

Cool, osmbuilding also does the other two skillions turned 180, but the gabled roof is fine smile f4map does something with the gabled roof, that I do not understand either.

PS: Kendzi rotates the benches, which is nice and others might follow

Last edited by Hungerburg (2021-05-04 08:31:15)

Offline

#6 2021-05-04 19:52:39

pyram
Member
Registered: 2012-06-16
Posts: 1,318

Re: Skillions

Hungerburg wrote:

...but not, where there is up, where is down...

That *is* the problem. You can just solve it with "roof:direction=(degree)" or keep looking for another solution (which I don't know)...

Hungerburg wrote:

I read somewhere, that it may work correctly when I reorder the points on the way.

This is a coincidence, but not a solution.

Offline

#7 2021-05-04 20:33:32

Hungerburg
Member
Registered: 2020-12-11
Posts: 212

Re: Skillions

pyram wrote:

solve it with "roof:direction=(degree)" or keep looking for another solution (which I don't know)...

Sorry to read that! No, I will not enter arbitrary numerical values for something that is inherently unstable, where the next person that rotates the stuff has to enter all new values; and for something that can be computed to high precision, and as can be seen is already computed to great result, but only missing the information whether the computed value is a positive or a negative one.

A pity that there is no reference implenentation, that might make up for a missing specification. OSM Buildings is open source, maybe dig a little there.

PS: No luck searching osmbuilding - https://github.com/OSMBuildings/OSMBuil … ex.js#L135 - this translates to me "if the skillion roof has no direction, then it is flat", which is not what I observe on the web map…

PPS: No wonder the skillions appear in the viewer, a value for roofDirection gets passed from the server to the in browser viewer with the objects in the scene. So, the value seems to be calculated somewhere else, not part of the available source in the github organization that hosts osmbuildings. CF https://github.com/OSMBuildings/OSMBuil … /server.md

Last edited by Hungerburg (2021-05-04 21:53:06)

Offline

#8 2021-05-04 22:04:02

Tordanik
Moderator
From: Germany
Registered: 2008-06-17
Posts: 2,680
Website

Re: Skillions

There are 2 possible values for roof:orientation. But a rectangular skillion roof has 4 possible orientations (unlike a simple gabled roof, which only has 2). So roof:orientation isn't suitable for mapping skillion roofs.

OSM2World does snapping for roof:direction so you don't need to enter a super-precise value. Even a cardinal direction such as "NW" would be enough. (Snapping of roof:direction is something that doesn't work in all renderers, unfortunately.)


OSM in 3D: OSM2World

Offline

#9 2021-05-05 19:46:44

Hungerburg
Member
Registered: 2020-12-11
Posts: 212

Re: Skillions

Snapping to local reference frame is a nice feature, the values become much more stable, perhaps enough so to be useful in real world usage, unlike mine, which is a toy scenario - thank you for the hint! I even tried that with kendzi at first, but there sadly N is in the global frame, so I dropped directions and would have missed the feature. Let's have a look at what the other contenders do!

UPDATE f4map: A day later, direction NE of the skillion obviously means global NE, not orthogonal to the buildings private frame, which before was perfect, if it was not for up/down direction.

UPDATE OSM Buildings: One half day later updated too; here also cardinal is degrees without snapping to local frame, additionally seems to now mistake orientation for global orientation? Additionally, openstreetmap.fr does not send CORS header, so no backdrop anymore, just black space - map was there yesterday though!

Last edited by Hungerburg (2021-05-07 09:15:52)

Offline

#10 2021-06-30 09:41:06

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,435

Re: Skillions

Hi guys, use PlugIn improved Kendzi 3D: you can see there preview better...

Offline

Board footer

Powered by FluxBB