User:Dinamik/sandbox

From OpenStreetMap Wiki
Jump to navigation Jump to search

Necessary parameters

I think, that we should add to table with roof:shape with base simplest necessary parameters and write, if some of them have default value. I propose to give tags human-recognizable names. Please, leave comments. I'm not sure, that all english terms, which I wrote, are the best.

Image Roof0 0.jpg Roof1 0.jpg Roof2 0.jpg Roof2 3.jpg Roof2 4.jpg Roof2 5.jpg Roof4 0.jpg Roof4 2.jpg Roof5 6.jpg Roof8.jpg Roof5 0.jpg
roof:shape flat skillion gabled half-hipped hipped pyramidal gambrel mansard dome onion round
Necessary parameters - roof:height and direction (which tags? roof:direction? what to do in more complicated cases?) roof:height and roof:orientation HalfHippedParameters01.png

roof:height (h1)

HippedParameters01.png

roof:height (h1)

roof:height GambrelParameters01.png

roof:height (h1)

MansardParameters01.png

roof:height (h1)

roof:height roof:height roof:height
unnecessary parameters - - gabled one of parameters: highest_pitch:min_hight (h2) or highest_pitch:height (h3) pitch:length (l1) - one of parameters: lowest_pitch:height (h2), highest_pitch:height (h3), lowest_pitch:length (l1), highest_pitch:length (l2) one of parameters: lowest_pitch:height (h2), highest_pitch:height (h3), lowest_pitch:length (l1), highest_pitch:length (l2) - - -
default values roof:height=0 - roof:orientation=along [long side of bbox] h2=0.5*h1 angle 1 = angle 2 (redefines by pitch:length) - lowest_pitch:height=roof:height*0.5 (redefines by one of parameters: lowest_pitch:height (h2), highest_pitch:height (h3), lowest_pitch:length (l1), highest_pitch:length (l2)) angle 1 = angle 2, angle 3 = angle 4 - - -