https://github.com/kde/kosmindoormap
OSM multi-floor indoor map renderer
https://github.com/kde/kosmindoormap
Last synced: about 1 month ago
JSON representation
OSM multi-floor indoor map renderer
- Host: GitHub
- URL: https://github.com/kde/kosmindoormap
- Owner: KDE
- License: other
- Created: 2020-10-18T18:25:43.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-04-20T20:06:10.000Z (about 2 months ago)
- Last Synced: 2025-04-20T21:22:44.846Z (about 2 months ago)
- Language: C++
- Homepage: https://invent.kde.org/libraries/kosmindoormap
- Size: 7.96 MB
- Stars: 9
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSES/BSD-2-Clause.txt
Awesome Lists containing this project
README
# KOSMIndoorMap
A library and QML component for rendering multi-level OSM indoor maps of for example
a (large) train station.## Features
User facing:
* Floor-level separation of OSM data and inter-floor navigation using stairs, escalators or elevators.
* Information model for showing details about a selected amenity.
* Support for identifying railway platforms or airport gates in the map data.
* Integration with KPublicTransport line meta-data to show line icons for railway platforms.
* Integration with KPublicTransport rental vehicle data to show availability of rental bikes.
* Integration with KPublicTransport realtime equipment (elevators/escalators/etc) status information.Technical:
* QPainter and QML integration interface.
* Declarative styling using MapCSS.
* Picking support for implementing interaction with map elements.
* Support for externally provided overlay elements.
* Based on OSM raw data tiles from maps.kde.org.
* Pre-loading and caching API for offline support in applications.## Development/Testing
There's two test applications included:
- A fairly minimal widget-based one that can be launched via `$buildir/bin/indoormap -c ,`
(use e.g. `-c 52.52512,13.36966` for a good example).
- A QML-based one that can be launched via `qmlscene src/app/indoormap.qml`. This one demos a number
of additional features, such as element picking and the KPublicTransport integration.The latter is also available as nightly build:
* Flatpak:
```
flatpak install https://cdn.kde.org/flatpak/kosmindoormap-nightly/org.kde.kosmindoormap.flatpakref
```
* [KDE nightly F-Droid repository](https://community.kde.org/Android/FDroid)### Dynamic MapCSS
By default the compiled-in MapCSS files are used. If you put files with the same name into
`$PREFIX/share/org.kde.kosmindoormap/assets/css` or `~/.local/share/org.kde.kosmindoormap/assets/css`
those will be preferred. Symlinking the `src/map/assets` directory to any of those locations is therefore
useful for style development. Styles are reevaluated when switching between them, so this allows testing
style changes without restarting or recompiling the applications.