Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
O

OSMBuilding

> 编程语言
Open source

render an individual OSM building

99 stars0 likes1 views
WebsiteGitHub

About

render an individual OSM building

OSM Building Viewer

Visualize an OSM Building in 3D

To visualize a building tagged with a way, use the URL: https://beakerboy.github.io/OSMBuilding?id=[id]

If the building is a multipolygon, or a relation, use: https://beakerboy.github.io/OSMBuilding?type=relation&id=[id]

...replacing [id] with the actual id of the way or relation.

Additional details will be displayed if &info is appended to the URL.

Console debug messages can be printed to the screen if &errorBox is appended to the url. Helpful since mobile browsers often lack any inspection capability.

Use the left mouse button to rotate the camera. To move, use the right one.

Supports:

  • Ways with a building tag
  • Ways with building parts inside.
  • Building relations with way and/or multipolygon parts
  • Multipolygon buildings
  • Multipolygon building with multiple open ways which combine to a closed way.

Roof Types:

  • Flat
  • Skillion
  • Dome
  • Pyramidal
  • Gabled
  • Hipped

Examples:

  • Simple building with no parts - Washington Monument
  • Glass - Petronas Towers
  • Dome roof, Gabled roof, and Skillion ramp - Jefferson Memorial
  • Dome, Gabled, Hipped, and Pyramidal Roof - US Capitol
  • Chrysler Building
  • Building Relation Burj Khalifa
  • Multipolygon with no parts - Freer Art Gallery
  • Relation with multipolygon parts - Leaning Tower of Pisa

Specify the osmApiUrl parameter to use other OSM APIs. Examples:

  • OpenHistoricalMap
  • OpenGeofiction

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言