Skip to content

Kacperos155/Mapa-Lini-Kolejowych

Repository files navigation

Interaktywna Mapa Lini Kolejowych

EN: Interactive Map of Railway Lines
Client-Server application using Leaflet to visualize rail data downloaded from OpenStreetMap servers. Application in Polish and English languages.

screenshot

Using and Building

Using

Ready to work version with rail data for Poland is ready to download in Releases. Executable will host website on localhost:80

Flags

Executable .exe file support this flags:

  • "--help" - Shows below flags with desciption
  • "--rebuild-database" - Creating new database by downloading data for provided country from OverSteetMap by OverpassAPI or by providing JSON file with data compatible with OverpassAPI script
  • "--force-console" - Turning off GUI and forcing interaction by console
  • "--translate" - Translating files mentioned in Website\languages.json

Manual Building

This repository has one git submodule and is using Visual Studio project files and depends on vcpkg packages (x64-windows-static).

Dependencies

C++:

  • Drogon - Fast async HTTP Framework
  • SQLiteCpp - Easy to use C++ wrapper for SQLite3
  • Spatalite (included in repository) - SQLite3 extension for GIS
  • FMT - Very useful string formating
  • CPR - C++ Curl wrapper
  • tinyfiledialogs - Native GUI dialogs eg. open file dialog

JavaScript:

  • Leaflet - Open-source interactive map
  • Leaflet.Legend (submodule) - Leaflet plugin for easy creation of map legend