Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.reuse/ | H | 27-Feb-2022 | - | 17 | 13 | |
LICENSES/ | H | 03-May-2022 | - | |||
autotests/ | H | 03-May-2022 | - | 38,943 | 38,489 | |
cmake/ | H | 27-Feb-2022 | - | 128 | 105 | |
po/ | H | 01-Mar-2022 | - | 35,476 | 29,554 | |
src/ | H | 03-May-2022 | - | 20,591 | 15,844 | |
tests/ | H | 03-May-2022 | - | 309 | 258 | |
.clang-tidy | H A D | 27-Feb-2022 | 861 | 14 | 13 | |
.gitignore | H A D | 27-Feb-2022 | 163 | 15 | 13 | |
.gitlab-ci.yml | H A D | 27-Feb-2022 | 186 | 6 | 4 | |
.kateconfig | H A D | 27-Feb-2022 | 143 | 4 | 3 | |
CMakePresets.json | H A D | 27-Feb-2022 | 5.7 KiB | 168 | 166 | |
CMakePresets.json.license | H A D | 27-Feb-2022 | 103 | 3 | 2 | |
KOSMIndoorMapConfig.cmake.in | H A D | 27-Feb-2022 | 243 | 10 | 6 | |
README.md | H A D | 27-Feb-2022 | 2.3 KiB | 49 | 39 | |
README.md.license | H A D | 27-Feb-2022 | 94 | 3 | 2 | |
add_license.sh | H A D | 27-Feb-2022 | 586 | 21 | 16 | |
metainfo.yaml | H A D | 27-Feb-2022 | 322 | 19 | 17 | |
metainfo.yaml.license | H A D | 27-Feb-2022 | 62 | 3 | 2 |
README.md
1# KOSMIndoorMap 2 3A library and QML component for rendering multi-level OSM indoor maps of for example 4a (large) train station. 5 6## Features 7 8User facing: 9* Floor-level separation of OSM data and inter-floor navigation using stairs, escalators or elevators. 10* Information model for showing details about a selected amenity. 11* Support for identifying railway platforms or airport gates in the map data. 12* Integration with KPublicTransport line meta-data to show line icons for railway platforms. 13* Integration with KPublicTransport rental vehicle data to show availability of rental bikes. 14* Integration with KPublicTransport realtime equipment (elevators/escalators/etc) status information. 15 16Technical: 17* QPainter and QML integration interface. 18* Declarative styling using MapCSS. 19* Picking support for implementing interaction with map elements. 20* Support for externally provided overlay elements. 21* Based on OSM raw data tiles from maps.kde.org. 22* Pre-loading and caching API for offline support in applications. 23 24## Development/Testing 25 26There's two test applications included: 27- A fairly minimal widget-based one that can be launched via `$buildir/bin/indoormap -c <lat>,<lon>` 28 (use e.g. `-c 52.52512,13.36966` for a good example). 29- A QML-based one that can be launched via `qmlscene src/app/indoormap.qml`. This one demos a number 30 of additional features, such as element picking and the KPublicTransport integration. 31 32The latter is also available as nightly build: 33* Flatpak: 34``` 35flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo 36flatpak remote-add --if-not-exists kdeapps --from https://distribute.kde.org/kdeapps.flatpakrepo 37flatpak install kdeapps org.kde.kosmindoormap 38``` 39* [KDE nightly F-Droid repository](https://community.kde.org/Android/FDroid) 40* [Raw APKs from binary factory](https://binary-factory.kde.org/view/Android/job/KOSMIndoorMap_android/) 41 42### Dynamic MapCSS 43 44By default the compiled-in MapCSS files are used. If you put files with the same name into 45`$PREFIX/share/org.kde.kosmindoormap/assets/css` or `~/.local/share/org.kde.kosmindoormap/assets/css` 46those will be preferred. Symlinking the `src/map/assets` directory to any of those locations is therefore 47useful for style development. Styles are reevaluated when switching between them, so this allows testing 48style changes without restarting or recompiling the applications. 49