Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yarl/osmtools-indoor
OpenStreetMap indoor mapping browser
https://github.com/yarl/osmtools-indoor
Last synced: 2 months ago
JSON representation
OpenStreetMap indoor mapping browser
- Host: GitHub
- URL: https://github.com/yarl/osmtools-indoor
- Owner: yarl
- Created: 2012-12-14T22:20:46.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-07-02T18:00:10.000Z (over 10 years ago)
- Last Synced: 2024-10-10T18:54:21.482Z (3 months ago)
- Language: JavaScript
- Homepage: http://osmtools.org/indoor/
- Size: 781 KB
- Stars: 36
- Watchers: 9
- Forks: 27
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
OpenStreetMap Indoor Mapping browser.
### How it works?
Displayed data are taken 'live' from OSM database is using [Overpass API](http://wiki.openstreetmap.org/wiki/Overpass_API). It's working worldwide.
### How to render a building?In order to render building outline on the map, relation of building should have a way (role 'outer') with tags building='yes' and level='0' (see screenshot below). The relation itself should have tag type='building' and contain subrelations representing building's levels.
![JOSM](http://i.imgur.com/JRAL8.png)
Relation of level should have tag type='level' and contain ways - rooms. Each room should be a member of proper level with role 'buildingpart' and should contain tag buildingpart='room'.
![JOSM](http://i.imgur.com/RUb6i.png)
For more information please take a look at [wiki page](http://wiki.openstreetmap.org/wiki/IndoorOSM#The_Model_.2F_Tagging_Schema).
### License
Copyright (C) 2012-2013 Yarl ([email protected])
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program. If not, see .