Does OpenStreetMap have rough estimates for terrain slopes and building/object heights

Hello! Going to be using map data for a project and was wondering, does OpenStreetMap supply estimates for building/object height data? Does it also provide data for the heightmap of an area?

Thank you!

OpenStreetMap buildings have height information, however it depends on the area, most urban areas have height information for more notable buildings like skyscrapers, but again, it depends on the area. As far as heightmaps, if you are referring to a terrain / land elevation heightmap then no. However AWS Terrain Tiles is a fantastic source if you’re looking for that.

Some OSM-related maps have elevation contour lines, if that is useful for you.

OpenStreetMap

OpenStreetMap

OpenStreetMap

You might have a look here: Getting height data - Help and support - OpenStreetMap Community Forum

TLDR: No, OSM doesn’t have terrain height information / DEM. For Europe you might want to look at https://sonny.4lima.de/, for the rest of the world look up SRTM.

I’d recommend Mapterhorn instead. It’s strictly better quality than SRTM because it falls back to SRTM data where it doesn’t have anything better and nevertheless offers all of its data in a consistent format.

Buildings can have a height= tag giving a detailed height in some unit such as meters, a building:levels= tag giving approximate height in floors above ground, or (most often) no information at all.