You are not logged in.

#1 2021-10-20 10:57:23

FERINA365
Member
From: Rotterdam, South Holland
Registered: 2015-01-02
Posts: 127

Need help on complex building

Hi everyone! While mapping Waterwijk in Ypenburg, The Netherlands. I came across this complex building, with skillions and diagonal skillions. Here I provide you with a little sketch I made of the building. Could somebody help me with the correct parameters for this building?

I can't seem to figure this one out...

Ypenburg.png

Offline

#2 2021-10-22 13:21:51

googlenaut
Member
Registered: 2017-06-24
Posts: 16

Re: Need help on complex building

In general its a two storey building with building:levels=2, roof:levels=1, building:height=9 and roof:height=2.
But when it comes to roofing its a building with four parts. I would do it like this:

Part #1 (the skillion to the left):
building:height=9, roof:shape=skillion, roof:height=2 and roof.direction=<along street>.

Part #2 (the skillion to the right):
building:height=9, roof:shape=skillion, roof:height=2 and roof.direction=<along street>.

Part #3 (the skillion along the street):
building:height=9, roof:shape=skillion, roof:height=2 and roof:direction=<along street reversed>.

Part #4 (the skillion on the back):
building:height=9, roof:shape=skillion, roof:height=2 and roof:direction=<towards street>.

YES, I know, its not the real thing. its an approximation. but I can do no better.

[Edit1] actually its a relation with type=multipolygon. to assign multiple roofs you first must convert it into a relation with type=building and redefine the building outline to exclude the inner courtyard. after adding the building:parts you get https://demo.f4map.com/#lat=52.0367663& … 69&zoom=19

[Edit2] corrected two height messurements on inner courtyard which seems to be swapped.

[Edit3] found a slightly better roof approximation, which improves visualisation of the shaddowline.
special bonus: works on neighbor roof variants too. so Waterhoeve buildings have finished now.

Last edited by googlenaut (2021-10-27 19:10:40)

Offline

#3 2021-10-23 15:56:49

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

Re: Need help on complex building

googlenaut wrote:

actually its a relation with type=multipolygon. to assign multiple roofs you first must convert it into a relation with type=building

It does not need a building relation. But a "type=multipolygon" should remain. You can also do both relations.

Offline

#4 2021-10-23 18:33:42

googlenaut
Member
Registered: 2017-06-24
Posts: 16

Re: Need help on complex building

pyram wrote:

It does not need a building relation.

It depends on the rendering engine. If building parts are present the engine should hide multipolygon and outline. But some don't. So z-fighting occurs. irrelevant in 2D. but undesirable in 3D.

It's possible to convert a relation from type=multipolygon to type=building without loss of information. But you have to be very careful. If the MP has multiple inner and outer sections I won't do it. Same if MPs are nested.

To preserve the inner section you have to cut the outline somewhere. That's the hardest thing. Otherwise it's better to have seperate buildings instead of parts. But having parts requires an outline. Without you get a JOSM "missing outline on building parts" error. And F4map won't show any parts at all.

Last edited by googlenaut (2021-10-27 19:11:33)

Offline

#5 2021-10-25 07:31:09

FERINA365
Member
From: Rotterdam, South Holland
Registered: 2015-01-02
Posts: 127

Re: Need help on complex building

Thanks for the feedback! It's a shame F4 won't render OSM-4D/Roof table, because that will solve this problem I guess. But still this roof shape is very uncommon.

Offline

#6 2021-10-28 19:02:32

googlenaut
Member
Registered: 2017-06-24
Posts: 16

Re: Need help on complex building

FERINA365 wrote:

It's a shame

Shame happens if a commercial company focusses on gimmicks like "real time weather effects and 3D animations" instead of fully support osm buildings. Nevertheless its possible do do some 3D artwork. smile

Offline

Board footer

Powered by FluxBB