Skip to content

Codezigineer/OSMBuilding

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Badge

OSM Building Viewer

Visualize an OSM Building in 3D

Visualize an OSM Building from the live OSM data. To visualize a building tagged with a way, use the URL: https://beakerboy.github.io/OSMBuilding/index.html?id=[id]

If the building is a multipolygon, or a relation, use: https://beakerboy.github.io/OSMBuilding/index.html?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.

Supports:

  • Ways with a building tag
  • Ways with building parts inside.
  • Building relations with way and/or multipolygon parts
  • Mulipolygon buildings

Roof Types:

  • Flat
  • Skillion
  • Dome
  • Pyramidal
  • Gabled

Examples:

About

render an individual OSM building

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 94.8%
  • HTML 4.1%
  • CSS 1.1%