Real time 3D map using WebGL

Let me say in other words. It is your decision, to use some tag for some your purposes or not. But if you see, that someone’s work with incorrectly used tag leads to incorrect result, you can not say “ignore this tag”, you should say “delete incorrectly used tag from database”. In this concrete case we see incorrectly used tag - the reason of incorrect rendering is not in bad tag, but namely in incorrect using of tag.

For example, we have tag natural=water for water areas. It is your decision, to render it in some way or not. But if someone asks “why does this soccer pitch render as blue area in this render?” and you see, that pitch is tagged with natural=water, you can not say to author of render “ignore tag natural=water, because it leads to mistakes”, you should say to author of question “delete incorrectly used tag natural=water from pitch”.

P. S. Not all software can determine buildings, divided to parts, by analyzing building:part= polygons. There is a software, which use tag building:parts for such determining. If tag can help some software in some cases, why should we consider it as a harmful?

A tag shouldn’t be ignored because it is sometimes used incorrectly. You are right about that.

The reason why I suggest to ignore building:parts=* is different, however: Because it is redundant, and burdens mappers with a task that should be done by computers.

There are other reasons to determine the parts belonging to a building. For example, the parts are generally understood to “inherit” attributes such as colour from the building. Furthermore, placing parts without grouping them to a building will also cause problems if you place them on a terrain surface, which would introduce unpredictable vertical shifts. So the tag does not actually free software from that task (and even if it did, I would still consider it questionable to trade mappers’ time for CPU cycles in this manner).

I would love to see building:levels rendered as rows of windows. I boosts the visual result further IMO:

http://maps.osm2world.org/?h=128&view=N&zoom=18&lat=51.16566&lon=6.9473&layers=B0TTFF

building:material=glass with levels should be rendered as seen here:
http://maps.osm2world.org/?h=128&view=N&zoom=18&lat=50.77749&lon=6.08057&layers=B0TTFF

BTW I like the rain feature :slight_smile:

What´s about: colour for element barrier=city_wall pleease add also for this element the function area=yes if not already implemented.

Regards,
Marek

This is not planned as we think this is ugly

The colour tag will be handled it has already been asked on our support, area=yes is already handled as barrier tags use the same code path.

Is it possible to show natural:water + water:reflecting_pool different than the other water areas? It has to be something like half water/half mirror.

It is not possible as it is done in fragment shader.

Great.
I would suggest adding of couour tag for every possible elements. Of Course we have it more detailed for the buildings, bot there are another elements like e.g. street lamps etc…

Ekhm:
http://map.f4-group.com/#lat=41.8981300&lon=12.4763596&zoom=19&camera.theta=63.098&camera.phi=175.879
Somebody tried to make 3D model of pantheon in rom.
Please support shape “dome” for semi circular ground floor.
Steps:

  1. Approximation of circle by use of closed semi-circular polygon from the ground floor shape
  2. Use as “height” for this element calculated radius.

Resulution of segments in ground floor by use of closes multipolxgon shape which is drawn.
In z-direction resolution depend of calculated radius. In this case i would say app. 6x dividing…

Best regards,
Marek

PS: Very good 3D:
http://map.f4-group.com/#lat=50.0613940&lon=19.9377035&zoom=19&camera.theta=59.374&camera.phi=-179.687 (Poland, Kraków)

Hello cmif4,
do You already have implemented roof type “gabled” for donut topology? I mean e.g. such objects:
http://www.openstreetmap.org/browse/way/49855129

If You need help with algorithms, please ask.

Regards,
Marek

Thank you for the help proposal but we’re already updating potsgis to get the StraightSkeleton computation done on server side, then i will be in charge of the roof refactoring on client side.

I hope we won’t spent too much time on this improvement :confused:

Great.
don´t worry, it´s not so complicated… :wink:

What about **chimneys **defined as point with 2 radius:
chimney=yes
height=value
radius:ground=value
radius:top=value

colour=value
colour:roof=value

We do not handle radius key (not enough match on taginfo) but we already handle point chimney with 1m radius extruded cylinder.

I already planned a task to handle them as hyperboloids like nuclear cooling chimney.

Marek, could you please suggest new tagging ideas to the OSM community first before trying to get them into an application?

Well,
this is the 3D community discussion portal.
And, this is doocracy. The people do, what works. And this idea is obviously and comes by the way not from me.
The users from the polish community and some italian friends suggests me such solution.

Is difference between gabled and hipped for this specific outline?

http://opensciencemap.org/~jeff/test/#scale=18,rot=324,tilt=50,lat=53.01,lon=18.604

I currently try to figure out to create proper ‘gabled’ roof types from the outline skeleton. It seems to be reasonable to extend only those ridges nodes to the outline which have two incoming edges that directly connect to the outline and where the edge pair must roughly have an angle of 90 degrees and point away from the ridge.

This is the question of definition :wink:
I would suggest the use of “gabled” for this:http://www.uni-weimar.de/architektur/oekologisches_bauen/10_diplome/2002_jokisch/compound_modern.jpg (sorry for the small picture)
For “hipped” I would use simply the same rof geometry like “hipped” but with opening inside (also irregular).

Btw: very good question. Should be described with example pictures because it´s not easy to understand immediately the difference.

Again, I’m trying to draw roofs like this:

http://goo.gl/maps/QPoBs

How could this be tagged/what tags are missing in OSM to create this roof? Any ideas?

The same roof in f4map:

http://map.f4-group.com/#lat=52.2222869&lon=10.5001558&zoom=19&camera.theta=46.507&camera.phi=118.774

(view from the other side, the second brown one from the left). You see, the roof is splitted. (Turn around the map to see the hole weird thing).

btw. did f4map change anything? The two buildings top right grew up since the last few days!? :expressionless:

Well,
it´s impossible or probably impossible with the recent definition. I´m working on the new definition for such purposes.
The answer is - please wait some weeks.

Es tut mir Leid, dass ich Dir keine bessere Antwort momentan geben kann. Da tut sich aber was.

Please speek with Kendzi. He has already implemented it for every possible outline geometries.
Best regads,
Marek