tower height

There is a tower which was mapped in 3D and looked exactly like it is.
This is how it looks in real:
https://fotopolska.eu/553178,foto.html?o=b8807

Some time ago a new user changed the tower height from 0.1 to its actual height: 90.3.

and after the change, it looked like this:
https://postimg.cc/Y4rB0MQX

height=0.1 is neccessary for 3D tagging because without it, it looks like in the picture above.

So I reverted his change.

OSM feature: https://www.openstreetmap.org/way/312927675/history

Then another user removed building=yes and changed height=0.1 to height=90.3.
Now it completely disappeared from 3D view:
https://i.postimg.cc/tJW3rGvZ/iglica3.png
https://demo.f4map.com/#lat=51.1076055&lon=17.0753925&zoom=20&camera.theta=44.48

What is the solution? How to solve this issue?

Looking at the photo, tagging height=90.3 is what the wiki says itā€™s ok.

Now you tagged as man_made=tower.
Maybe a better tagging is man_made=mast.
See https://wiki.openstreetmap.org/wiki/Tag:man_made%3Dmast

If you want that a 3D render looks like the photo, you should map a more representative 3D model. See https://wiki.openstreetmap.org/wiki/Simple_3D_buildings for examples.

I rewrote my post, please read it again.

Well, like it was pointed out to me in another thread, you made the exact same mistake: We donā€™t tag for the renderer. height=0.1 is exactly that. The correct height of that building is 90.3 and so it should be tagged like this. Maybe add an building:shape=pyramid as well and it might look a little bit more like in real and it also reflects the reality way more. Another idea is, create building:part=yes and, one thats exact the shape of the whole building with a small height and a pyramide for the bottom one. And a smaller building:part=yes for the centered one for the whole height.

And if i see it correctly you should add a min-height as well, because its not on the ground as well.

I personally would just add the building:shape=pyramid.

This Objekt isnā€™t a building. So that was correct. If 3D-Renderer doesnā€™t show this, itā€™s another problem.

There isnā€™t such tag on OSM, it is used only 19 times.

So no one has ever drawn a tower in 3D on OSM? If so, could you give some examples?

And yet i used it 3 times and it works in osmbuildings.org and in f4map.com So why should he not use it? It is not wrong either. Specifically https://www.openstreetmap.org/way/49331920 and with https://demo.f4map.com/#lat=47.8117459&lon=13.0513892&zoom=19&camera.theta=60.183&camera.phi=-42.112 and https://osmbuildings.org/?lat=47.81184&lon=13.05118&zoom=19.4&tilt=45&rotation=65

I might rework that building as a whole, but this part will stay because it is true.

EDIT: And, building:shape=* is used more often already. https://taginfo.openstreetmap.org/keys/?key=building%3Ashape#values here a link.

For whatever reason it works - the correct Tag is roof:shape=pyramidal.
https://wiki.openstreetmap.org/wiki/Simple_3D_buildings

Many towers (e.g. city wall) are buildings :wink:

If you want to see a mast in detailed 3D, you have to invent an appropriate scheme and/or talk with the maintainer of the 3D-Renderer. Using building tags for https://wiki.openstreetmap.org/wiki/Tag:man_made%3Dmast (or similar) is tagging for the renderer.

Oh, ok. But I think it will draw a pyramid, like in these examples, and my tower isnā€™t a pyramid.

I donā€™t want to draw anything in 3D, becasue it is already done with all the details. I just want to see the tower again in 3D, what should I do?

Seems like its working in osmbuildings right now. For f4map - i would ask f4map, why they donā€™t.

(Btw. i completely missed that the tower is tagged already completely and in detail for 3d. Just thought you want a easy solution so it looks a bit like. Thats why i suggested shape=pyramid)

Maybe the elements should be grouped in a relation or something?
https://www.openstreetmap.org/way/479510854
Do "building:part"s need a relation type=building or [building=yes] to be visible?

Ok, thank you :slight_smile: Let me know.

No.

Yes they do ! https://wiki.openstreetmap.org/wiki/Simple_3D_buildings#Building_outlines

However in this specific case i think this is a man_made=mast and not a building. so using building:part is indeed tagging ā€œfor the rendererā€ (https://wiki.openstreetmap.org/wiki/Tagging_for_the_renderer)

Maybe we should allow the use of ā€œbuilding:partā€ for man_made and sculture tags (for the gundam https://demo.f4map.com/#lat=35.6244167&lon=139.7754238&zoom=21&camera.theta=56.222&camera.phi=-24.637))

Any thoughts ?

? See:

Sorry, but I think thatā€™s a bad idea.
Everyone who want to show only ā€œrealā€ buildings will get other stuff like that sculpture.

We could establish a own group of 3D-Elements like ā€œ3d:part=" or "man_made:part=ā€ and you translate this in your source in ā€œbuilding:part=*ā€ if you want to add it in a simply way.

Offering something like 3d:part=* is an interesting idea. Thereā€™s a bit of a tendency for people map objects such as sculptures or bridge piers as buildings in order to be able to represent them with S3DB tagging. We probably want a solution for this that does not involve mapping for the renderer so that other data consumers arenā€™t negatively affected.

Of course, Iā€™m not sure if the prism-with-a-roof philosophy of S3DB is a good general-purpose 3D modelling approach for OSM ā€“ thoughts on that? (Something like the Gundam would arguably be more suited for the 3D Model Repository, but that hasnā€™t taken off so far.)

Because someone said building:shape=* is not valid - osmbuildings check for it. What shapes are supported? https://github.com/OSMBuildings/OSMBuildings/issues/196#issuecomment-598308557

Part-quote

Yeah sorry, I answered too quickly, thereā€™s no need for a relation, but a [building=something] polygon is mandatory, and should contains all parts.

Did you ask them? What did they answer?

What do you mean by ā€œshould contains all partsā€?

All the building parts should be included (2d wise), as in overlap the geometry, of the outline (the polygon with building=something).

My guess is he meant for you to ask.

For now F4Map only loads parts for buildings, so if itā€™s tagged man_made=tower, weā€™re rendering only the outline up to the designated height.