Real time 3D map using WebGL

Hy there,

I just saw this map today for the first time and for me it looks great!

Here some things that i’ve noticed:

-I think residential roads normally have no road markings and shouldn’t have them in this map. Also parking_aisle, of course.

-Why don’t you allow bigger zoom?

Some points about buildings/building parts:

-buildings with only the tags: building=yes and roof:shape=mansard (without any height tags) are drawn as single roofs directly on the ground. with the tag roof:shape=half-hipped for example, it is correctly, a building with a roof on it is drawn.

-roof:shape=skillion is in other direction than on kendzis map. I’ve just seen in wiki that there exists an tag roof:direction. is it used in this map? if, what are the values?

This roofs look strange. But, to be honest I don’t know how to tag them right. I tried some things, but nothing worked. Anyone an idea? Here are the buildings in OSM. In housenumber 8 I used building:parts, but this also doesn’t work.

I’ve also wanted to point it:
buildings with one level and roof:shape tags are drawn as roofs on the ground. And another example when 2 level building with the roof is looking the same size as 1 level without roof tags. It may be better to draw roof above the stories if no height tags assigned.
P.S. Anyway, the render is cool!

Some description about roof tagging:
http://wiki.openstreetmap.org/wiki/Key:building:levels

I think that currently it is not defined what should happen when we choose gabled roof and building tagged only with level tag without roof:level tag.

These issues are now fixed on our internal server, it will be included in next server update.

Great! Thanks. Waiting for update.

Hi,
any chance to get roof:ridge=yes evaluated?

Chris

PS: I like the new cranes (landuse:construction) :slight_smile:

The ridge proposal has not been approved yet and according to taginfo there are only 294 use of this key around the world so we don’t plan to handle it for now.

PS: the cranes handling was my idea, i’m glad you like it :wink:

Yeah, that was quick. Waiting for the update :slight_smile:

How could the direction of roofs been set? Is roof:direction used? Or roof:ridge/edge?

We handle roof:orientation=along|across on base shapes the orientation is computed from the minimal oriented bounding box.
We also handle roof:slope:direction=float (with angle in degree from north) on skillion roofs.

Ok, i’ll get a look on this tags.

btw, it seems that name of amenities (like shop=supermarket) which are set as a node, not are shown on the map.

if you want more details about how we use osm tags there are some explanations on our wiki page

You can now use “N” “NE” “E” “SE” “S” “SW” “W” “NW” as roof:slope:direction value.

Has a roof tagged with ‘N’ exactly at 0 degrees it’s highest point, or is it orientated an the line mostly in the north? For example, if you have a square roof and the lines are at 10/100/190/280 degrees, how would it look like?

roof:slope:direction is the direction downward, so if you put a ball in the mid of the roof it will roll to this direction.

Hm. Wouldn’t it be good to have a tag to orientate the roof to a wall? So that the ball rolls exactly to the middle of one side? :wink:

It was proposed to add nodes with tags roof:direction=begin|end or some relation with roles
roof:direction:begin and roof:direction:end

Wouldn’t it be possible (and in most cases even easier) to calculate this from N/NE/E/SE/S/SW/W/NW-Values?

In case there’s a communication problem: The question was, if a ball was placed on the center of a building with “roof:shape”=skillion direction=N and it’s Way-Segments pointing to 10°/100°/190°/280°, would it roll to 10° or to 0°?

Right, that was my question. I think it would roll to 0°. Because this is set with the direction tag.

But the point is, maybe there are some roofs, where the roof direction goes not to one wall. But this are very few roofs, for sure.
But very often a building is not exactly to 0°,90°…, and the roof has its lowest side at one wall. So there has to be a tag that says ‘This roof goes down to this wall’.

It will roll to 0° in F4maps, if you want it to roll to 10° you can specify the roof:slope:direction with clockwise angle in degree from north. My algorithm doesn’t try to snap on edge direction (i’m not sure but i think kendzi3D use a snap method).

I suggest to use N/NE/…-Values for an approximate direction, which should be used to calculate something to fit to the rest of the object and numerical values (in degree clockwise relative to north) for an exact direction which should be used without additional calculations.