Streets GL — a new 3D renderer for OSM

That’s bad that there’s no widespread tagging to specify if a building has windows.
I already follow the second approach though, several building types have windows disabled (garages, silos, greenhouses, etc.)

1 Like

That looks amazing! 3D rendering is a great way to demonstrate the capabilities of OSM and it’s great to have an OSS demo. I’m a fan of rendering sidewalks next to roads - a lot of renderers miss this detail.

As a bonus, it loads on my budget phone (even if it’s impossible to pan without connecting a mouse).

5 Likes

And I can’t really just use any regular vector tile schema. I want to have full control over how tags are processed, I also want to be able to add some additional metadata to each polygon e.g. its oriented minimum bounding box for better texturing. So the tool must be highly customizable.

You might like to look at tilemaker (which I maintain!) - it embeds Lua precisely for customisable feature selection and tag transformations. Very happy to help with any advice if needed. But there’s lots of great tools out there.

8 Likes

Very nice indeed!
I would like to know which OSM tags are taken into account and how they modify the appearance of the objects.

E.g. in my street, no sidewalk is shown, the trees completely cover the water, and the houses are flat and only ground level, while in reality they are 3 level with gable roofs!

For anyone not living there it already looks amazing, though. But if I can improve by adding more detail, I would certainly do that. Because everybody always will look at their own vicinity, right?

2 Likes

I think osm2world renders windows only if building:levels is set. @Tordanik
Could you add building=church|service|garages|industrial|digester|storage_tank to the blacklist?

Congratulations on the launch, it looks great and being able to run entirely client-side is a big benefit! :slightly_smiling_face:

With OSM2World, I’m supporting window=yes/no for that purpose. I think having more software support for it would encourage mappers to use it more frequently.

But yes, it’s not widely used at the moment, so I’m also falling back onto building type heuristics in the absence of explicit tagging.

2 Likes

Thank you :heart:

window=yes/no looks good, though it’s a bit confusing as it seems like this page proposes using the same tag for ways (to specify if a building has windows) and for nodes (to mark them as separate windows). I think I’ve seen this page before, and I’ve got an impression that it only described mapping separate windows. I somehow missed the part about ways. Probably it would be helpful if you mentioned it in the the first paragraph.

I’m going to add support for window=yes/no, but only for ways for now.

4 Likes

I’m not sure about church (most churches seem to have windows) and industrial (this tag is a bit too generic, it’s hard to tell for what kind of buildings people actually use it; and I think that most industrial buildings actually do have windows).

Other ones seem fine, I’ll add them to the list. Currently the function to determine whether to render windows for a building looks like this.

2 Likes

That’s bad that there’s no widespread tagging to specify if a building has windows.

yes, it’s strange, there are 19k facade color tags https://taginfo.openstreetmap.org/search?q=facade#keys
and only 17 facade types :slight_smile:
Looks as if there is the idea to guess the facade type from its material:
https://taginfo.openstreetmap.org/keys/building%3Afacade%3Amaterial#values

I believe we should have a generic way to distinguish basic facade types, e.g.
perforated facade (“wall with windows”, in German Lochfassade)

There are other types, referring to the construction (structure, how the glass or panels are held in place, water is drained and wind forces are led to the ground), I don’t know the English terms and they are fairly specific:

  • Pfosten-Riegel-Konstruktion (linear attachment)

https://breidenbach-metall.de/wp-content/uploads/2020/02/Haus-der-bay.-Landwirtschaft_2.jpg

  • Punktgehaltene Fassaden (attached at points)

https://www.baunetzwissen.de/imgs/3/8/7/2/5/94b4b034b6ef2c88.jpg

wie should maybe also have something for “closed”, i.e. a perforated faced without perforations :wink:
For perforated facades (and maybe in general) it could be interesting to know the ratio open/total surface.

Btw, Panteon has a lot of windows in this first version :smiley:

and so does Castel Sant’Angelo

2 Likes

Awesome! Thanks for this great tool.

Did use it to fix wrong settings for lanes, lanes:*, …

I created an issue #8 for some highway=*_link not being rendered

1 Like

Moved from StreetComplete to OSM Buildings (that never seems to update and has ludicrous and missing building elements), to F4Map, which does show the missing elements and is quick to refresh but not all parts and no windows and now this, Streets GL, oh, ah, ooh, eh, silent. A sample of an greater area I’ve been mapping near ground up, but for to roads and residential area outlines in great detail at a low view angle. The undulation of the landscape and the many calanchi erosion zones against the hills is awesome. The building dome now looking more like a star observatory I’ve just tagged with roof:angle=20 value, roof:height I’ve never understood… from where?. The roof is really maroon coloured and the walls are white plastered. My interpretation is that more goes into the rendition… the farmland at right is really light in the ESRI imagery, on the left still to be cropped and ploughed.

:heart_eyes:

4 Likes

You can add this project to the TagInfo Projects database, and that makes it easier for people to see if a tag is in use.

3 Likes

Maybe we can discuss this here with a wider audience and not only in issue #5

Where and how to map a bus stop.

Currently: a bus stop shelter is rendered where the highway=bus_stop is mapped - even when on the street.

Suggestion: a generic bus stop icon, also where the highway=bus_stop is mapped, but which does not harm/bother anyone even when rendered on the street.

Thank you for the suggestion. I should certainly do that at some point to have some sort of a formal description of how different tags affect rendering.

7 Likes

@StrandedKitty this is so amazing. keep up the great work! :+1:

1 Like

This is awesome! My neighborhood looks pretty good actually! If I can wish for something, it would be nice if sheds were rendered without windows. Keep up the great work!

5 Likes

There was mention somewhere above of windows=yes/no so experimented with a just added building. The front 1 floor section and the power substation left over got the windows=no tag, but windows there are. Hope this is on the ToDo list.

image

Oh, and I tagged roof:material is photovoltaic main building centre square. There’s actually a pattern visible there.

Edit: Just noticed the 3 wire powerlines connect to the ground of the substation, they actually connect at the top. Maybe a height tag needs adding to the terminal nodes.(?)

I’m not sure “photovoltaic” is a “roof material”. Usually the panels are on the roof which is made of another material, I think you should tag them as the wiki suggests: Tag:generator:source=solar - OpenStreetMap Wiki

2 Likes

both is possible!


source: Solardachziegel: Eine echte Alternative zu Photovoltaik? - ingenieur.de

1 Like

:sunglasses:I know, they’re hard at work towards photovoltaic off the roll as well, apply like tar paper.