3d models in Norway?

Hello everybody, I realize, there are no 3D OSM models in Oslo:
http://demo.f4map.com/#lat=59.9104883&lon=10.7432579&zoom=17&camera.theta=65.913&camera.phi=-3.484

Compare Stockholm:
http://demo.f4map.com/#lat=59.3236026&lon=18.0760798&zoom=16&camera.theta=67.345&camera.phi=24.064

How does it work:
http://wiki.openstreetmap.org/wiki/Simple_3D_Buildings

With regards,
Marek

I’ve been playing around a bit with 3D modelling in Trondheim: http://demo.f4map.com/#lat=63.4292804&lon=10.4016466&zoom=19&camera.theta=76.226&camera.phi=138.656

But you very quickly come to the limitations of the 3D ruleset, especially when entering roof shapes.

Please give me an example.

For example a roof that is on one end hipped (slanted end), and on the other end gabled (straight end). For as far as I can figure out, this can not be solved with building parts either.

Another example is with L-shaped buildings, there is no clear specification if the roof shape should follow the building shape (meaning the ridge is also L-shaped), or if the roof shape should stay straight. In that last case, it is not specified if the ridge should stay in the center of the building (i.e., in the center of the long arm of the L-shape), or if it should be in the center of a square area surrounding the building (in which case the roof would not be gabled along the long arm of the L-shape). I’ve seen that different applications render this differently.

For the first case you can work with roof:ridge and roof:edge lines.
Please keep in mind: The building should have attributes height and roof:height for right rendering.

Btw: I specify such roof in: http://wiki.openstreetmap.org/wiki/OSM-4D/Roof_table#Roofs_with_2_faces as roof:shape=side_hipped.

The next question. It is unfortunately true. F4 makes here L - ridge, Kendzi 3D does it straight.
It should be fixed with additionally attributation:

roof:shape=gabled
gabled=<straight / L >

Some information:
http://wiki.openstreetmap.org/wiki/3D_modeling

Sorry, but that specification is close to impossible to read. Apart from various typos and inconsistent use of casing, lots of vital information is left unexplained or very difficult to determine.

Just some examples:

  • I guess the word “Typ” that is used many places is supposed to be “Type”.
  • What is the use of the “Typ” really? Is there anywhere we have to enter the value “2.2” into an editor?
  • Where on that page is it explained that the “Value” should be assigned to the “roof:shape” attribute? There is hardly any mention of the “roof:shape” attribute on the page.
  • The “Parameters” row contains names with capital letters, such as “H”, “L1”, while the illustrations use lower-case letters such as “h” and “l1”.
  • The parameters in the illustration as written too small to be identified just by looking at the page. The user has to guess that the parameters from the table are explained in the illustration.
  • The notes “*a”, “*b” are written in a way that they seem to be parameters just like “H1”.
  • How are these parameter values supposed to be entered into the OSM database? Are they values to a certain attribute? Again, no explanation.

I guess it is a good specification, but without knowing how to apply it, it’s difficult to say for certain.

Ah, and the buildings I modeled were actually half-hipped on one side, not hipped. So, “typ” 2.0 on one end and 2.3 on the other end. Not sure if that is possible with this specification. Also, it seems to me there is no parameter for the “depth” of the hip on the half-hipped type. I guess that would be “L2” if you follow the parameters for 2.2.

Hello Peter, this specification is not official and not supported. It has been done for discussion during the 2nd. Garching 3D specification meeting. s it possible for you and other mappers from Norway to make some models in Oslo?

I will see what I have time for. I see that in Stockholm it is also only very basic roof shapes that are used.

Quick made model from yesturday:
http://demo.f4map.com/#lat=59.9126050&lon=10.7465817&zoom=18

Where do you find information on the height of buildings?

Estimated from free aviable pictures. Persons staying there have ca. 180cm. So I can measure dimensions with this height.
Better method is to get total height form the building (often avaiable) and calculate heightts of building parts via proportion.

OK thanks. I was assuming that was what you did, but it would have been great if someone had a cool utility to measure building heights :wink:

Sure. There is something like this:
http://makezine.com/2013/08/21/diy-photogrammetry-open-source-alternatives-to-123d-catch/
But I never played with that.

I made this quick and dirty tutorial:

http://wiki.openstreetmap.org/wiki/Roof_3D_modeling

I will add some hepful tricks in the next weeks.