OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2015-07-31 10:46:10

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,417

3d models in Norway?

Hello everybody, I realize, there are no 3D OSM models in Oslo:
http://demo.f4map.com/#lat=59.9104883&l … phi=-3.484

Compare Stockholm:
http://demo.f4map.com/#lat=59.3236026&l … phi=24.064

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

With regards,
Marek

Offline

#2 2015-08-04 13:34:57

Peter Bremer
Member
Registered: 2015-06-30
Posts: 17

Re: 3d models in Norway?

I've been playing around a bit with 3D modelling in Trondheim: http://demo.f4map.com/#lat=63.4292804&l … hi=138.656

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

Offline

#3 2015-08-04 13:41:35

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,417

Re: 3d models in Norway?

Please give me an example.

Offline

#4 2015-08-05 14:15:32

Peter Bremer
Member
Registered: 2015-06-30
Posts: 17

Re: 3d models in Norway?

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.

Offline

#5 2015-08-05 15:25:53

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,417

Re: 3d models in Norway?

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- … th_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

Offline

#6 2015-08-06 00:00:21

Peter Bremer
Member
Registered: 2015-06-30
Posts: 17

Re: 3d models in Norway?

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.

Offline

#7 2015-08-06 00:07:42

Peter Bremer
Member
Registered: 2015-06-30
Posts: 17

Re: 3d models in Norway?

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.

Offline

#8 2015-08-06 07:41:06

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,417

Re: 3d models in Norway?

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?

Offline

#9 2015-08-06 07:49:14

Peter Bremer
Member
Registered: 2015-06-30
Posts: 17

Re: 3d models in Norway?

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

Offline

#10 2015-08-08 11:04:31

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,417

Re: 3d models in Norway?

Offline

#11 2015-08-09 12:33:49

Peter Bremer
Member
Registered: 2015-06-30
Posts: 17

Re: 3d models in Norway?

Where do you find information on the height of buildings?

Offline

#12 2015-08-12 16:29:31

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,417

Re: 3d models in Norway?

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.

Offline

#13 2015-08-12 19:28:24

Peter Bremer
Member
Registered: 2015-06-30
Posts: 17

Re: 3d models in Norway?

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 ;-)

Offline

#14 2015-08-12 19:36:42

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,417

Re: 3d models in Norway?

Sure. There is something like this:
http://makezine.com/2013/08/21/diy-phot … 23d-catch/
But I never played with that.

Offline

#15 2016-05-12 13:57:59

marek kleciak
Member
Registered: 2010-10-11
Posts: 8,417

Re: 3d models in Norway?

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.

Offline

Board footer

Powered by FluxBB