OSMBuilding icon indicating copy to clipboard operation
OSMBuilding copied to clipboard

Take into account ground elevation

Open Beakerboy opened this issue 3 years ago • 2 comments

The “ele” tag indicates the ground elevation.

do we subtract that from all heights?

Beakerboy avatar Mar 30 '22 13:03 Beakerboy

Render the building, then lift the entire object up by the specified amount.

Beakerboy avatar Aug 26 '22 14:08 Beakerboy

I'm not sure if everything should be shifted up, wouldn't that just make it hard to rotate around the building if the ground plane is far below?

I think what's more useful is to shift everything up by ele but then subtract the lowest ele value across the scene, so it is taken into account but we're still visualising the building mostly on the ground plane.

I've been tagging the ele value sometimes as a way to specify the elevation of the roof (ele + height = elevation of rooftop) to allow more accurate renderings of city skylines.

The height is meant to represent from the lowest ground point of the building to the top, but it can be hard to determine where exactly to start that base level from, especially with sloping land and highly landscaped or urbanised areas around the building base.

andrewharvey avatar Jun 02 '25 03:06 andrewharvey