├── Demos ├── AUTHORS ├── COPYING ├── README ├── demo.qrc └── src │ └── meson.build ├── Tests ├── AUTHORS ├── README ├── ChangeLog ├── data │ ├── testregion │ │ ├── ptroutes.dat │ │ ├── .gitignore │ │ ├── areas.dat │ │ ├── nodes.dat │ │ ├── route.dat │ │ ├── router2.dat │ │ ├── types.dat │ │ ├── water.idx │ │ ├── ways.dat │ │ ├── areaway.idx │ │ ├── router.dat │ │ ├── textloc.dat │ │ ├── textpoi.dat │ │ ├── waysopt.dat │ │ ├── areaarea.idx │ │ ├── areanode.idx │ │ ├── arearoute.idx │ │ ├── areasopt.dat │ │ ├── bounding.dat │ │ ├── coverage.idx │ │ ├── location.idx │ │ ├── textother.dat │ │ ├── textregion.dat │ │ ├── intersections.dat │ │ └── intersections.idx │ └── testregion.poly └── src │ ├── NumberSetTest.cpp │ ├── StdByteTest.cpp │ ├── TimeParseTest.cpp │ └── ColorParseTest.cpp ├── Import ├── AUTHORS ├── COPYING ├── README └── meson.build ├── OSMScout2 ├── COPYING ├── qml │ ├── ObjectInfoDialog.qml │ └── custom │ │ ├── ScrollIndicator.qml │ │ └── MapButton.qml ├── AUTHORS ├── resources │ ├── voice-providers.json │ └── map-providers.json ├── buildAndroidPackage.sh ├── pics │ └── routestep │ │ ├── information.svg │ │ ├── drive-along.svg │ │ ├── invalid-straight.svg │ │ ├── target.svg │ │ ├── start.svg │ │ ├── turn.svg │ │ ├── turn-sharp-left.svg │ │ ├── turn-sharp-right.svg │ │ ├── enter-motorway.svg │ │ ├── leave-motorway.svg │ │ └── leave-motorway-right.svg └── translations.pro ├── StyleEditor ├── COPYING ├── AUTHORS ├── README ├── qtquickcontrols2.conf ├── qml_515 │ ├── custom │ │ ├── ScrollIndicator.qml │ │ └── DialogAction.qml │ └── Units.qml └── qml_640 │ ├── custom │ ├── ScrollIndicator.qml │ └── DialogAction.qml │ └── Units.qml ├── Java ├── .gitignore └── Renderer │ └── src │ └── main │ └── java │ └── net │ └── sf │ └── libosmscout │ └── Renderer.java ├── webpage ├── .gitignore ├── static │ └── images │ │ ├── QtApi.png │ │ ├── symbols.png │ │ ├── Colone_1.png │ │ ├── Colone_2.png │ │ ├── Colone_3.png │ │ ├── Colone_4.png │ │ ├── Colone_5.png │ │ ├── Colone_6.png │ │ ├── Colone_7.png │ │ ├── qt-route.png │ │ ├── ContourLines.png │ │ ├── ItalyCoastlines.png │ │ ├── qt-custom-way.png │ │ ├── qt-hill-shades.png │ │ ├── qt-place-mark.png │ │ ├── ConstructionYear.png │ │ ├── qt-canvas-overlay.png │ │ ├── ItalyWithDataPolygon.png │ │ ├── OddEvenHousenumbers.png │ │ ├── qt-current-position.png │ │ ├── qt-place-descriptin.png │ │ └── ItalyWithoutDataPolygon.png ├── layouts │ ├── partials │ │ ├── footer.html │ │ ├── header.html │ │ └── head.html │ ├── _default │ │ ├── li.html │ │ ├── summary.html │ │ ├── single.html │ │ └── list.html │ └── index.html ├── content │ ├── examples │ │ └── _index.md │ ├── documentation │ │ ├── releases.md │ │ ├── _index.md │ │ ├── download.md │ │ └── docker.md │ ├── tutorials │ │ └── _index.md │ └── features │ │ └── platforms.md └── CMakeLists.txt ├── Android ├── OsmScoutLib │ ├── res │ │ └── .gitignore │ ├── jni │ │ └── include │ │ │ └── config │ │ │ └── MapFeatures.h │ ├── AndroidManifest.xml │ ├── project.properties │ └── proguard-project.txt ├── OsmScoutViewer │ ├── res │ │ ├── drawable │ │ │ └── ic_launcher.png │ │ ├── values │ │ │ └── strings.xml │ │ └── layout │ │ │ └── main.xml │ ├── project.properties │ ├── proguard-project.txt │ └── AndroidManifest.xml ├── OsmScoutBenchmark │ ├── res │ │ ├── drawable-hdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-ldpi │ │ │ └── ic_launcher.png │ │ ├── drawable-mdpi │ │ │ └── ic_launcher.png │ │ ├── drawable-xhdpi │ │ │ └── ic_launcher.png │ │ └── values │ │ │ ├── strings.xml │ │ │ └── styles.xml │ ├── src │ │ └── osm │ │ │ └── scout │ │ │ └── benchmark │ │ │ └── BenchmarkProgressListener.java │ ├── project.properties │ └── proguard-project.txt └── .clang-tidy ├── BasemapImport ├── AUTHORS ├── README └── meson.build ├── DumpData ├── AUTHORS ├── README ├── meson.build └── CMakeLists.txt ├── libosmscout-binding ├── src │ ├── java │ │ └── net │ │ │ └── sf │ │ │ └── libosmscout │ │ │ └── osmscout │ │ │ └── .gitignore │ └── swig │ │ └── osmscout │ │ ├── CoreImportExport.i │ │ ├── Pixel.i │ │ ├── util │ │ ├── Color.i │ │ ├── GeoBox.i │ │ ├── TileId.i │ │ ├── Tiling.i │ │ ├── Distance.i │ │ ├── Parsing.i │ │ ├── Progress.i │ │ ├── FileWriter.i │ │ ├── Projection.i │ │ ├── FileScanner.i │ │ ├── Magnification.i │ │ ├── StringMatcher.i │ │ ├── Transformation.i │ │ ├── TagErrorReporter.i │ │ ├── Time.i │ │ ├── Bearing.i │ │ ├── Geometry.i │ │ └── Breaker.i │ │ ├── TypeInfoSet.i │ │ ├── routing │ │ ├── RouteData.i │ │ ├── Route.i │ │ ├── AbstractRoutingService.i │ │ ├── DBFileOffset.i │ │ ├── RouteNode.i │ │ ├── RoutingService.i │ │ ├── RoutePostprocessor.i │ │ ├── SimpleRoutingService.i │ │ └── RoutingProfile.i │ │ ├── AreaNodeIndex.i │ │ ├── AreaWayIndex.i │ │ ├── Point.i │ │ ├── AreaAreaIndex.i │ │ ├── GeoCoord.i │ │ ├── ObjectRef.i │ │ ├── BoundingBoxDataFile.i │ │ ├── OptimizeWaysLowZoom.i │ │ ├── OptimizeAreasLowZoom.i │ │ ├── WaterIndex.i │ │ ├── LocationIndex.i │ │ ├── DataFile.i │ │ ├── Tag.i │ │ ├── Way.i │ │ ├── Node.i │ │ ├── WayDataFile.i │ │ ├── GroundTile.i │ │ ├── NodeDataFile.i │ │ ├── Area.i │ │ ├── AreaDataFile.i │ │ ├── LocationService.i │ │ ├── Location.i │ │ ├── Database.i │ │ ├── TypeConfig.i │ │ └── OSMScoutTypes.i ├── AUTHORS └── README ├── libosmscout ├── AUTHORS ├── .gitignore ├── data │ └── icons │ │ └── 14x14 │ │ └── standard │ │ ├── bench.png │ │ ├── forest.png │ │ ├── gardenpng │ │ ├── scrub.png │ │ ├── bus_stop.png │ │ ├── cemetery.png │ │ ├── fast_food.png │ │ ├── hospital.png │ │ ├── parking.png │ │ ├── pharmacy.png │ │ ├── restaurant.png │ │ └── waste_basket.png ├── README ├── include │ └── osmscout │ │ └── lib │ │ ├── CoreFeatures.h.cmake │ │ └── meson.build ├── TODO ├── parser │ ├── generate.sh │ └── OST │ │ └── Copyright.frame └── src │ └── osmscout │ └── OSMScoutTypes.cpp ├── setupMSYS2.sh ├── libosmscout-map-binding └── src │ ├── java │ └── net │ │ └── sf │ │ └── libosmscout │ │ └── osmscout │ │ └── .gitignore │ └── swig │ └── osmscout │ ├── MapImportExport.i │ ├── MapData.i │ ├── MapService.i │ ├── StyleConfig.i │ ├── MapParameter.i │ ├── StyleProcessor.i │ ├── StyleDescription.i │ ├── LabelProvider.i │ ├── DataTileCache.i │ └── libosmscout-map.i ├── libosmscout-map ├── AUTHORS ├── .gitignore ├── README ├── include │ └── osmscoutmap │ │ ├── private │ │ └── meson.build │ │ ├── MapFeatures.h.cmake │ │ └── meson.build ├── parser │ ├── generate.sh │ └── OSS │ │ └── Copyright.frame └── meson.build ├── libosmscout-client-qt ├── AUTHORS ├── include │ └── osmscoutclientqt │ │ ├── ClientQtFeatures.h.cmake │ │ ├── meson.build │ │ └── private │ │ └── meson.build └── README ├── libosmscout-client ├── AUTHORS ├── include │ └── osmscoutclient │ │ ├── ClientFeatures.h.cmake │ │ ├── meson.build │ │ └── private │ │ └── meson.build ├── README └── src │ └── meson.build ├── libosmscout-import ├── AUTHORS ├── src │ ├── osmscoutimport │ │ └── pbf │ │ │ └── .gitignore │ └── protobuf │ │ └── meson.build ├── README └── include │ └── osmscoutimport │ ├── ImportFeatures.h.cmake │ ├── private │ └── meson.build │ └── meson.build ├── libosmscout-map-agg ├── AUTHORS ├── src │ └── meson.build ├── include │ ├── osmscoutmapagg │ │ ├── MapAggFeatures.h.cmake │ │ ├── meson.build │ │ └── private │ │ │ └── meson.build │ └── meson.build └── README ├── libosmscout-map-cairo ├── AUTHORS ├── README ├── src │ └── meson.build └── include │ ├── osmscoutmapcairo │ ├── MapCairoFeatures.h.cmake │ ├── meson.build │ └── private │ │ └── meson.build │ └── meson.build ├── libosmscout-map-opengl ├── AUTHORS ├── data │ ├── fonts │ │ └── LiberationSans-Regular.ttf │ └── shaders │ │ ├── GroundFragmentShader.frag │ │ ├── AreaFragmentShader.frag │ │ ├── QuadFragmentShader.frag │ │ ├── TextFragmentShader.frag │ │ ├── AreaVertexShader.vert │ │ └── GroundVertexShader.vert ├── include │ ├── osmscoutmapopengl │ │ ├── private │ │ │ └── meson.build │ │ ├── MapOpenGLFeatures.h.cmake │ │ └── meson.build │ └── meson.build ├── src │ └── meson.build └── README.md ├── libosmscout-map-qt ├── AUTHORS ├── include │ ├── osmscoutmapqt │ │ ├── MapQtFeatures.h.cmake │ │ ├── meson.build │ │ └── private │ │ │ └── meson.build │ └── meson.build ├── src │ └── meson.build ├── README ├── meson.build └── libosmscout-map-qt.pro ├── libosmscout-map-svg ├── AUTHORS ├── src │ └── meson.build ├── README ├── include │ ├── osmscoutmapsvg │ │ ├── meson.build │ │ ├── MapSVGFeatures.h.cmake │ │ └── private │ │ │ └── meson.build │ └── meson.build └── meson.build ├── libosmscout-map-gdi ├── AUTHORS ├── src │ └── meson.build ├── include │ ├── osmscoutmapgdi │ │ ├── meson.build │ │ └── private │ │ │ └── meson.build │ └── meson.build ├── CMakeLists.txt └── meson.build ├── Documentation ├── Vortrag.odp ├── StyleSheetSyntax.txt ├── README.VisualStudio.txt ├── README.Apple.txt ├── VehiclesAndAccess.txt └── README.Java.txt ├── Apple └── OSMScoutOSX │ ├── OSMScoutOSX │ ├── en.lproj │ │ ├── InfoPlist.strings │ │ └── Credits.rtf │ ├── Media.xcassets │ │ ├── Contents.json │ │ └── AppIcon.appiconset │ │ │ ├── Icon_osx16.png │ │ │ ├── Icon_osx32.png │ │ │ ├── Icon_osx128.png │ │ │ ├── Icon_osx256-1.png │ │ │ ├── Icon_osx256.png │ │ │ ├── Icon_osx256@2.png │ │ │ ├── Icon_osx32-1.png │ │ │ └── Icon_osx32@2x.png │ ├── OSMScoutOSX-Prefix.pch │ ├── OSMScoutOSX.entitlements │ ├── AppDelegate.swift │ └── OSMScoutOSX-Bridging-Header.h │ ├── OSMScoutiOS │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── Media.xcassets │ │ ├── Contents.json │ │ └── AppIcon.appiconset │ │ │ ├── Icon@2x.png │ │ │ ├── Icon@3x.png │ │ │ ├── Icon_20.png │ │ │ ├── Icon_29.png │ │ │ ├── Icon_40.png │ │ │ ├── Icon_60.png │ │ │ ├── Icon_29@2x.png │ │ │ ├── Icon_29@3x.png │ │ │ ├── Icon_40-1.png │ │ │ ├── Icon_40-2.png │ │ │ ├── Icon_40@2x.png │ │ │ ├── Icon_40@3x.png │ │ │ ├── Icon_iPad.png │ │ │ ├── Icon_29@2x-1.png │ │ │ ├── Icon_40@2x-1.png │ │ │ ├── Icon_iPad@2x.png │ │ │ └── Icon_iPadPro.png │ ├── OSMScoutiOS-Bridging-Header.h │ └── OSMScoutiOS-Prefix.pch │ └── OSMScoutOSX.xcodeproj │ └── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ ├── vyskocil.xcuserdatad │ └── UserInterfaceState.xcuserstate │ └── vlad.xcuserdatad │ └── WorkspaceSettings.xcsettings ├── libosmscout-test ├── .gitignore ├── include │ ├── osmscout-test │ │ ├── TestFeatures.h.cmake │ │ ├── private │ │ │ └── meson.build │ │ └── meson.build │ └── meson.build ├── src │ └── meson.build ├── parser │ ├── generate.sh │ └── OLT │ │ └── Copyright.frame └── meson.build ├── ci └── docker │ ├── ubuntu_24.04_webpage │ ├── build.sh │ ├── run.sh │ ├── Dockerfile │ └── data │ │ └── build.sh │ ├── archlinux_gcc_cmake │ ├── build.sh │ ├── run.sh │ ├── README.md │ ├── data │ │ └── build.sh │ └── Dockerfile │ ├── archlinux_gcc_meson │ ├── build.sh │ ├── run.sh │ ├── README.md │ ├── data │ │ └── build.sh │ └── Dockerfile │ ├── ubuntu_24.04_gcc_cmake │ ├── build.sh │ ├── run.sh │ └── data │ │ └── build.sh │ ├── archlinux_clang_cmake │ ├── build.sh │ ├── run.sh │ ├── README.md │ ├── data │ │ └── build.sh │ └── Dockerfile │ ├── debian_13_trixie_gcc_meson │ ├── build.sh │ ├── run.sh │ └── data │ │ └── build.sh │ ├── ubuntu_24.04_gcc_meson_qt6 │ ├── build.sh │ ├── run.sh │ ├── data │ │ └── build.sh │ └── Dockerfile │ ├── ubuntu_24.04_aarch64_gcc_cmake │ ├── build.sh │ ├── run.sh │ ├── data │ │ └── build.sh │ └── arm64.list │ ├── ubuntu_24.04_clang_msan_cmake │ ├── build.sh │ ├── run.sh │ └── data │ │ └── build.sh │ └── buildAll.sh ├── libosmscout-map-iosx ├── AUTHORS ├── src │ └── meson.build ├── include │ ├── osmscoutmapiosx │ │ └── private │ │ │ └── meson.build │ └── meson.build ├── README └── meson.build ├── libosmscout-kotlin └── src │ ├── main │ └── kotlin │ │ └── com │ │ └── framstag │ │ └── osmscout │ │ ├── io │ │ └── FileOffset.kt │ │ ├── types │ │ └── TypeId.kt │ │ ├── objecttypes │ │ └── Feature.kt │ │ └── geometry │ │ ├── GeoCoord.kt │ │ └── GeoBox.kt │ └── test │ └── kotlin │ └── com │ └── framstag │ └── osmscout │ └── LoadTypeConfig.kt ├── cmake ├── TestTBBSchedulerInit.cpp ├── TestWindowsFSeek.c ├── launch-c.in ├── launch-cxx.in ├── TestPThreadName.cpp ├── TestFileOffsetBits.c ├── TestSSE.c └── TestLargeFiles.c.cmake.in ├── libosmscout-map-directx ├── include │ ├── osmscoutmapdirectx │ │ ├── MapDirectXFeatures.h.cmake │ │ ├── meson.build │ │ └── private │ │ │ └── meson.build │ └── meson.build ├── src │ └── meson.build └── CMakeLists.txt ├── stylesheets ├── include │ ├── route.oss │ ├── land_sea.oss │ └── land_sea_color.oss └── contour_lines.ost ├── libosmscout-gpx ├── include │ ├── osmscoutgpx │ │ ├── GPXFeatures.h.cmake │ │ ├── private │ │ │ └── meson.build │ │ └── meson.build │ └── meson.build ├── src │ ├── meson.build │ └── osmscoutgpx │ │ └── GpxFile.cpp └── meson.build ├── cspell.json ├── pkgconfig-template.pc.in ├── vcpkg_minimum.json ├── .github └── release.yml ├── PublicTransportMap ├── meson.build └── CMakeLists.txt ├── sonar-project.properties ├── WellScoutedRoute └── meson.build ├── maps ├── .gitignore └── Readme.txt ├── vcpkg_medium.json ├── vcpkg_full.json ├── subprojects ├── liblzma.wrap ├── glew.wrap ├── glm.wrap ├── libxml2.wrap ├── zlib.wrap ├── libpng.wrap └── protobuf.wrap ├── OSMScoutOpenGL ├── meson.build ├── CMakeLists.txt └── README.md ├── packaging └── import │ └── linux │ ├── import.sh │ └── README ├── .gitignore └── conanfile.txt /Demos/AUTHORS: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Demos/COPYING: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Demos/README: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Tests/AUTHORS: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Tests/README: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Import/AUTHORS: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Import/COPYING: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /OSMScout2/COPYING: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Tests/ChangeLog: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /StyleEditor/COPYING: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Java/.gitignore: -------------------------------------------------------------------------------- 1 | **/target/ 2 | -------------------------------------------------------------------------------- /webpage/.gitignore: -------------------------------------------------------------------------------- 1 | public 2 | -------------------------------------------------------------------------------- /Android/OsmScoutLib/res/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /OSMScout2/qml/ObjectInfoDialog.qml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Tests/data/testregion/ptroutes.dat: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /BasemapImport/AUTHORS: -------------------------------------------------------------------------------- 1 | tim@framstag.com 2 | -------------------------------------------------------------------------------- /DumpData/AUTHORS: -------------------------------------------------------------------------------- 1 | Authors are: 2 | Tim Teulings -------------------------------------------------------------------------------- /Tests/data/testregion/.gitignore: -------------------------------------------------------------------------------- 1 | *.html 2 | *.idmap 3 | *.txt 4 | -------------------------------------------------------------------------------- /libosmscout-binding/src/java/net/sf/libosmscout/osmscout/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libosmscout/AUTHORS: -------------------------------------------------------------------------------- 1 | Authors are: 2 | Tim Teulings -------------------------------------------------------------------------------- /setupMSYS2.sh: -------------------------------------------------------------------------------- 1 | export CC="gcc.exe" 2 | export CXX="g++.exe" 3 | 4 | -------------------------------------------------------------------------------- /OSMScout2/AUTHORS: -------------------------------------------------------------------------------- 1 | Authors are: 2 | Tim Teulings 3 | -------------------------------------------------------------------------------- /libosmscout-map-binding/src/java/net/sf/libosmscout/osmscout/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libosmscout-map/AUTHORS: -------------------------------------------------------------------------------- 1 | Authors are: 2 | Tim Teulings -------------------------------------------------------------------------------- /libosmscout-binding/AUTHORS: -------------------------------------------------------------------------------- 1 | Authors are: 2 | Tim Teulings -------------------------------------------------------------------------------- /libosmscout-client-qt/AUTHORS: -------------------------------------------------------------------------------- 1 | Authors are: 2 | Tim Teulings -------------------------------------------------------------------------------- /libosmscout-client/AUTHORS: -------------------------------------------------------------------------------- 1 | Authors are: 2 | Tim Teulings -------------------------------------------------------------------------------- /libosmscout-import/AUTHORS: -------------------------------------------------------------------------------- 1 | Authors are: 2 | Tim Teulings -------------------------------------------------------------------------------- /libosmscout-map-agg/AUTHORS: -------------------------------------------------------------------------------- 1 | Authors are: 2 | Tim Teulings -------------------------------------------------------------------------------- /libosmscout-map-cairo/AUTHORS: -------------------------------------------------------------------------------- 1 | Authors are: 2 | Tim Teulings -------------------------------------------------------------------------------- /libosmscout-map-opengl/AUTHORS: -------------------------------------------------------------------------------- 1 | Authors are: 2 | Tim Teulings -------------------------------------------------------------------------------- /libosmscout-map-qt/AUTHORS: -------------------------------------------------------------------------------- 1 | Authors are: 2 | Tim Teulings -------------------------------------------------------------------------------- /libosmscout-map-svg/AUTHORS: -------------------------------------------------------------------------------- 1 | Authors are: 2 | Tim Teulings -------------------------------------------------------------------------------- /libosmscout-map-binding/src/swig/osmscout/MapImportExport.i: -------------------------------------------------------------------------------- 1 | #define OSMSCOUT_MAP_API 2 | -------------------------------------------------------------------------------- /libosmscout-map-gdi/AUTHORS: -------------------------------------------------------------------------------- 1 | Authors are: 2 | Transporter -------------------------------------------------------------------------------- /Documentation/Vortrag.odp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Documentation/Vortrag.odp -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/CoreImportExport.i: -------------------------------------------------------------------------------- 1 | #define OSMSCOUT_API 2 | #define CLASS_FINAL 3 | -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutOSX/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutiOS/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Tests/data/testregion/areas.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/areas.dat -------------------------------------------------------------------------------- /Tests/data/testregion/nodes.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/nodes.dat -------------------------------------------------------------------------------- /Tests/data/testregion/route.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/route.dat -------------------------------------------------------------------------------- /Tests/data/testregion/router2.dat: -------------------------------------------------------------------------------- 1 | $"$"""!,!&!$$""!,&&$F -------------------------------------------------------------------------------- /Tests/data/testregion/types.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/types.dat -------------------------------------------------------------------------------- /Tests/data/testregion/water.idx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/water.idx -------------------------------------------------------------------------------- /Tests/data/testregion/ways.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/ways.dat -------------------------------------------------------------------------------- /libosmscout-map/.gitignore: -------------------------------------------------------------------------------- 1 | /parser/OSS/*.cpp 2 | /parser/OSS/*.cpp.old 3 | /parser/OSS/*.h 4 | /parser/OSS/*.h.old 5 | -------------------------------------------------------------------------------- /libosmscout/.gitignore: -------------------------------------------------------------------------------- 1 | /parser/OST/*.cpp 2 | /parser/OST/*.cpp.old 3 | /parser/OST/*.h 4 | /parser/OST/*.h.old 5 | -------------------------------------------------------------------------------- /webpage/static/images/QtApi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/QtApi.png -------------------------------------------------------------------------------- /Tests/data/testregion/areaway.idx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/areaway.idx -------------------------------------------------------------------------------- /Tests/data/testregion/router.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/router.dat -------------------------------------------------------------------------------- /Tests/data/testregion/textloc.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/textloc.dat -------------------------------------------------------------------------------- /Tests/data/testregion/textpoi.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/textpoi.dat -------------------------------------------------------------------------------- /Tests/data/testregion/waysopt.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/waysopt.dat -------------------------------------------------------------------------------- /libosmscout-test/.gitignore: -------------------------------------------------------------------------------- 1 | /parser/OLT/*.cpp 2 | /parser/OLT/*.cpp.old 3 | /parser/OLT/*.h 4 | /parser/OLT/*.h.old 5 | -------------------------------------------------------------------------------- /webpage/layouts/partials/footer.html: -------------------------------------------------------------------------------- 1 |
Last revision of this page: {{ .Date.Format "2006-01-02" }}
2 | 3 | -------------------------------------------------------------------------------- /webpage/static/images/symbols.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/symbols.png -------------------------------------------------------------------------------- /StyleEditor/AUTHORS: -------------------------------------------------------------------------------- 1 | Authors are: 2 | Tim Teulings 3 | Vladimir Vyskocil 4 | -------------------------------------------------------------------------------- /Tests/data/testregion/areaarea.idx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/areaarea.idx -------------------------------------------------------------------------------- /Tests/data/testregion/areanode.idx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/areanode.idx -------------------------------------------------------------------------------- /Tests/data/testregion/arearoute.idx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/arearoute.idx -------------------------------------------------------------------------------- /Tests/data/testregion/areasopt.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/areasopt.dat -------------------------------------------------------------------------------- /Tests/data/testregion/bounding.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/bounding.dat -------------------------------------------------------------------------------- /Tests/data/testregion/coverage.idx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/coverage.idx -------------------------------------------------------------------------------- /Tests/data/testregion/location.idx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/location.idx -------------------------------------------------------------------------------- /Tests/data/testregion/textother.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/textother.dat -------------------------------------------------------------------------------- /Tests/data/testregion/textregion.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/textregion.dat -------------------------------------------------------------------------------- /ci/docker/ubuntu_24.04_webpage/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd `dirname $0` 3 | docker build -t libosmscout/ubuntu_24.04_webpage . 4 | -------------------------------------------------------------------------------- /webpage/static/images/Colone_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/Colone_1.png -------------------------------------------------------------------------------- /webpage/static/images/Colone_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/Colone_2.png -------------------------------------------------------------------------------- /webpage/static/images/Colone_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/Colone_3.png -------------------------------------------------------------------------------- /webpage/static/images/Colone_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/Colone_4.png -------------------------------------------------------------------------------- /webpage/static/images/Colone_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/Colone_5.png -------------------------------------------------------------------------------- /webpage/static/images/Colone_6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/Colone_6.png -------------------------------------------------------------------------------- /webpage/static/images/Colone_7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/Colone_7.png -------------------------------------------------------------------------------- /webpage/static/images/qt-route.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/qt-route.png -------------------------------------------------------------------------------- /ci/docker/archlinux_gcc_cmake/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd `dirname $0` 3 | docker build --pull -t libosmscout/archlinux_gcc_cmake . 4 | -------------------------------------------------------------------------------- /ci/docker/archlinux_gcc_cmake/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | docker run --rm=true -it libosmscout/archlinux_gcc_cmake ./build.sh "$@" 4 | -------------------------------------------------------------------------------- /ci/docker/archlinux_gcc_meson/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd `dirname $0` 3 | docker build --pull -t libosmscout/archlinux_gcc_meson . 4 | -------------------------------------------------------------------------------- /ci/docker/archlinux_gcc_meson/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | docker run --rm=true -it libosmscout/archlinux_gcc_meson ./build.sh "$@" 4 | -------------------------------------------------------------------------------- /ci/docker/ubuntu_24.04_gcc_cmake/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd `dirname $0` 3 | docker build -t libosmscout/ubuntu_22.04_gcc_cmake . 4 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/Pixel.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-map-iosx/AUTHORS: -------------------------------------------------------------------------------- 1 | Authors are: 2 | Tim Teulings 3 | Vladimir Vyskocil 4 | -------------------------------------------------------------------------------- /webpage/static/images/ContourLines.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/ContourLines.png -------------------------------------------------------------------------------- /Tests/data/testregion/intersections.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/intersections.dat -------------------------------------------------------------------------------- /Tests/data/testregion/intersections.idx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Tests/data/testregion/intersections.idx -------------------------------------------------------------------------------- /ci/docker/archlinux_clang_cmake/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd `dirname $0` 3 | docker build --pull -t libosmscout/archlinux_clang_cmake . 4 | -------------------------------------------------------------------------------- /ci/docker/archlinux_clang_cmake/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | docker run --rm=true -it libosmscout/archlinux_clang_cmake ./build.sh "$@" 4 | -------------------------------------------------------------------------------- /ci/docker/ubuntu_24.04_gcc_cmake/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | docker run --rm=true -it libosmscout/ubuntu_22.04_gcc_cmake ./build.sh "$@" 4 | -------------------------------------------------------------------------------- /ci/docker/ubuntu_24.04_webpage/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | docker run --rm=true -it libosmscout/ubuntu_24.04_webpage ./build.sh "$@" 4 | -------------------------------------------------------------------------------- /libosmscout-import/src/osmscoutimport/pbf/.gitignore: -------------------------------------------------------------------------------- 1 | /fileformat.pb.cc 2 | /osmformat.pb.lo 3 | /osmformat.pb.cc 4 | /fileformat.pb.lo 5 | -------------------------------------------------------------------------------- /libosmscout-map-agg/src/meson.build: -------------------------------------------------------------------------------- 1 | osmscoutmapaggSrc = [ 2 | 'src/osmscoutmapagg/MapPainterAgg.cpp', 3 | ] 4 | 5 | -------------------------------------------------------------------------------- /libosmscout-map-svg/src/meson.build: -------------------------------------------------------------------------------- 1 | osmscoutmapsvgSrc = [ 2 | 'src/osmscoutmapsvg/MapPainterSVG.cpp', 3 | ] 4 | 5 | -------------------------------------------------------------------------------- /webpage/static/images/ItalyCoastlines.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/ItalyCoastlines.png -------------------------------------------------------------------------------- /webpage/static/images/qt-custom-way.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/qt-custom-way.png -------------------------------------------------------------------------------- /webpage/static/images/qt-hill-shades.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/qt-hill-shades.png -------------------------------------------------------------------------------- /webpage/static/images/qt-place-mark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/qt-place-mark.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutOSX/Media.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /ci/docker/debian_13_trixie_gcc_meson/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd `dirname $0` 3 | docker build -t libosmscout/debian_13_trixie_gcc_meson . 4 | -------------------------------------------------------------------------------- /ci/docker/ubuntu_24.04_gcc_meson_qt6/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd `dirname $0` 3 | docker build -t libosmscout/ubuntu_22.04_gcc_meson_qt6 . 4 | -------------------------------------------------------------------------------- /libosmscout-kotlin/src/main/kotlin/com/framstag/osmscout/io/FileOffset.kt: -------------------------------------------------------------------------------- 1 | package com.framstag.osmscout.io 2 | 3 | typealias FileOffset = ULong -------------------------------------------------------------------------------- /libosmscout-kotlin/src/main/kotlin/com/framstag/osmscout/types/TypeId.kt: -------------------------------------------------------------------------------- 1 | package com.framstag.osmscout.types 2 | 3 | typealias TypeId = UShort -------------------------------------------------------------------------------- /webpage/static/images/ConstructionYear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/ConstructionYear.png -------------------------------------------------------------------------------- /webpage/static/images/qt-canvas-overlay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/qt-canvas-overlay.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ci/docker/debian_13_trixie_gcc_meson/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | docker run --rm=true -it libosmscout/debian_13_trixie_gcc_meson ./build.sh "$@" 4 | -------------------------------------------------------------------------------- /ci/docker/ubuntu_24.04_aarch64_gcc_cmake/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd `dirname $0` 3 | docker build -t libosmscout/ubuntu_24.04_aarch64_gcc_cmake . 4 | -------------------------------------------------------------------------------- /ci/docker/ubuntu_24.04_clang_msan_cmake/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | cd `dirname $0` 3 | docker build -t libosmscout/ubuntu_24.04_clang_msan_cmake . 4 | -------------------------------------------------------------------------------- /ci/docker/ubuntu_24.04_gcc_meson_qt6/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | docker run --rm=true -it libosmscout/ubuntu_22.04_gcc_meson_qt6 ./build.sh "$@" 4 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/util/Color.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | -------------------------------------------------------------------------------- /webpage/static/images/ItalyWithDataPolygon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/ItalyWithDataPolygon.png -------------------------------------------------------------------------------- /webpage/static/images/OddEvenHousenumbers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/OddEvenHousenumbers.png -------------------------------------------------------------------------------- /webpage/static/images/qt-current-position.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/qt-current-position.png -------------------------------------------------------------------------------- /webpage/static/images/qt-place-descriptin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/qt-place-descriptin.png -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/TypeInfoSet.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/util/GeoBox.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/util/TileId.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/util/Tiling.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-kotlin/src/main/kotlin/com/framstag/osmscout/objecttypes/Feature.kt: -------------------------------------------------------------------------------- 1 | package com.framstag.osmscout.objecttypes 2 | 3 | class Feature { 4 | } -------------------------------------------------------------------------------- /libosmscout-test/include/osmscout-test/TestFeatures.h.cmake: -------------------------------------------------------------------------------- 1 | #ifndef LIBOSMSCOUT_TEST_FEATURES 2 | #define LIBOSMSCOUT_TEST_FEATURES 3 | 4 | #endif 5 | -------------------------------------------------------------------------------- /libosmscout/data/icons/14x14/standard/bench.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/libosmscout/data/icons/14x14/standard/bench.png -------------------------------------------------------------------------------- /libosmscout/data/icons/14x14/standard/forest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/libosmscout/data/icons/14x14/standard/forest.png -------------------------------------------------------------------------------- /libosmscout/data/icons/14x14/standard/gardenpng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/libosmscout/data/icons/14x14/standard/gardenpng -------------------------------------------------------------------------------- /libosmscout/data/icons/14x14/standard/scrub.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/libosmscout/data/icons/14x14/standard/scrub.png -------------------------------------------------------------------------------- /Android/OsmScoutViewer/res/drawable/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Android/OsmScoutViewer/res/drawable/ic_launcher.png -------------------------------------------------------------------------------- /ci/docker/ubuntu_24.04_aarch64_gcc_cmake/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | docker run --rm=true -it libosmscout/ubuntu_24.04_aarch64_gcc_cmake ./build.sh "$@" 4 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/util/Distance.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/util/Parsing.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/util/Progress.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-map-qt/include/osmscoutmapqt/MapQtFeatures.h.cmake: -------------------------------------------------------------------------------- 1 | #ifndef LIBOSMSCOUT_MAP_QT_FEATURES 2 | #define LIBOSMSCOUT_MAP_QT_FEATURES 3 | 4 | #endif 5 | -------------------------------------------------------------------------------- /libosmscout/data/icons/14x14/standard/bus_stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/libosmscout/data/icons/14x14/standard/bus_stop.png -------------------------------------------------------------------------------- /libosmscout/data/icons/14x14/standard/cemetery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/libosmscout/data/icons/14x14/standard/cemetery.png -------------------------------------------------------------------------------- /libosmscout/data/icons/14x14/standard/fast_food.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/libosmscout/data/icons/14x14/standard/fast_food.png -------------------------------------------------------------------------------- /libosmscout/data/icons/14x14/standard/hospital.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/libosmscout/data/icons/14x14/standard/hospital.png -------------------------------------------------------------------------------- /libosmscout/data/icons/14x14/standard/parking.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/libosmscout/data/icons/14x14/standard/parking.png -------------------------------------------------------------------------------- /libosmscout/data/icons/14x14/standard/pharmacy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/libosmscout/data/icons/14x14/standard/pharmacy.png -------------------------------------------------------------------------------- /webpage/static/images/ItalyWithoutDataPolygon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/webpage/static/images/ItalyWithoutDataPolygon.png -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/util/FileWriter.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/util/Projection.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-client/include/osmscoutclient/ClientFeatures.h.cmake: -------------------------------------------------------------------------------- 1 | #ifndef LIBOSMSCOUT_CLIENTFEATURES_H 2 | #define LIBOSMSCOUT_CLIENTFEATURES_H 3 | 4 | #endif 5 | -------------------------------------------------------------------------------- /libosmscout-map-agg/include/osmscoutmapagg/MapAggFeatures.h.cmake: -------------------------------------------------------------------------------- 1 | #ifndef LIBOSMSCOUT_MAP_AGG_FEATURES 2 | #define LIBOSMSCOUT_MAP_AGG_FEATURES 3 | 4 | #endif 5 | -------------------------------------------------------------------------------- /libosmscout/data/icons/14x14/standard/restaurant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/libosmscout/data/icons/14x14/standard/restaurant.png -------------------------------------------------------------------------------- /libosmscout/data/icons/14x14/standard/waste_basket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/libosmscout/data/icons/14x14/standard/waste_basket.png -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/routing/RouteData.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/util/FileScanner.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | 6 | %include 7 | 8 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/util/Magnification.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/util/StringMatcher.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-client-qt/include/osmscoutclientqt/ClientQtFeatures.h.cmake: -------------------------------------------------------------------------------- 1 | #ifndef LIBOSMSCOUT_CLIENT_QT_FEATURES 2 | #define LIBOSMSCOUT_CLIENT_QT_FEATURES 3 | 4 | #endif 5 | -------------------------------------------------------------------------------- /Android/OsmScoutBenchmark/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Android/OsmScoutBenchmark/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /Android/OsmScoutBenchmark/res/drawable-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Android/OsmScoutBenchmark/res/drawable-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /Android/OsmScoutBenchmark/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Android/OsmScoutBenchmark/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Android/OsmScoutBenchmark/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Android/OsmScoutBenchmark/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/util/Transformation.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-kotlin/src/main/kotlin/com/framstag/osmscout/geometry/GeoCoord.kt: -------------------------------------------------------------------------------- 1 | package com.framstag.osmscout.geometry 2 | 3 | data class GeoCoord(val lat: Double, val lon: Double) -------------------------------------------------------------------------------- /libosmscout-map-opengl/data/fonts/LiberationSans-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/libosmscout-map-opengl/data/fonts/LiberationSans-Regular.ttf -------------------------------------------------------------------------------- /cmake/TestTBBSchedulerInit.cpp: -------------------------------------------------------------------------------- 1 | #include "tbb/task_scheduler_init.h" 2 | 3 | int main() 4 | { 5 | [[maybe_unused]] tbb::task_scheduler_init task_scheduler; 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/util/TagErrorReporter.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | -------------------------------------------------------------------------------- /cmake/TestWindowsFSeek.c: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | 4 | int main() 5 | { 6 | __int64 off=0; 7 | 8 | _fseeki64(NULL, off, SEEK_SET); 9 | 10 | return 0; 11 | } -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/util/Time.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::Duration) 6 | 7 | %include 8 | 9 | -------------------------------------------------------------------------------- /libosmscout-kotlin/src/main/kotlin/com/framstag/osmscout/geometry/GeoBox.kt: -------------------------------------------------------------------------------- 1 | package com.framstag.osmscout.geometry 2 | 3 | data class GeoBox(val minCoord: GeoCoord, val maxCoord: GeoCoord) -------------------------------------------------------------------------------- /libosmscout-map-directx/include/osmscoutmapdirectx/MapDirectXFeatures.h.cmake: -------------------------------------------------------------------------------- 1 | #ifndef LIBOSMSCOUT_MAP_DIRECTX_FEATURES 2 | #define LIBOSMSCOUT_MAP_DIRECTX_FEATURES 3 | 4 | 5 | #endif 6 | -------------------------------------------------------------------------------- /libosmscout-map-iosx/src/meson.build: -------------------------------------------------------------------------------- 1 | osmscoutmapiosxSrc = [ 2 | 'src/osmscout/MapPainterIOS.mm', 3 | 'src/osmscout/SymbolRendererIOS.mm' 4 | ] 5 | 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-map-opengl/data/shaders/GroundFragmentShader.frag: -------------------------------------------------------------------------------- 1 | #version 150 core 2 | 3 | in vec3 Color; 4 | out vec4 outColor; 5 | 6 | void main() { 7 | outColor = vec4(Color,1.0); 8 | } -------------------------------------------------------------------------------- /webpage/layouts/partials/header.html: -------------------------------------------------------------------------------- 1 |
2 | 3 | {{ .Site.Title }} 4 | libosmscout.sf.net 5 |
6 | 7 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/AreaNodeIndex.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::AreaNodeIndex) 6 | 7 | %include 8 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/AreaWayIndex.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::AreaWayIndex) 6 | 7 | %include 8 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/Point.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %template(PointVector) std::vector; 6 | 7 | %include 8 | 9 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/util/Bearing.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::Bearing) 6 | 7 | %include 8 | 9 | -------------------------------------------------------------------------------- /libosmscout-map-binding/src/swig/osmscout/MapData.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::MapData) 6 | 7 | %include 8 | 9 | 10 | -------------------------------------------------------------------------------- /libosmscout-map-iosx/include/osmscoutmapiosx/private/meson.build: -------------------------------------------------------------------------------- 1 | mapiosxCfg = configuration_data() 2 | 3 | configure_file(output: 'Config.h', 4 | configuration: mapiosxCfg) 5 | 6 | -------------------------------------------------------------------------------- /libosmscout-map-opengl/data/shaders/AreaFragmentShader.frag: -------------------------------------------------------------------------------- 1 | #version 150 core 2 | 3 | in vec4 Color; 4 | in vec2 Normal; 5 | out vec4 outColor; 6 | 7 | void main() { 8 | outColor = Color; 9 | } -------------------------------------------------------------------------------- /libosmscout-map-qt/src/meson.build: -------------------------------------------------------------------------------- 1 | osmscoutmapqtSrc = [ 2 | 'src/osmscoutmapqt/MapPainterQt.cpp', 3 | 'src/osmscoutmapqt/SymbolRendererQt.cpp' 4 | ] 5 | 6 | 7 | -------------------------------------------------------------------------------- /Documentation/StyleSheetSyntax.txt: -------------------------------------------------------------------------------- 1 | For a detailed description of the style sheet syntax, pleas etake a look 2 | at the standard.oss file which contains a summary in its initial 3 | comment block. 4 | -------------------------------------------------------------------------------- /DumpData/README: -------------------------------------------------------------------------------- 1 | 2 | You can find detailed instruction how to get libraries and applications 3 | build and working in the openstreetmap wiki: 4 | 5 | http://wiki.openstreetmap.org/wiki/Libosmscout 6 | -------------------------------------------------------------------------------- /Import/README: -------------------------------------------------------------------------------- 1 | 2 | You can find detailed instruction how to get libraries and applications 3 | build and working in the openstreetmap wiki: 4 | 5 | http://wiki.openstreetmap.org/wiki/Libosmscout 6 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/AreaAreaIndex.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::AreaAreaIndex) 6 | 7 | %include 8 | 9 | -------------------------------------------------------------------------------- /libosmscout-map-gdi/src/meson.build: -------------------------------------------------------------------------------- 1 | osmscoutmapgdiSrc = [ 2 | 'src/osmscoutmapgdi/MapPainterGDI.cpp', 3 | 'src/osmscoutmapgdi/MapPainterGDIWindow.cpp', 4 | ] 5 | 6 | -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon@2x.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon@3x.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_20.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_29.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_40.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_60.png -------------------------------------------------------------------------------- /BasemapImport/README: -------------------------------------------------------------------------------- 1 | 2 | You can find detailed instruction how to get libraries and applications 3 | build and working in the openstreetmap wiki: 4 | 5 | http://wiki.openstreetmap.org/wiki/Libosmscout 6 | -------------------------------------------------------------------------------- /StyleEditor/README: -------------------------------------------------------------------------------- 1 | 2 | You can find detailed instruction how to get libraries and applications 3 | build and working in the openstreetmap wiki: 4 | 5 | http://wiki.openstreetmap.org/wiki/Libosmscout 6 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/routing/Route.i: -------------------------------------------------------------------------------- 1 | %shared_ptr(osmscout::RouteDescription) 2 | 3 | %{ 4 | #include 5 | %} 6 | 7 | %include 8 | 9 | -------------------------------------------------------------------------------- /libosmscout-map/README: -------------------------------------------------------------------------------- 1 | 2 | You can find detailed instruction how to get libraries and applications 3 | build and working in the openstreetmap wiki: 4 | 5 | http://wiki.openstreetmap.org/wiki/Libosmscout 6 | -------------------------------------------------------------------------------- /libosmscout/README: -------------------------------------------------------------------------------- 1 | 2 | You can find detailed instruction how to get libraries and applications 3 | build and working in the openstreetmap wiki: 4 | 5 | http://wiki.openstreetmap.org/wiki/Libosmscout 6 | -------------------------------------------------------------------------------- /webpage/layouts/_default/li.html: -------------------------------------------------------------------------------- 1 |
  • 2 | {{ .Title }} ({{ .Date.Format "2006-01-02" }}) 3 |
    {{ .Description }}
    4 |
  • 5 | 6 | -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutOSX/Media.xcassets/AppIcon.appiconset/Icon_osx16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutOSX/Media.xcassets/AppIcon.appiconset/Icon_osx16.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutOSX/Media.xcassets/AppIcon.appiconset/Icon_osx32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutOSX/Media.xcassets/AppIcon.appiconset/Icon_osx32.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_29@2x.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_29@3x.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_40-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_40-1.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_40-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_40-2.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_40@2x.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_40@3x.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_iPad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_iPad.png -------------------------------------------------------------------------------- /libosmscout-binding/README: -------------------------------------------------------------------------------- 1 | 2 | You can find detailed instruction how to get libraries and applications 3 | build and working in the openstreetmap wiki: 4 | 5 | http://wiki.openstreetmap.org/wiki/Libosmscout 6 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/GeoCoord.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | %template(GeoCoordVector) std::vector; 8 | 9 | -------------------------------------------------------------------------------- /libosmscout-client/README: -------------------------------------------------------------------------------- 1 | 2 | You can find detailed instruction how to get libraries and applications 3 | build and working in the openstreetmap wiki: 4 | 5 | http://wiki.openstreetmap.org/wiki/Libosmscout 6 | -------------------------------------------------------------------------------- /libosmscout-map-agg/README: -------------------------------------------------------------------------------- 1 | 2 | You can find detailed instruction how to get libraries and applications 3 | build and working in the openstreetmap wiki: 4 | 5 | http://wiki.openstreetmap.org/wiki/Libosmscout 6 | -------------------------------------------------------------------------------- /libosmscout-map-binding/src/swig/osmscout/MapService.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::MapService) 6 | 7 | %include 8 | 9 | 10 | -------------------------------------------------------------------------------- /libosmscout-map-directx/src/meson.build: -------------------------------------------------------------------------------- 1 | osmscoutmapdirectxSrc = [ 2 | 'src/osmscoutmapdirectx/MapPainterDirectX.cpp', 3 | 'src/osmscoutmapdirectx/PathTextRenderer.cpp', 4 | ] 5 | -------------------------------------------------------------------------------- /libosmscout-map-gdi/include/osmscoutmapgdi/meson.build: -------------------------------------------------------------------------------- 1 | mapgdiFeaturesCfg = configuration_data() 2 | 3 | configure_file(output: 'MapGDIFeatures.h', 4 | configuration: mapgdiFeaturesCfg) 5 | 6 | -------------------------------------------------------------------------------- /libosmscout-map-iosx/README: -------------------------------------------------------------------------------- 1 | 2 | You can find detailed instruction how to get libraries and applications 3 | build and working in the openstreetmap wiki: 4 | 5 | http://wiki.openstreetmap.org/wiki/Libosmscout 6 | -------------------------------------------------------------------------------- /libosmscout-map-qt/README: -------------------------------------------------------------------------------- 1 | 2 | You can find detailed instruction how to get libraries and applications 3 | build and working in the openstreetmap wiki: 4 | 5 | http://wiki.openstreetmap.org/wiki/Libosmscout 6 | -------------------------------------------------------------------------------- /libosmscout-map-svg/README: -------------------------------------------------------------------------------- 1 | 2 | You can find detailed instruction how to get libraries and applications 3 | build and working in the openstreetmap wiki: 4 | 5 | http://wiki.openstreetmap.org/wiki/Libosmscout 6 | -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutOSX/Media.xcassets/AppIcon.appiconset/Icon_osx128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutOSX/Media.xcassets/AppIcon.appiconset/Icon_osx128.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutOSX/Media.xcassets/AppIcon.appiconset/Icon_osx256-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutOSX/Media.xcassets/AppIcon.appiconset/Icon_osx256-1.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutOSX/Media.xcassets/AppIcon.appiconset/Icon_osx256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutOSX/Media.xcassets/AppIcon.appiconset/Icon_osx256.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutOSX/Media.xcassets/AppIcon.appiconset/Icon_osx256@2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutOSX/Media.xcassets/AppIcon.appiconset/Icon_osx256@2.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutOSX/Media.xcassets/AppIcon.appiconset/Icon_osx32-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutOSX/Media.xcassets/AppIcon.appiconset/Icon_osx32-1.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutOSX/Media.xcassets/AppIcon.appiconset/Icon_osx32@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutOSX/Media.xcassets/AppIcon.appiconset/Icon_osx32@2x.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_29@2x-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_29@2x-1.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_40@2x-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_40@2x-1.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_iPad@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_iPad@2x.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_iPadPro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutiOS/Media.xcassets/AppIcon.appiconset/Icon_iPadPro.png -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutiOS/OSMScoutiOS-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | // 2 | // Use this file to import your target's public headers that you would like to expose to Swift. 3 | // 4 | 5 | #import "OSMScoutMKTileOverlay.h" 6 | -------------------------------------------------------------------------------- /OSMScout2/resources/voice-providers.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "uri": "https://osmscout.karry.cz/voices", 4 | "listUri": "https://osmscout.karry.cz/voices/list.json?locale=%1", 5 | "name": "karry.cz" 6 | } 7 | ] -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/ObjectRef.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | %template(ObjectFileRefVector) std::vector; 8 | -------------------------------------------------------------------------------- /libosmscout-client-qt/README: -------------------------------------------------------------------------------- 1 | 2 | You can find detailed instruction how to get libraries and applications 3 | build and working in the openstreetmap wiki: 4 | 5 | http://wiki.openstreetmap.org/wiki/Libosmscout 6 | -------------------------------------------------------------------------------- /libosmscout-map-binding/src/swig/osmscout/StyleConfig.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::StyleConfig) 6 | 7 | %include 8 | 9 | 10 | -------------------------------------------------------------------------------- /libosmscout-map-cairo/README: -------------------------------------------------------------------------------- 1 | 2 | You can find detailed instruction how to get libraries and applications 3 | build and working in the openstreetmap wiki: 4 | 5 | http://wiki.openstreetmap.org/wiki/Libosmscout 6 | -------------------------------------------------------------------------------- /Android/.clang-tidy: -------------------------------------------------------------------------------- 1 | --- 2 | Checks: '-*,cppcoreguidelines-avoid-goto' 3 | WarningsAsErrors: '' 4 | HeaderFilterRegex: '.*/libosmscout.*/.*' 5 | AnalyzeTemporaryDtors: false 6 | FormatStyle: none 7 | ... 8 | -------------------------------------------------------------------------------- /StyleEditor/qtquickcontrols2.conf: -------------------------------------------------------------------------------- 1 | [Controls] 2 | Style=Universal 3 | 4 | [Material] 5 | Primary=White 6 | Foreground=#444444 7 | Accent=Blue 8 | Theme=System 9 | 10 | [Universal] 11 | Theme=System 12 | -------------------------------------------------------------------------------- /libosmscout-map-binding/src/swig/osmscout/MapParameter.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::MapParameter) 6 | 7 | %include 8 | 9 | 10 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/BoundingBoxDataFile.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::BoundingBoxDataFile) 6 | 7 | %include 8 | 9 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/OptimizeWaysLowZoom.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::OptimizeWaysLowZoom) 6 | 7 | %include 8 | 9 | -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutOSX/OSMScoutOSX-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'OSMScoutOSX' target in the 'OSMScoutOSX' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /OSMScout2/resources/map-providers.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "uri": "https://osmscout.karry.cz", 4 | "listUri": "https://osmscout.karry.cz/latest.php?fromVersion=%1&toVersion=%2&locale=%3", 5 | "name": "karry.cz" 6 | } 7 | ] -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/OptimizeAreasLowZoom.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::OptimizeAreasLowZoom) 6 | 7 | %include 8 | 9 | -------------------------------------------------------------------------------- /libosmscout-map-binding/src/swig/osmscout/StyleProcessor.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::FillStyleProcessor) 6 | 7 | %include 8 | 9 | 10 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/util/Geometry.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | %template(SegmentGeoBoxVector) std::vector; 8 | 9 | -------------------------------------------------------------------------------- /libosmscout-map-opengl/data/shaders/QuadFragmentShader.frag: -------------------------------------------------------------------------------- 1 | #version 150 core 2 | 3 | in vec2 Texcoord; 4 | out vec4 outColor; 5 | 6 | uniform sampler2D tex; 7 | 8 | void main() { 9 | outColor = texture(tex, Texcoord); 10 | } -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/WaterIndex.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | %shared_ptr(osmscout::WaterIndex) 8 | 9 | %include 10 | 11 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/routing/AbstractRoutingService.i: -------------------------------------------------------------------------------- 1 | %shared_ptr(osmscout::RoutePoints) 2 | 3 | %{ 4 | #include 5 | %} 6 | 7 | %include 8 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/util/Breaker.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::Breaker) 6 | %shared_ptr(osmscout::ThreadedBreaker) 7 | 8 | %include 9 | 10 | -------------------------------------------------------------------------------- /libosmscout-map-binding/src/swig/osmscout/StyleDescription.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::Style) 6 | %shared_ptr(osmscout::StyleDescriptor) 7 | 8 | %include 9 | -------------------------------------------------------------------------------- /stylesheets/include/route.oss: -------------------------------------------------------------------------------- 1 | OSS 2 | 3 | CONST 4 | COLOR routeColor = #ff000088; 5 | 6 | STYLE 7 | [MAG world-] { 8 | [TYPE _route] WAY {color: @routeColor; displayWidth: 1.5mm; width: 6m; priority: 100; } 9 | } 10 | 11 | END 12 | -------------------------------------------------------------------------------- /Android/OsmScoutViewer/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Hello World, OsmScoutViewerActivity! 5 | OsmScoutViewer 6 | 7 | -------------------------------------------------------------------------------- /ci/docker/ubuntu_24.04_clang_msan_cmake/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # msan requires privileged mode to disable ASLR (address space layout randomization) 4 | docker run --privileged --rm=true -it libosmscout/ubuntu_24.04_clang_msan_cmake ./build.sh "$@" 5 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/LocationIndex.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | %shared_ptr(osmscout::LocationIndex) 8 | 9 | %include 10 | 11 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/routing/DBFileOffset.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | //%template(DatabaseIdFileMap) std::map; 6 | 7 | %include 8 | 9 | -------------------------------------------------------------------------------- /libosmscout-map-qt/include/osmscoutmapqt/meson.build: -------------------------------------------------------------------------------- 1 | mapqtFeaturesCfg = configuration_data() 2 | 3 | configure_file(output: 'MapQtFeatures.h', 4 | install_dir: 'include/osmscoutmapqt', 5 | configuration: mapqtFeaturesCfg) 6 | 7 | -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutOSX.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/DataFile.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::DataFile) 6 | %template(DataBlockSpanVector) std::vector; 7 | 8 | %include 9 | 10 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/Tag.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | %shared_ptr(osmscout::TagCondition) 8 | 9 | //%template(TagMap) std::unordered_map; 10 | 11 | 12 | -------------------------------------------------------------------------------- /libosmscout-gpx/include/osmscoutgpx/GPXFeatures.h.cmake: -------------------------------------------------------------------------------- 1 | #ifndef LIBOSMSCOUT_GPX_FEATURES 2 | #define LIBOSMSCOUT_GPX_FEATURES 3 | 4 | #ifndef OSMSCOUT_GPX_HAVE_LIB_XML 5 | /* libxml is available */ 6 | #cmakedefine OSMSCOUT_GPX_HAVE_LIB_XML 7 | #endif 8 | 9 | #endif -------------------------------------------------------------------------------- /libosmscout-map-agg/include/osmscoutmapagg/meson.build: -------------------------------------------------------------------------------- 1 | mapaggFeaturesCfg = configuration_data() 2 | 3 | configure_file(output: 'MapAggFeatures.h', 4 | install_dir: 'include/osmscoutmapagg', 5 | configuration: mapaggFeaturesCfg) 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-map-svg/include/osmscoutmapsvg/meson.build: -------------------------------------------------------------------------------- 1 | mapsvgFeaturesCfg = configuration_data() 2 | 3 | configure_file(output: 'MapSVGFeatures.h', 4 | install_dir: 'include/osmscoutmapsvg', 5 | configuration: mapsvgFeaturesCfg) 6 | 7 | -------------------------------------------------------------------------------- /cspell.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.2", 3 | "ignorePaths": [], 4 | "dictionaryDefinitions": [], 5 | "dictionaries": ["en-gb"], 6 | "words": ["Teulings", "framstag", "libosmscout", "osmscout"], 7 | "ignoreWords": [], 8 | "import": [] 9 | } 10 | -------------------------------------------------------------------------------- /pkgconfig-template.pc.in: -------------------------------------------------------------------------------- 1 | prefix="@CMAKE_INSTALL_PREFIX@" 2 | libdir="${prefix}/lib" 3 | includedir="${prefix}/include" 4 | 5 | Name: @_output@ 6 | Description: @_output@ 7 | Version: @PROJECT_VERSION@ 8 | Cflags: -I${includedir} 9 | Libs: -L${libdir} -l@_output@ 10 | -------------------------------------------------------------------------------- /libosmscout-client-qt/include/osmscoutclientqt/meson.build: -------------------------------------------------------------------------------- 1 | clientqtFeaturesCfg = configuration_data() 2 | 3 | configure_file(output: 'ClientQtFeatures.h', 4 | install_dir: 'include/osmscoutclientqt', 5 | configuration: clientqtFeaturesCfg) 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-kotlin/src/test/kotlin/com/framstag/osmscout/LoadTypeConfig.kt: -------------------------------------------------------------------------------- 1 | package com.framstag.osmscout 2 | 3 | import com.framstag.osmscout.objecttypes.TypeConfig 4 | import java.io.File 5 | 6 | fun main(args: Array) { 7 | TypeConfig.loadFromData(File(args[0])) 8 | } -------------------------------------------------------------------------------- /Demos/demo.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | qml/ElevationProfileChart.qml 4 | qml/NavigationSimulation.qml 5 | qml/RoutingParameters.qml 6 | qml/PlaceInput.qml 7 | 8 | 9 | -------------------------------------------------------------------------------- /Import/meson.build: -------------------------------------------------------------------------------- 1 | executable('Import', 2 | 'src/Import.cpp', 3 | include_directories: [osmscoutIncDir, osmscoutimportIncDir], 4 | dependencies: [mathDep, openmpDep], 5 | link_with: [osmscout, osmscoutimport], 6 | install: true) 7 | 8 | -------------------------------------------------------------------------------- /libosmscout-map-directx/include/osmscoutmapdirectx/meson.build: -------------------------------------------------------------------------------- 1 | mapdirectxFeaturesCfg = configuration_data() 2 | 3 | configure_file(output: 'MapDirectXFeatures.h', 4 | install_dir: 'include/osmscoutmapdirectx', 5 | configuration: mapdirectxFeaturesCfg) 6 | 7 | -------------------------------------------------------------------------------- /vcpkg_minimum.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "libosmscout", 3 | "version-string": "1.1.0", 4 | "builtin-baseline": "b322364f06308bdd24823f9d8f03fe0cc86fd46f", 5 | "dependencies": [ 6 | "catch2", 7 | "zlib", 8 | "libiconv", 9 | "libxml2", 10 | "protobuf" 11 | ] 12 | } -------------------------------------------------------------------------------- /Android/OsmScoutBenchmark/src/osm/scout/benchmark/BenchmarkProgressListener.java: -------------------------------------------------------------------------------- 1 | package osm.scout.benchmark; 2 | 3 | public interface BenchmarkProgressListener { 4 | 5 | void onStart(int totalCount); 6 | void updateProgress(Integer... progress); 7 | void onEnd(); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /libosmscout-test/src/meson.build: -------------------------------------------------------------------------------- 1 | osmscouttestSrc = [ 2 | 'src/osmscout-test/olt/Parser.cpp', 3 | 'src/osmscout-test/olt/Scanner.cpp', 4 | 'src/osmscout-test/RegionList.cpp', 5 | 'src/osmscout-test/PreprocessOLT.cpp', 6 | ] 7 | 8 | 9 | -------------------------------------------------------------------------------- /Android/OsmScoutLib/jni/include/config/MapFeatures.h: -------------------------------------------------------------------------------- 1 | /* include/Lum/Features.h.in. Generated from configure.ac by autoheader. */ 2 | 3 | #undef LUM_FEATURES 4 | 5 | /* Illumination uses special gcc compiler features to explicitely export symbols */ 6 | #undef OSMSCOUT_MAP_EXPORT_SYMBOLS 7 | 8 | -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutOSX.xcodeproj/project.xcworkspace/xcuserdata/vyskocil.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Framstag/libosmscout/HEAD/Apple/OSMScoutOSX/OSMScoutOSX.xcodeproj/project.xcworkspace/xcuserdata/vyskocil.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /OSMScout2/buildAndroidPackage.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rm -rf android-pkg 4 | make install INSTALL_ROOT=android-pkg 5 | 6 | /opt/android-qt5/5.3.0/bin/androiddeployqt --input android-libOSMScout.so-deployment-settings.json --output android-pkg --android-platform android-16 --verbose --install 7 | 8 | -------------------------------------------------------------------------------- /libosmscout-gpx/include/osmscoutgpx/private/meson.build: -------------------------------------------------------------------------------- 1 | mapgpxCfg = configuration_data() 2 | mapgpxCfg.set('HAVE_VISIBILITY',haveVisibility, description: 'compiler supports simple visibility declarations') 3 | 4 | configure_file(output: 'Config.h', 5 | configuration: mapgpxCfg) 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-map/include/osmscoutmap/private/meson.build: -------------------------------------------------------------------------------- 1 | mapCfg = configuration_data() 2 | mapCfg.set('HAVE_VISIBILITY',haveVisibility, description: 'compiler supports simple visibility declarations') 3 | 4 | configure_file(output: 'Config.h', 5 | configuration: mapCfg) 6 | 7 | 8 | -------------------------------------------------------------------------------- /libosmscout-test/include/osmscout-test/private/meson.build: -------------------------------------------------------------------------------- 1 | testCfg = configuration_data() 2 | testCfg.set('HAVE_VISIBILITY',haveVisibility, description: 'compiler supports simple visibility declarations') 3 | 4 | configure_file(output: 'Config.h', 5 | configuration: testCfg) 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/routing/RouteNode.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::RouteNode) 6 | 7 | %template(ObjectVariantDataVector) std::vector; 8 | 9 | %include 10 | 11 | -------------------------------------------------------------------------------- /libosmscout-map-qt/include/osmscoutmapqt/private/meson.build: -------------------------------------------------------------------------------- 1 | mapqtCfg = configuration_data() 2 | mapqtCfg.set('HAVE_VISIBILITY',haveVisibility, description: 'compiler supports simple visibility declarations') 3 | 4 | configure_file(output: 'Config.h', 5 | configuration: mapqtCfg) 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-map-svg/include/osmscoutmapsvg/MapSVGFeatures.h.cmake: -------------------------------------------------------------------------------- 1 | #ifndef LIBOSMSCOUT_MAP_SVG_FEATURES 2 | #define LIBOSMSCOUT_MAP_SVG_FEATURES 3 | 4 | #ifndef OSMSCOUT_MAP_SVG_HAVE_LIB_PANGO 5 | /* libpango found */ 6 | #cmakedefine OSMSCOUT_MAP_SVG_HAVE_LIB_PANGO 7 | #endif 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /BasemapImport/meson.build: -------------------------------------------------------------------------------- 1 | executable('BasemapImport', 2 | 'src/BasemapImport.cpp', 3 | include_directories: [osmscoutIncDir, osmscoutimportIncDir], 4 | dependencies: [mathDep, openmpDep], 5 | link_with: [osmscout, osmscoutimport], 6 | install: true) 7 | 8 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/Way.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::Way) 6 | 7 | %include 8 | 9 | %template(WayList) std::list>; 10 | %template(WayVector) std::vector>; 11 | -------------------------------------------------------------------------------- /libosmscout-map-agg/include/osmscoutmapagg/private/meson.build: -------------------------------------------------------------------------------- 1 | mapaggCfg = configuration_data() 2 | mapaggCfg.set('HAVE_VISIBILITY',haveVisibility, description: 'compiler supports simple visibility declarations') 3 | 4 | configure_file(output: 'Config.h', 5 | configuration: mapaggCfg) 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-map-gdi/include/osmscoutmapgdi/private/meson.build: -------------------------------------------------------------------------------- 1 | mapgdiCfg = configuration_data() 2 | mapgdiCfg.set('HAVE_VISIBILITY',haveVisibility, description: 'compiler supports simple visibility declarations') 3 | 4 | configure_file(output: 'Config.h', 5 | configuration: mapgdiCfg) 6 | 7 | -------------------------------------------------------------------------------- /cmake/launch-c.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Xcode generator doesn't include the compiler as the 4 | # first argument, Ninja and Makefiles do. Handle both cases. 5 | if [ "$1" = "${CMAKE_C_COMPILER}" ] ; then 6 | shift 7 | fi 8 | 9 | ${CCCACHE_EXPORTS} 10 | 11 | exec "${C_LAUNCHER}" "${CMAKE_C_COMPILER}" "$@" -------------------------------------------------------------------------------- /Android/OsmScoutLib/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /libosmscout-client-qt/include/osmscoutclientqt/private/meson.build: -------------------------------------------------------------------------------- 1 | clientqtCfg = configuration_data() 2 | clientqtCfg.set('HAVE_VISIBILITY',haveVisibility, description: 'compiler supports simple visibility declarations') 3 | 4 | configure_file(output: 'Config.h', 5 | configuration: clientqtCfg) 6 | 7 | -------------------------------------------------------------------------------- /DumpData/meson.build: -------------------------------------------------------------------------------- 1 | DumpData = executable('DumpData', 2 | 'src/DumpData.cpp', 3 | include_directories: [osmscoutIncDir], 4 | dependencies: [mathDep, openmpDep], 5 | link_with: [osmscout], 6 | install: true) 7 | 8 | -------------------------------------------------------------------------------- /ci/docker/archlinux_clang_cmake/README.md: -------------------------------------------------------------------------------- 1 | If you run this image, it will automatically download the 2 | source repository from github (https://github.com/Framstag/libosmscout) 3 | and start building it using gcc and cmake. 4 | 5 | Alternatively you can run the image using docker -it option 6 | to manually build the code. 7 | -------------------------------------------------------------------------------- /ci/docker/archlinux_gcc_cmake/README.md: -------------------------------------------------------------------------------- 1 | If you run this image, it will automatically download the 2 | source repository from github (https://github.com/Framstag/libosmscout) 3 | and start building it using gcc and cmake. 4 | 5 | Alternatively you can run the image using docker -it option 6 | to manually build the code. 7 | -------------------------------------------------------------------------------- /ci/docker/archlinux_gcc_meson/README.md: -------------------------------------------------------------------------------- 1 | If you run this image, it will automatically download the 2 | source repository from github (https://github.com/Framstag/libosmscout) 3 | and start building it using gcc and meson. 4 | 5 | Alternatively you can run the image using docker -it option 6 | to manually build the code. 7 | -------------------------------------------------------------------------------- /cmake/launch-cxx.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Xcode generator doesn't include the compiler as the 4 | # first argument, Ninja and Makefiles do. Handle both cases. 5 | if [ "$1" = "${CMAKE_CXX_COMPILER}" ] ; then 6 | shift 7 | fi 8 | 9 | ${CCCACHE_EXPORTS} 10 | 11 | exec "${CXX_LAUNCHER}" "${CMAKE_CXX_COMPILER}" "$@" -------------------------------------------------------------------------------- /libosmscout-map-cairo/src/meson.build: -------------------------------------------------------------------------------- 1 | osmscoutmapcairoSrc = [ 2 | 'src/osmscoutmapcairo/MapPainterCairo.cpp', 3 | 'src/osmscoutmapcairo/SymbolRendererCairo.cpp', 4 | ] 5 | 6 | if pngDep.found() 7 | osmscoutmapcairoSrc += ['src/osmscoutmapcairo/LoaderPNG.cpp'] 8 | endif 9 | 10 | -------------------------------------------------------------------------------- /libosmscout-map-opengl/data/shaders/TextFragmentShader.frag: -------------------------------------------------------------------------------- 1 | #version 150 core 2 | 3 | in vec2 Texcoord; 4 | in vec4 Color; 5 | out vec4 outColor; 6 | 7 | uniform sampler2D tex; 8 | 9 | void main() { 10 | vec4 sampled = vec4(1.0, 1.0, 1.0, texture(tex, Texcoord).r); 11 | outColor = Color * sampled; 12 | } -------------------------------------------------------------------------------- /libosmscout-map-opengl/include/osmscoutmapopengl/private/meson.build: -------------------------------------------------------------------------------- 1 | mapopenglCfg = configuration_data() 2 | mapopenglCfg.set('HAVE_VISIBILITY',haveVisibility, description: 'compiler supports simple visibility declarations') 3 | 4 | configure_file(output: 'Config.h', 5 | configuration: mapopenglCfg) 6 | 7 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/routing/RoutingService.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | %shared_ptr(osmscout::RoutingProgress) 8 | %shared_ptr(osmscout::RoutingService) 9 | 10 | %include 11 | 12 | -------------------------------------------------------------------------------- /libosmscout-map-directx/include/osmscoutmapdirectx/private/meson.build: -------------------------------------------------------------------------------- 1 | mapdirectxCfg = configuration_data() 2 | mapdirectxCfg.set('HAVE_VISIBILITY',haveVisibility, description: 'compiler supports simple visibility declarations') 3 | 4 | configure_file(output: 'Config.h', 5 | configuration: mapdirectxCfg) 6 | 7 | -------------------------------------------------------------------------------- /stylesheets/include/land_sea.oss: -------------------------------------------------------------------------------- 1 | OSS 2 | 3 | STYLE 4 | [MAG world-] { 5 | [TYPE _tile_sea] AREA {color: @waterColor;} 6 | //[TYPE _tile_coast] AREA {color: /*@coastColor;*/@waterColor;} 7 | [TYPE _tile_land] AREA {color: @landColor;} 8 | [TYPE _tile_unknown] AREA {color: @unknownColor;} 9 | } 10 | 11 | END 12 | -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutOSX/OSMScoutOSX.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.cs.disable-library-validation 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /libosmscout-map-cairo/include/osmscoutmapcairo/MapCairoFeatures.h.cmake: -------------------------------------------------------------------------------- 1 | #ifndef LIBOSMSCOUT_MAP_CAIRO_FEATURES 2 | #define LIBOSMSCOUT_MAP_CAIRO_FEATURES 3 | 4 | #ifndef OSMSCOUT_MAP_CAIRO_HAVE_LIB_PANGO 5 | /* The cairo backend can make use of pango */ 6 | #cmakedefine OSMSCOUT_MAP_CAIRO_HAVE_LIB_PANGO 7 | #endif 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /.github/release.yml: -------------------------------------------------------------------------------- 1 | changelog: 2 | categories: 3 | - title: Features 4 | labels: 5 | - Feature 6 | - title: Bug Fixes 7 | labels: 8 | - Bugfix 9 | - title: Cleanups and refactorings 10 | labels: 11 | - Refactoring 12 | - title: Other changes 13 | labels: 14 | - "*" 15 | -------------------------------------------------------------------------------- /cmake/TestPThreadName.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #include 5 | 6 | int main() 7 | { 8 | static_assert(std::is_same::value, "std::thread::native_handle_type have to be pthread_t"); 9 | 10 | return pthread_setname_np(pthread_self(), "Test") == 0; 11 | } 12 | -------------------------------------------------------------------------------- /libosmscout-test/include/osmscout-test/meson.build: -------------------------------------------------------------------------------- 1 | testFeaturesCfg = configuration_data() 2 | testFeaturesCfg.set('OSMSCOUT_TEST_MESON_BUILD',true, description: 'we are building using meson') 3 | 4 | configure_file(output: 'TestFeatures.h', 5 | install_dir: 'include/osmscout-test', 6 | configuration: testFeaturesCfg) 7 | 8 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/routing/RoutePostprocessor.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::RoutePostprocessor) 6 | 7 | %include 8 | 9 | %template(PostprocessorList) std::list>; 10 | -------------------------------------------------------------------------------- /PublicTransportMap/meson.build: -------------------------------------------------------------------------------- 1 | PublicTransportMap = executable('PublicTransportMap', 2 | 'src/PublicTransportMap.cpp', 3 | include_directories: [osmscoutIncDir], 4 | dependencies: [mathDep, openmpDep], 5 | link_with: [osmscout], 6 | install: true) 7 | 8 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/Node.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | %shared_ptr(osmscout::Node) 8 | 9 | %include 10 | 11 | %template(NodeList) std::list>; 12 | %template(NodeVector) std::vector>; 13 | 14 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/WayDataFile.i: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | %shared_ptr(osmscout::DataFile) 4 | %shared_ptr(osmscout::WayDataFile) 5 | 6 | %{ 7 | #include 8 | %} 9 | 10 | %template(WayDataFileBase) osmscout::DataFile; 11 | 12 | %include 13 | -------------------------------------------------------------------------------- /libosmscout-client/include/osmscoutclient/meson.build: -------------------------------------------------------------------------------- 1 | clientFeaturesCfg = configuration_data() 2 | clientFeaturesCfg.set('OSMSCOUT_CLIENT_MESON_BUILD',true, description: 'we are building using meson') 3 | 4 | configure_file(output: 'ClientFeatures.h', 5 | install_dir: 'include/osmscoutclient', 6 | configuration: clientFeaturesCfg) 7 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/GroundTile.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %template(GroundTileList) std::list; 6 | %template(GroundTileVector) std::vector; 7 | %template(GroundTileCoordVector) std::vector; 8 | 9 | %include 10 | 11 | -------------------------------------------------------------------------------- /sonar-project.properties: -------------------------------------------------------------------------------- 1 | sonar.organization=framstag 2 | sonar.projectKey=Framstag_libosmscout 3 | sonar.host.url=https://sonarcloud.io 4 | 5 | # Encoding of the source code. Default is default system encoding 6 | sonar.sourceEncoding=UTF-8 7 | 8 | sonar.exclusions=**/*.java,**/*.html,**/*.css 9 | sonar.coverage.exclusions=**/*.java,**/*.html,**/*.css 10 | -------------------------------------------------------------------------------- /WellScoutedRoute/meson.build: -------------------------------------------------------------------------------- 1 | DumpData = executable('WellScoutedRoute', 2 | 'src/WellScoutedRoute.cpp', 3 | include_directories: [osmscoutIncDir, osmscoutgpxIncDir], 4 | dependencies: [mathDep, openmpDep], 5 | link_with: [osmscout, osmscoutgpx], 6 | install: true) 7 | 8 | -------------------------------------------------------------------------------- /cmake/TestFileOffsetBits.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | /* Cause a compile-time error if off_t is smaller than 64 bits */ 4 | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 5 | int off_t_is_large[ (LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1 ]; 6 | 7 | int main(int argc, char **argv) 8 | { 9 | return 0; 10 | } 11 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/NodeDataFile.i: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | %shared_ptr(osmscout::DataFile) 4 | %shared_ptr(osmscout::NodeDataFile) 5 | 6 | %{ 7 | #include 8 | %} 9 | 10 | %template(NodeDataFileBase) osmscout::DataFile; 11 | 12 | %include 13 | 14 | 15 | -------------------------------------------------------------------------------- /libosmscout-map-binding/src/swig/osmscout/LabelProvider.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::LabelProvider) 6 | %shared_ptr(osmscout::DynamicFeatureLabelReader) 7 | 8 | %shared_ptr(osmscout::LabelProviderFactory) 9 | %shared_ptr(osmscout::INameLabelProviderFactory) 10 | 11 | %include 12 | 13 | 14 | -------------------------------------------------------------------------------- /webpage/content/examples/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: "2017-02-27T10:12:00+02:00" 3 | title: "Examples" 4 | description: "Concrete examples based on libosmscout" 5 | weight: 6 6 | 7 | menu: 8 | main: 9 | weight: 6 10 | name: "Examples" 11 | identifier: "examples" 12 | --- 13 | 14 | Below a number of examples are shown, showing a number of OSM features. 15 | 16 | -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutOSX/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // OSMScoutOSX 4 | // 5 | // Created by Vladimir Vyskocil on 30/12/2023. 6 | // Copyright © 2023 libosmscout. All rights reserved. 7 | // 8 | 9 | import AppKit 10 | 11 | @main 12 | class AppDelegate: NSResponder, NSApplicationDelegate { 13 | var window : NSWindow? = nil 14 | 15 | } 16 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/Area.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::Area) 6 | 7 | %include 8 | 9 | %template(AreaRingVector) std::vector; 10 | 11 | %template(AreaList) std::list>; 12 | %template(AreaVector) std::vector>; 13 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/AreaDataFile.i: -------------------------------------------------------------------------------- 1 | %include 2 | 3 | %shared_ptr(osmscout::DataFile) 4 | %shared_ptr(osmscout::AreaDataFile) 5 | 6 | %{ 7 | #include 8 | %} 9 | 10 | %template(AreaDataFileBase) osmscout::DataFile; 11 | 12 | %include 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /webpage/layouts/_default/summary.html: -------------------------------------------------------------------------------- 1 |
    2 |
    3 |

    {{ .Title }}

    4 | 5 |
    6 | 7 | {{ .Summary }} 8 | 11 |
    12 | 13 | -------------------------------------------------------------------------------- /libosmscout-map-opengl/include/osmscoutmapopengl/MapOpenGLFeatures.h.cmake: -------------------------------------------------------------------------------- 1 | #ifndef LIBOSMSCOUT_MAP_OPENGL_FEATURES 2 | #define LIBOSMSCOUT_MAP_OPENGL_FEATURES 3 | 4 | #ifndef SHADER_INSTALL_DIR 5 | #cmakedefine SHADER_INSTALL_DIR "${SHADER_INSTALL_DIR}" 6 | #endif 7 | 8 | #ifndef DEFAULT_FONT_FILE 9 | #cmakedefine DEFAULT_FONT_FILE "${DEFAULT_FONT_FILE}" 10 | #endif 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /Tests/data/testregion.poly: -------------------------------------------------------------------------------- 1 | kokorinsko 2 | 1: 3 | 14.528635004260833 50.41136546046489 4 | 14.560747150449739 50.400370150189424 5 | 14.60532837468008 50.40581369195959 6 | 14.614381266956741 50.42518762604264 7 | 14.607548895427186 50.445641380512036 8 | 14.572492080192857 50.44836062896318 9 | 14.5445752854068 50.44172538821869 10 | 14.53415591882423 50.42039930088734 11 | END 12 | END 13 | -------------------------------------------------------------------------------- /libosmscout-map-svg/include/osmscoutmapsvg/private/meson.build: -------------------------------------------------------------------------------- 1 | mapsvgCfg = configuration_data() 2 | mapsvgCfg.set('HAVE_VISIBILITY',haveVisibility, description: 'compiler supports simple visibility declarations') 3 | mapsvgCfg.set('OSMSCOUT_MAP_SVG_HAVE_LIB_PANGO',pangoft2Dep.found(), description: 'Pango available') 4 | 5 | configure_file(output: 'Config.h', 6 | configuration: mapsvgCfg) 7 | 8 | -------------------------------------------------------------------------------- /libosmscout-client/include/osmscoutclient/private/meson.build: -------------------------------------------------------------------------------- 1 | clientCfg = configuration_data() 2 | clientCfg.set('HAVE_VISIBILITY',haveVisibility, description: 'compiler supports simple visibility declarations') 3 | clientCfg.set('HAVE_STD_EXECUTION',stdExecutionAvailable, description: 'compiler supports C++17 execution') 4 | 5 | configure_file(output: 'Config.h', 6 | configuration: clientCfg) 7 | 8 | -------------------------------------------------------------------------------- /maps/.gitignore: -------------------------------------------------------------------------------- 1 | # OSM data files and similar 2 | 3 | /*.opt 4 | /*.txt 5 | /*.osm 6 | /*.osm.pbf 7 | /*.zip 8 | /*.poly 9 | /*.shp 10 | /*/*.hgt 11 | 12 | # Libosmscout Databases 13 | /*/*.txt 14 | /*/*.dat 15 | /*/*.idx 16 | /*/*.idmap 17 | /*/*.tmp 18 | /*/*.html 19 | /*/*.dot 20 | 21 | # Shapefiles 22 | /*/*.cpg 23 | /*/*.dbf 24 | /*/*.prj 25 | /*/*.shp 26 | /*/*.shx 27 | /*/*.json 28 | /*/README 29 | -------------------------------------------------------------------------------- /vcpkg_medium.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "libosmscout", 3 | "version-string": "1.1.0", 4 | "builtin-baseline": "b322364f06308bdd24823f9d8f03fe0cc86fd46f", 5 | "dependencies": [ 6 | "catch2", 7 | "zlib", 8 | "libiconv", 9 | "libxml2", 10 | "protobuf", 11 | "cairo", 12 | "pango", 13 | "opengl", 14 | "freeglut", 15 | "glm", 16 | "glew", 17 | "glfw3" 18 | ] 19 | } -------------------------------------------------------------------------------- /vcpkg_full.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "libosmscout", 3 | "version-string": "1.1.0", 4 | "builtin-baseline": "b322364f06308bdd24823f9d8f03fe0cc86fd46f", 5 | "dependencies": [ 6 | "catch2", 7 | "zlib", 8 | "libiconv", 9 | "libxml2", 10 | "protobuf", 11 | "cairo", 12 | "pango", 13 | "opengl", 14 | "freeglut", 15 | "glm", 16 | "glew", 17 | "glfw3", 18 | "qt5" 19 | ] 20 | } -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/LocationService.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::LocationService) 6 | 7 | %include 8 | 9 | //%template(FileOffsetAdminRegionRefMap) std::map; 10 | 11 | %template(LocationSearchResultEntryList) std::list; 12 | 13 | 14 | -------------------------------------------------------------------------------- /webpage/layouts/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{ partial "head.html" . }} 5 | 6 | 7 | 8 | {{ partial "header.html" . }} 9 | 10 |
    11 | {{ partial "navigation.html" . }} 12 | 13 |
    14 |

    {{ .Title }}

    15 | {{ .Content }} 16 |
    17 | 18 |
    19 |
    20 | 21 |
    22 | 23 | {{ partial "footer.html" . }} 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutOSX/OSMScoutOSX-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | // 2 | // OSMScoutOSX-Bridging-Header.h 3 | // OSMScoutOSX 4 | // 5 | // Created by Vladimir Vyskocil on 30/12/2023. 6 | // Copyright © 2023 libosmscout. All rights reserved. 7 | // 8 | 9 | #ifndef OSMScoutOSX_Bridging_Header_h 10 | #define OSMScoutOSX_Bridging_Header_h 11 | 12 | #import "OSMScoutMKTileOverlay.h" 13 | 14 | #endif /* OSMScoutOSX_Bridging_Header_h */ 15 | -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutiOS/OSMScoutiOS-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'OSMScoutiOS' target in the 'OSMScoutiOS' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_4_0 8 | #warning "This project uses features only available in iOS SDK 4.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /ci/docker/buildAll.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cd $(dirname $0) 3 | set -xe 4 | 5 | ./archlinux_clang_cmake/build.sh 6 | ./archlinux_gcc_cmake/build.sh 7 | ./archlinux_gcc_meson/build.sh 8 | ./debian_13_trixie_gcc_meson/build.sh 9 | ./ubuntu_24.04_aarch64_gcc_cmake/build.sh 10 | ./ubuntu_24.04_clang_msan_cmake/build.sh 11 | ./ubuntu_24.04_gcc_cmake/build.sh 12 | ./ubuntu_24.04_gcc_meson_qt6/build.sh 13 | ./ubuntu_24.04_webpage/build.sh 14 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/routing/SimpleRoutingService.i: -------------------------------------------------------------------------------- 1 | %shared_ptr(osmscout::AbstractRoutingService) 2 | %shared_ptr(osmscout::SimpleRoutingService) 3 | 4 | %{ 5 | #include 6 | %} 7 | 8 | %template(SimpleRoutingServiceBase) osmscout::AbstractRoutingService; 9 | 10 | %include 11 | 12 | -------------------------------------------------------------------------------- /libosmscout-import/src/protobuf/meson.build: -------------------------------------------------------------------------------- 1 | if protobufDep.found() and protocCmd.found() 2 | protoGen = generator(protocCmd, 3 | output : ['@BASENAME@.pb.cc', '@BASENAME@.pb.h'], 4 | arguments : ['--proto_path=@CURRENT_SOURCE_DIR@', '--cpp_out=@BUILD_DIR@','@INPUT@']) 5 | 6 | protoSrc = protoGen.process('fileformat.proto', 'osmformat.proto') 7 | else 8 | protoSrc = [] 9 | endif 10 | -------------------------------------------------------------------------------- /libosmscout-map-cairo/include/osmscoutmapcairo/meson.build: -------------------------------------------------------------------------------- 1 | mapcairoFeaturesCfg = configuration_data() 2 | 3 | mapcairoFeaturesCfg.set('OSMSCOUT_MAP_CAIRO_HAVE_LIB_PANGO',pangoDep.found() and pangocairoDep.found(), description: 'text drawing using pango is supported') 4 | 5 | configure_file(output: 'MapCairoFeatures.h', 6 | install_dir: 'include/osmscoutmapcairo', 7 | configuration: mapcairoFeaturesCfg) 8 | 9 | -------------------------------------------------------------------------------- /webpage/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | file(GLOB_RECURSE WEBPAGE_SOURCE_FILES *.md *.css *.html *.png) 3 | 4 | # message("WEBPAGE_SOURCE_FILES: ${WEBPAGE_SOURCE_FILES}") 5 | 6 | add_custom_target( 7 | webpage ALL 8 | COMMAND ${HUGO_PATH} 9 | --verbose 10 | --source ${CMAKE_SOURCE_DIR}/webpage 11 | --destination ${CMAKE_CURRENT_BINARY_DIR}/public 12 | SOURCES ${WEBPAGE_SOURCE_FILES} 13 | ) 14 | -------------------------------------------------------------------------------- /libosmscout-map-cairo/include/osmscoutmapcairo/private/meson.build: -------------------------------------------------------------------------------- 1 | mapcairoCfg = configuration_data() 2 | mapcairoCfg.set('HAVE_VISIBILITY',haveVisibility, description: 'compiler supports simple visibility declarations') 3 | mapcairoCfg.set('OSMSCOUT_MAP_CAIRO_HAVE_LIB_PANGO',pangocairoDep.found(), description: 'text drawing using pango is supported') 4 | 5 | configure_file(output: 'Config.h', 6 | configuration: mapcairoCfg) 7 | 8 | -------------------------------------------------------------------------------- /webpage/layouts/_default/single.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{ partial "head.html" . }} 5 | 6 | 7 | {{ partial "header.html" . }} 8 | 9 |
    10 | {{ partial "navigation.html" . }} 11 | 12 |
    13 |

    {{ .Title }}

    14 | {{ .Content }} 15 |
    16 | 17 |
    18 |
    19 | 20 |
    21 | 22 | {{partial "footer.html" . }} 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /OSMScout2/pics/routestep/information.svg: -------------------------------------------------------------------------------- 1 | 2 | information-15.svg 3 | 4 | 7 | -------------------------------------------------------------------------------- /ci/docker/debian_13_trixie_gcc_meson/data/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | if [ $# -ge 1 ] ; then 5 | REPO="$1" 6 | else 7 | REPO="https://github.com/Framstag/libosmscout.git" 8 | fi 9 | 10 | if [ $# -ge 2 ] ; then 11 | BRANCH="$2" 12 | else 13 | BRANCH="master" 14 | fi 15 | 16 | git clone -b "$BRANCH" "$REPO" libosmscout 17 | 18 | env 19 | 20 | cd libosmscout 21 | meson debug 22 | cd debug 23 | 24 | ninja 25 | ninja test 26 | -------------------------------------------------------------------------------- /libosmscout-gpx/include/osmscoutgpx/meson.build: -------------------------------------------------------------------------------- 1 | gpxFeaturesCfg = configuration_data() 2 | gpxFeaturesCfg.set('OSMSCOUT_GPX_HAVE_LIB_XML',xml2Dep.found(), description: '*.gpx can be imported/exported') 3 | gpxFeaturesCfg.set('OSMSCOUT_GPX_MESON_BUILD',true, description: 'we are building using meson') 4 | 5 | configure_file(output: 'GPXFeatures.h', 6 | install_dir: 'include/osmscoutgpx', 7 | configuration: gpxFeaturesCfg) 8 | 9 | -------------------------------------------------------------------------------- /libosmscout-map/include/osmscoutmap/MapFeatures.h.cmake: -------------------------------------------------------------------------------- 1 | #ifndef LIBOSMSCOUT_MAP_FEATURES 2 | #define LIBOSMSCOUT_MAP_FEATURES 3 | 4 | #ifndef OSMSCOUT_DEBUG_LABEL_LAYOUTER 5 | /* Extra debugging of label layouter */ 6 | #cmakedefine OSMSCOUT_DEBUG_LABEL_LAYOUTER 7 | #endif 8 | 9 | #ifndef OSMSCOUT_DEBUG_GROUNDTILES 10 | /* Extra debugging of ground tiles rendering */ 11 | #cmakedefine OSMSCOUT_DEBUG_GROUNDTILES 12 | #endif 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /subprojects/liblzma.wrap: -------------------------------------------------------------------------------- 1 | [wrap-file] 2 | directory = xz-5.2.1 3 | 4 | source_url = http://tukaani.org/xz/xz-5.2.1.tar.xz 5 | source_filename = xz-5.2.1.tar.xz 6 | source_hash = 6ecdd4d80b12001497df0741d6037f918d270fa0f9a1ab4e2664bf4157ae323c 7 | 8 | patch_url = https://wrapdb.mesonbuild.com/v1/projects/liblzma/5.2.1/5/get_zip 9 | patch_filename = liblzma-5.2.1-5-wrap.zip 10 | patch_hash = cde35a0feaf438e3dc0b8d227910fc26051801e7b68bbac24ef6546d94be6049 11 | -------------------------------------------------------------------------------- /libosmscout-map-agg/include/meson.build: -------------------------------------------------------------------------------- 1 | osmscoutmapaggIncDir = include_directories('.') 2 | 3 | osmscoutmapaggHeader = [ 4 | 'osmscoutmapagg/MapAggImportExport.h', 5 | 'osmscoutmapagg/MapPainterAgg.h' 6 | ] 7 | 8 | if meson.version().version_compare('>=0.63.0') 9 | install_headers(osmscoutmapaggHeader, 10 | preserve_path: true) 11 | else 12 | install_headers(osmscoutmapaggHeader) 13 | endif 14 | 15 | -------------------------------------------------------------------------------- /libosmscout-map-svg/include/meson.build: -------------------------------------------------------------------------------- 1 | osmscoutmapsvgIncDir = include_directories('.') 2 | 3 | osmscoutmapsvgHeader = [ 4 | 'osmscoutmapsvg/MapSVGImportExport.h', 5 | 'osmscoutmapsvg/MapPainterSVG.h' 6 | ] 7 | 8 | if meson.version().version_compare('>=0.63.0') 9 | install_headers(osmscoutmapsvgHeader, 10 | preserve_path: true) 11 | else 12 | install_headers(osmscoutmapsvgHeader) 13 | endif 14 | 15 | -------------------------------------------------------------------------------- /libosmscout-map/include/osmscoutmap/meson.build: -------------------------------------------------------------------------------- 1 | mapFeaturesCfg = configuration_data() 2 | mapFeaturesCfg.set('OSMSCOUT_DEBUG_LABEL_LAYOUTER',false, description: 'Extra debugging of label layouter') 3 | mapFeaturesCfg.set('OSMSCOUT_DEBUG_GROUNDTILES',false, description: 'Extra debugging of ground tiles rendering') 4 | 5 | configure_file(output: 'MapFeatures.h', 6 | install_dir: 'include/osmscoutmap', 7 | configuration: mapFeaturesCfg) 8 | 9 | -------------------------------------------------------------------------------- /libosmscout-map-iosx/include/meson.build: -------------------------------------------------------------------------------- 1 | osmscoutmapiosxIncDir = include_directories('.') 2 | 3 | osmscoutmapiosxHeader = [ 4 | 'osmscoutmapiosx/MapPainterIOS.h', 5 | 'osmscoutmapiosx/SymbolRendererIOS.h' 6 | ] 7 | 8 | if meson.version().version_compare('>=0.63.0') 9 | install_headers(osmscoutmapiosxHeader, 10 | preserve_path: true) 11 | else 12 | install_headers(osmscoutmapiosxHeader) 13 | endif 14 | 15 | -------------------------------------------------------------------------------- /subprojects/glew.wrap: -------------------------------------------------------------------------------- 1 | [wrap-file] 2 | directory = glew-2.1.0 3 | 4 | source_url = http://downloads.sourceforge.net/glew/glew-2.1.0.tgz 5 | source_filename = glew-2.1.0.tgz 6 | source_hash = 04de91e7e6763039bc11940095cd9c7f880baba82196a7765f727ac05a993c95 7 | 8 | patch_url = https://wrapdb.mesonbuild.com/v1/projects/glew/2.1.0/1/get_zip 9 | patch_filename = glew-2.1.0-1-wrap.zip 10 | patch_hash = 0960da6bc56883e0a997e3e0eaf45fff332240ab08c584ca4a972e8f4e807fa7 11 | -------------------------------------------------------------------------------- /subprojects/glm.wrap: -------------------------------------------------------------------------------- 1 | [wrap-file] 2 | directory = glm-0.9.9.8 3 | 4 | source_url = https://github.com/g-truc/glm/archive/0.9.9.8.tar.gz 5 | source_filename = 0.9.9.8.tar.gz 6 | source_hash = 7d508ab72cb5d43227a3711420f06ff99b0a0cb63ee2f93631b162bfe1fe9592 7 | 8 | patch_url = https://wrapdb.mesonbuild.com/v1/projects/glm/0.9.9.8/1/get_zip 9 | patch_filename = glm-0.9.9.8-1-wrap.zip 10 | patch_hash = 3f051215de7c097ce2f516dc13e7294647eef0aa93b5b0a4ba615e06d03aca2f 11 | -------------------------------------------------------------------------------- /libosmscout-import/README: -------------------------------------------------------------------------------- 1 | 2 | You can find detailed instruction how to get libraries and applications 3 | build and working in the openstreetmap wiki: 4 | 5 | http://wiki.openstreetmap.org/wiki/Libosmscout 6 | 7 | To enable support for parsing *.osm files you need libxml as an 8 | external dependency. 9 | 10 | To enable support for parsing *.osm.pbf files you need the google 11 | protobuffer library, the protobuffer compiler and libz as a 12 | external dependencies. 13 | -------------------------------------------------------------------------------- /subprojects/libxml2.wrap: -------------------------------------------------------------------------------- 1 | [wrap-file] 2 | directory = libxml2-2.9.7 3 | 4 | source_url = ftp://xmlsoft.org/libxml2/libxml2-2.9.7.tar.gz 5 | source_filename = libxml2-2.9.7.tar.gz 6 | source_hash = f63c5e7d30362ed28b38bfa1ac6313f9a80230720b7fb6c80575eeab3ff5900c 7 | patch_url = https://wrapdb.mesonbuild.com/v1/projects/libxml2/2.9.7/6/get_zip 8 | patch_filename = libxml2-2.9.7-6-wrap.zip 9 | patch_hash = 4f56174fef39fdcc83f235e7021f18ec638403ab3ee2c314fb2509a8bf599b27 10 | -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutOSX.xcodeproj/project.xcworkspace/xcuserdata/vlad.xcuserdatad/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges 6 | 7 | SnapshotAutomaticallyBeforeSignificantChanges 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /libosmscout-gpx/src/meson.build: -------------------------------------------------------------------------------- 1 | osmscoutgpxSrc = [ 2 | 'src/osmscoutgpx/TrackSegment.cpp', 3 | 'src/osmscoutgpx/GpxFile.cpp', 4 | 'src/osmscoutgpx/Utils.cpp', 5 | 'src/osmscoutgpx/Track.cpp', 6 | 'src/osmscoutgpx/Extensions.cpp', 7 | ] 8 | 9 | if xml2Dep.found() 10 | osmscoutgpxSrc += [ 11 | 'src/osmscoutgpx/Import.cpp', 12 | 'src/osmscoutgpx/Export.cpp', 13 | ] 14 | endif 15 | 16 | 17 | -------------------------------------------------------------------------------- /subprojects/zlib.wrap: -------------------------------------------------------------------------------- 1 | [wrap-file] 2 | directory = zlib-1.2.11 3 | source_url = http://zlib.net/fossils/zlib-1.2.11.tar.gz 4 | source_filename = zlib-1.2.11.tar.gz 5 | source_hash = c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1 6 | patch_url = https://wrapdb.mesonbuild.com/v1/projects/zlib/1.2.11/5/get_zip 7 | patch_filename = zlib-1.2.11-5-wrap.zip 8 | patch_hash = 728c8e24acbc2e6682fbd950fec39e2fc77528af361adb87259f8a8511434004 9 | 10 | [provide] 11 | zlib = zlib_dep 12 | 13 | -------------------------------------------------------------------------------- /ci/docker/archlinux_gcc_meson/data/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | if [ $# -ge 1 ] ; then 5 | REPO="$1" 6 | else 7 | REPO="https://github.com/Framstag/libosmscout.git" 8 | fi 9 | 10 | if [ $# -ge 2 ] ; then 11 | BRANCH="$2" 12 | else 13 | BRANCH="master" 14 | fi 15 | 16 | git clone -b "$BRANCH" "$REPO" libosmscout 17 | 18 | export LANG=en_US.utf8 19 | export CC=gcc 20 | export CXX=g++ 21 | 22 | cd libosmscout 23 | meson debug 24 | cd debug 25 | ninja 26 | xvfb-run meson test 27 | 28 | -------------------------------------------------------------------------------- /OSMScout2/translations.pro: -------------------------------------------------------------------------------- 1 | # This file is just for updating translation files: 2 | # lupdate translations.pro 3 | 4 | TARGET = OSMScout2 5 | 6 | # find translations -type f | sort | sed 's/$/ \\/' 7 | TRANSLATIONS += translations/cs.ts \ 8 | translations/en.ts 9 | 10 | lupdate_only { 11 | SOURCES = qml/*.qml \ 12 | qml/custom/*.qml \ 13 | qml/custom/*.js 14 | } 15 | 16 | SOURCES += \ 17 | ../libosmscout-client-qt/src/osmscout/RouteDescriptionBuilder.cpp 18 | -------------------------------------------------------------------------------- /libosmscout-map-qt/include/meson.build: -------------------------------------------------------------------------------- 1 | osmscoutmapqtIncDir = include_directories('.') 2 | 3 | osmscoutmapqtHeader = [ 4 | 'osmscoutmapqt/MapQtImportExport.h', 5 | 'osmscoutmapqt/MapPainterQt.h', 6 | 'osmscoutmapqt/SymbolRendererQt.h' 7 | ] 8 | 9 | if meson.version().version_compare('>=0.63.0') 10 | install_headers(osmscoutmapqtHeader, 11 | preserve_path: true) 12 | else 13 | install_headers(osmscoutmapqtHeader) 14 | endif 15 | 16 | -------------------------------------------------------------------------------- /cmake/TestSSE.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | //include sse and sse2 headers 4 | #include 5 | #include 6 | 7 | /* __m128 is ugly to write */ 8 | typedef __m128d v2df; // vector of 2 double (sse2) 9 | 10 | int main(int argc, char **argv) 11 | { 12 | v2df calcx = _mm_setr_pd(2.0, 3.0); 13 | v2df xx = _mm_mul_pd(calcx, calcx); 14 | double d; 15 | _mm_storel_pd(&d, xx); 16 | printf("%f\n", d); 17 | _mm_storeh_pd(&d, xx); 18 | printf("%f\n", d); 19 | return 0; 20 | } 21 | -------------------------------------------------------------------------------- /stylesheets/include/land_sea_color.oss: -------------------------------------------------------------------------------- 1 | OSS 2 | 3 | CONST 4 | IF daylight { 5 | COLOR waterColor = #9acffd; 6 | COLOR landColor = #f1eee9; 7 | COLOR unknownColor = @waterColor; 8 | } 9 | ELSE { 10 | COLOR waterColor = darken(#9acffd, 0.5); 11 | COLOR landColor = #333333; 12 | COLOR unknownColor = #000000; 13 | } 14 | 15 | COLOR coastColor = lighten(@waterColor,0.5); 16 | END 17 | -------------------------------------------------------------------------------- /libosmscout-map-binding/src/swig/osmscout/DataTileCache.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::Tile) 6 | 7 | %template(TileList) std::list>; 8 | 9 | %include 10 | 11 | %template(TileAreaData) osmscout::TileData>; 12 | %template(TileNodeData) osmscout::TileData>; 13 | %template(TileWayData) osmscout::TileData>; 14 | 15 | 16 | -------------------------------------------------------------------------------- /libosmscout-map-gdi/include/meson.build: -------------------------------------------------------------------------------- 1 | osmscoutmapgdiIncDir = include_directories('.') 2 | 3 | osmscoutmapgdiHeader = [ 4 | 'osmscoutmapgdi/MapGDIImportExport.h', 5 | 'osmscoutmapgdi/MapPainterGDI.h', 6 | 'osmscoutmapgdi/MapPainterGDIWindow.h' 7 | ] 8 | 9 | if meson.version().version_compare('>=0.63.0') 10 | install_headers(osmscoutmapgdiHeader, 11 | preserve_path: true) 12 | else 13 | install_headers(osmscoutmapgdiHeader) 14 | endif 15 | 16 | -------------------------------------------------------------------------------- /subprojects/libpng.wrap: -------------------------------------------------------------------------------- 1 | [wrap-file] 2 | directory = libpng-1.6.37 3 | source_url = https://github.com/glennrp/libpng/archive/v1.6.37.tar.gz 4 | source_filename = libpng-1.6.37.tar.gz 5 | source_hash = ca74a0dace179a8422187671aee97dd3892b53e168627145271cad5b5ac81307 6 | patch_url = https://wrapdb.mesonbuild.com/v1/projects/libpng/1.6.37/2/get_zip 7 | patch_filename = libpng-1.6.37-2-wrap.zip 8 | patch_hash = c9dde143db819e803c9d59628863a9c8ea34f84b7e8e28e3d881502a5747ec56 9 | 10 | [provide] 11 | libpng = libpng_dep 12 | 13 | -------------------------------------------------------------------------------- /webpage/content/documentation/releases.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: "2016-05-29T19:40:58+02:00" 3 | title: "Releases" 4 | description: "Information about the release model" 5 | weight: 6 6 | 7 | menu: 8 | main: 9 | Parent: "documentation" 10 | Weight: 6 11 | --- 12 | 13 | There are currently no releases nor is there a master plan for regular or 14 | feature-targeted releases. Libosmscout is under continuous development and 15 | changes are (normally) prepared in feature branches and pushed to master if 16 | ready. 17 | 18 | -------------------------------------------------------------------------------- /subprojects/protobuf.wrap: -------------------------------------------------------------------------------- 1 | [wrap-file] 2 | directory = protobuf-3.12.2 3 | 4 | source_url = https://github.com/protocolbuffers/protobuf/releases/download/v3.12.2/protobuf-all-3.12.2.zip 5 | source_filename = protobuf-all-3.12.2.zip 6 | source_hash = af6a9cf80a99090a38a027e4b1a0545220f368368d8b03b3309ff760cb60d92d 7 | 8 | patch_url = https://wrapdb.mesonbuild.com/v1/projects/protobuf/3.12.2/1/get_zip 9 | patch_filename = protobuf-3.12.2-1-wrap.zip 10 | patch_hash = 44be5adb0bf763a3cccf3d3054929618da94b5aac6a26298ffda4764908bf84a 11 | -------------------------------------------------------------------------------- /libosmscout/include/osmscout/lib/CoreFeatures.h.cmake: -------------------------------------------------------------------------------- 1 | #ifndef LIBOSMSCOUT_COREFEATURES_H 2 | #define LIBOSMSCOUT_COREFEATURES_H 3 | 4 | #ifndef OSMSCOUT_HAVE_SSE2 5 | /* SSE2 processor extension available */ 6 | #cmakedefine OSMSCOUT_HAVE_SSE2 7 | #endif 8 | 9 | #ifndef OSMSCOUT_HAVE_LIB_MARISA 10 | /* libmarisa is available */ 11 | #cmakedefine OSMSCOUT_HAVE_LIB_MARISA 12 | #endif 13 | 14 | #ifndef OSMSCOUT_DEBUG_ROUTING 15 | /* Extra debugging of routing */ 16 | #cmakedefine OSMSCOUT_DEBUG_ROUTING 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /webpage/layouts/_default/list.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {{ partial "head.html" . }} 5 | 6 | 7 | 8 | {{ partial "header.html" . }} 9 | 10 |
    11 | {{ partial "navigation.html" . }} 12 | 13 |
    14 |

    {{ .Title }}

    15 | {{ .Content }} 16 | 17 |
      18 | {{ range .Data.Pages }} 19 | {{ .Render "li"}} 20 | {{ end }} 21 |
    22 |
    23 | 24 |
    25 |
    26 | 27 |
    28 | 29 | {{ partial "footer.html" . }} 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /OSMScout2/pics/routestep/drive-along.svg: -------------------------------------------------------------------------------- 1 | 2 | direction 3 | 4 | 5 | -------------------------------------------------------------------------------- /ci/docker/ubuntu_24.04_webpage/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:noble 2 | 3 | ENV DEBIAN_FRONTEND noninteractive 4 | 5 | RUN apt-get update && apt-get install -y \ 6 | wget git python3-pygments doxygen lftp \ 7 | && rm -rf /var/lib/apt/lists/* 8 | 9 | RUN wget https://github.com/gohugoio/hugo/releases/download/v0.147.8/hugo_0.147.8_linux-amd64.deb \ 10 | && dpkg -i hugo_0.147.8_linux-amd64.deb 11 | 12 | RUN mkdir /work 13 | 14 | COPY data/build.sh /work 15 | RUN chmod +x /work/build.sh 16 | 17 | WORKDIR /work 18 | CMD ./build.sh 19 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/routing/RoutingProfile.i: -------------------------------------------------------------------------------- 1 | %shared_ptr(osmscout::RoutingProfile) 2 | %shared_ptr(osmscout::AbstractRoutingProfile) 3 | %shared_ptr(osmscout::ShortestPathRoutingProfile) 4 | %shared_ptr(osmscout::FastestPathRoutingProfile) 5 | 6 | %{ 7 | #include 8 | %} 9 | 10 | %template(CarSpeedMap) std::map; 11 | %template(RoutingProfileVector) std::vector>; 12 | 13 | %include 14 | 15 | -------------------------------------------------------------------------------- /OSMScout2/pics/routestep/invalid-straight.svg: -------------------------------------------------------------------------------- 1 | 2 | direction 3 | 4 | 5 | -------------------------------------------------------------------------------- /libosmscout-map-directx/include/meson.build: -------------------------------------------------------------------------------- 1 | osmscoutmapdirectxIncDir = include_directories('.') 2 | 3 | osmscoutmapdirectxHeader = [ 4 | 'osmscoutmapdirectx/MapDirectXImportExport.h', 5 | 'osmscoutmapdirectx/MapPainterDirectX.h', 6 | 'osmscoutmapdirectx/PathTextRenderer.h' 7 | ] 8 | 9 | if meson.version().version_compare('>=0.63.0') 10 | install_headers(osmscoutmapdirectxHeader, 11 | preserve_path: true) 12 | else 13 | install_headers(osmscoutmapdirectxHeader) 14 | endif 15 | 16 | -------------------------------------------------------------------------------- /libosmscout-map-opengl/include/osmscoutmapopengl/meson.build: -------------------------------------------------------------------------------- 1 | mapopenglFeaturesCfg = configuration_data() 2 | # TODO: setup installation dir properly 3 | mapopenglFeaturesCfg.set('SHADER_INSTALL_DIR','"shaders"', description: 'OpenGL shader installation dir') 4 | mapopenglFeaturesCfg.set('DEFAULT_FONT_FILE','"LiberationSans-Regular.ttf"', description: 'OpenGL default font path') 5 | 6 | configure_file(output: 'MapOpenGLFeatures.h', 7 | install_dir: 'include/osmscoutmapopengl', 8 | configuration: mapopenglFeaturesCfg) 9 | 10 | -------------------------------------------------------------------------------- /webpage/content/documentation/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: "2019-03-27T08:28:00+01:00" 3 | title: "Documentation" 4 | description: "Documentation for libosmscout" 5 | weight: 3 6 | 7 | menu: 8 | main: 9 | weight: 3 10 | name: "Documentation" 11 | identifier: "documentation" 12 | --- 13 | 14 | The following list contains a number of articles that will introduce you 15 | to libosmscout and its concepts. 16 | 17 | If you are looking for some tutorials and concrete examples please visit 18 | our Tutorials section. 19 | 20 | -------------------------------------------------------------------------------- /ci/docker/ubuntu_24.04_gcc_cmake/data/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | if [ $# -ge 1 ] ; then 5 | REPO="$1" 6 | else 7 | REPO="https://github.com/Framstag/libosmscout.git" 8 | fi 9 | 10 | if [ $# -ge 2 ] ; then 11 | BRANCH="$2" 12 | else 13 | BRANCH="master" 14 | fi 15 | 16 | git clone -b "$BRANCH" "$REPO" libosmscout 17 | 18 | export LANG=en_US.utf8 19 | cd libosmscout 20 | mkdir build 21 | cd build 22 | cmake -DCMAKE_BUILD_TYPE=DEBUG -DOSMSCOUT_BUILD_BINDING_JAVA=OFF .. 23 | make -j $(nproc) install 24 | ctest --output-on-failure 25 | 26 | -------------------------------------------------------------------------------- /libosmscout-map-opengl/data/shaders/AreaVertexShader.vert: -------------------------------------------------------------------------------- 1 | #version 150 core 2 | 3 | in vec2 position; // Geographic coordinates of vertex 4 | in vec4 color; // Color of the area 5 | 6 | out vec4 Color; 7 | 8 | uniform mat4 Model; 9 | uniform mat4 View; 10 | uniform mat4 Projection; 11 | 12 | vec2 GeoToPixel(in float posx, in float posy); 13 | 14 | void main() { 15 | Color = color; 16 | vec2 result = GeoToPixel(position.x, position.y); 17 | 18 | gl_Position = Projection * View * Model * vec4(result.x, result.y, 0.0, 1.0); 19 | } -------------------------------------------------------------------------------- /libosmscout-map-opengl/data/shaders/GroundVertexShader.vert: -------------------------------------------------------------------------------- 1 | #version 150 core 2 | 3 | in vec2 position; // Geographic coordinates of vertex 4 | in vec3 color; // Color of the ground 5 | 6 | out vec3 Color; 7 | 8 | uniform mat4 Model; 9 | uniform mat4 View; 10 | uniform mat4 Projection; 11 | 12 | vec2 GeoToPixel(in float posx, in float posy); 13 | 14 | void main() { 15 | Color = color; 16 | vec2 result = GeoToPixel(position.x, position.y); 17 | gl_Position = Projection * View * Model * vec4(result.x, result.y, 0.0, 1.0); 18 | } -------------------------------------------------------------------------------- /ci/docker/archlinux_gcc_cmake/data/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | if [ $# -ge 1 ] ; then 5 | REPO="$1" 6 | else 7 | REPO="https://github.com/Framstag/libosmscout.git" 8 | fi 9 | 10 | if [ $# -ge 2 ] ; then 11 | BRANCH="$2" 12 | else 13 | BRANCH="master" 14 | fi 15 | 16 | git clone -b "$BRANCH" "$REPO" libosmscout 17 | 18 | export LANG=en_US.utf8 19 | cd libosmscout 20 | mkdir build 21 | cd build 22 | cmake -DCMAKE_BUILD_TYPE=DEBUG -DOSMSCOUT_BUILD_BINDING_JAVA=OFF .. 23 | make -j `nproc` install 24 | xvfb-run ctest --output-on-failure 25 | 26 | -------------------------------------------------------------------------------- /libosmscout/include/osmscout/lib/meson.build: -------------------------------------------------------------------------------- 1 | coreFeaturesCfg = configuration_data() 2 | # TODO 3 | coreFeaturesCfg.set('OSMSCOUT_HAVE_SSE2',false, description: 'SSE2 processor extension available') 4 | coreFeaturesCfg.set('OSMSCOUT_HAVE_LIB_MARISA',marisaDep.found(), description: 'libmarisa is available') 5 | coreFeaturesCfg.set('OSMSCOUT_DEBUG_ROUTING',false, description: 'Extra debugging of routing') 6 | 7 | configure_file(output: 'CoreFeatures.h', 8 | install_dir: 'include/osmscout/lib', 9 | configuration: coreFeaturesCfg) 10 | 11 | -------------------------------------------------------------------------------- /DumpData/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(SOURCE_FILES 2 | src/DumpData.cpp 3 | ) 4 | 5 | add_executable(DumpData ${SOURCE_FILES}) 6 | 7 | set_target_properties(DumpData PROPERTIES VERSION ${OSMSCOUT_LIBRARY_VERSION} SOVERSION ${OSMSCOUT_LIBRARY_VERSION} FOLDER "Tools") 8 | 9 | target_link_libraries(DumpData OSMScout::OSMScout) 10 | 11 | if(WIN32) 12 | create_win32_tool_resource(DumpData) 13 | endif() 14 | 15 | install(TARGETS DumpData 16 | RUNTIME DESTINATION bin 17 | BUNDLE DESTINATION bin 18 | LIBRARY DESTINATION lib 19 | ARCHIVE DESTINATION lib) 20 | -------------------------------------------------------------------------------- /OSMScout2/pics/routestep/target.svg: -------------------------------------------------------------------------------- 1 | 2 | direction 3 | 4 | 5 | -------------------------------------------------------------------------------- /ci/docker/ubuntu_24.04_webpage/data/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | if [ $# -ge 1 ] ; then 5 | REPO="$1" 6 | else 7 | REPO="https://github.com/Framstag/libosmscout.git" 8 | fi 9 | 10 | if [ $# -ge 2 ] ; then 11 | BRANCH="$2" 12 | else 13 | BRANCH="master" 14 | fi 15 | 16 | git clone -b "$BRANCH" "$REPO" libosmscout 17 | 18 | cd libosmscout 19 | 20 | echo "Generating HTML API documentation..." 21 | ( cat doxygen.cfg ; echo "OUTPUT_DIRECTORY=webpage/static/api-doc" ) | doxygen - 22 | echo "Generating static web site..." 23 | cd webpage 24 | hugo build --logLevel info 25 | -------------------------------------------------------------------------------- /libosmscout-import/include/osmscoutimport/ImportFeatures.h.cmake: -------------------------------------------------------------------------------- 1 | #ifndef LIBOSMSCOUT_IMPORT_FEATURES 2 | #define LIBOSMSCOUT_IMPORT_FEATURES 3 | 4 | #ifndef OSMSCOUT_IMPORT_HAVE_LIB_MARISA 5 | /* libmarisa is available */ 6 | #cmakedefine OSMSCOUT_IMPORT_HAVE_LIB_MARISA 7 | #endif 8 | 9 | #ifndef OSMSCOUT_DEBUG_COASTLINE 10 | /* Extra debugging of coastline evaluation */ 11 | #cmakedefine OSMSCOUT_DEBUG_COASTLINE 12 | #endif 13 | 14 | #ifndef OSMSCOUT_DEBUG_TILING 15 | /* Extra debugging of water index tiling */ 16 | #cmakedefine OSMSCOUT_DEBUG_TILING 17 | #endif 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /libosmscout-test/include/meson.build: -------------------------------------------------------------------------------- 1 | osmscouttestIncDir = include_directories('.') 2 | 3 | osmscouttestHeader = [ 4 | 'osmscout-test/TestImportExport.h', 5 | 'osmscout-test/olt/Parser.h', 6 | 'osmscout-test/olt/Scanner.h', 7 | 'osmscout-test/RegionList.h', 8 | 'osmscout-test/PreprocessOLT.h' 9 | ] 10 | 11 | if meson.version().version_compare('>=0.63.0') 12 | install_headers(osmscouttestHeader, 13 | preserve_path: true) 14 | else 15 | install_headers(osmscouttestHeader) 16 | endif 17 | 18 | -------------------------------------------------------------------------------- /Documentation/README.VisualStudio.txt: -------------------------------------------------------------------------------- 1 | You need VisualStudio 2017 or 2019 (C++17 support!). Most of the code 2 | might also work using Visual Studio 2015, but you likely need to 3 | make some changes to the code to get it really build. 4 | 5 | The build has been tested with VisualStudio 2019. To generate 6 | VisualStudio project files you need to use cmake. Note that 7 | VisualStudio 2017 has direct support for cmake. 8 | 9 | For details regarding the cmake build see the central appveyor build 10 | and its configuration files in this repository (appveyor.yml and 11 | ci/appveyor/). 12 | 13 | -------------------------------------------------------------------------------- /OSMScout2/pics/routestep/start.svg: -------------------------------------------------------------------------------- 1 | 2 | direction 3 | 4 | 5 | -------------------------------------------------------------------------------- /Tests/src/NumberSetTest.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include 4 | 5 | #include 6 | 7 | TEST_CASE() 8 | { 9 | osmscout::NumberSet set; 10 | 11 | REQUIRE_FALSE(set.IsSet(0)); 12 | 13 | REQUIRE_FALSE(set.IsSet(1)); 14 | 15 | set.Set(1); 16 | 17 | REQUIRE(set.IsSet(1)); 18 | 19 | set.Set(255); 20 | 21 | REQUIRE(set.IsSet(255)); 22 | 23 | set.Set(256); 24 | 25 | REQUIRE(set.IsSet(256)); 26 | 27 | for (size_t i=256; i<256*256; i++) { 28 | set.Set(i); 29 | 30 | REQUIRE(set.IsSet(i)); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /stylesheets/contour_lines.ost: -------------------------------------------------------------------------------- 1 | OST 2 | 3 | TYPES 4 | // 5 | // contour lines 6 | // 7 | 8 | TYPE elevation_contour_major 9 | = WAY ("contour"=="elevation" AND "contour_ext"=="elevation_major") 10 | {Ele} 11 | IGNORESEALAND PIN_WAY 12 | 13 | TYPE elevation_contour_medium 14 | = WAY ("contour"=="elevation" AND "contour_ext"=="elevation_medium") 15 | {Ele} 16 | IGNORESEALAND PIN_WAY 17 | 18 | TYPE elevation_contour_minor 19 | = WAY ("contour"=="elevation" AND "contour_ext"=="elevation_minor") 20 | {Ele} 21 | IGNORESEALAND PIN_WAY 22 | END 23 | -------------------------------------------------------------------------------- /webpage/content/tutorials/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: "2017-02-27T10:12:00+02:00" 3 | title: "Tutorials" 4 | description: "A number of tutorials" 5 | weight: 5 6 | 7 | menu: 8 | main: 9 | weight: 5 10 | name: "Tutorials" 11 | identifier: "tutorials" 12 | --- 13 | 14 | The following list contains dedicated tutorials for some aspects of 15 | libosmscouts. While the tutorials are ordered so that you can read from top 16 | to bottom you are not required to do so. 17 | 18 | You should have read the introductional documents before, see 19 | Documentation. 20 | 21 | -------------------------------------------------------------------------------- /libosmscout-map-gdi/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(HEADER_FILES 2 | include/osmscoutmapgdi/MapGDIImportExport.h 3 | include/osmscoutmapgdi/MapPainterGDI.h 4 | include/osmscoutmapgdi/MapPainterGDIWindow.h 5 | ) 6 | 7 | set(SOURCE_FILES 8 | src/osmscoutmapgdi/MapPainterGDI.cpp 9 | src/osmscoutmapgdi/MapPainterGDIWindow.cpp 10 | ) 11 | 12 | osmscout_library_project( 13 | NAME OSMScoutMapGDI 14 | ALIAS MapGDI 15 | OUTPUT_NAME "osmscout_map_gdi" 16 | SOURCE ${SOURCE_FILES} 17 | HEADER ${HEADER_FILES} 18 | INCLUDEDIR osmscoutmapgdi 19 | TARGET OSMScout::OSMScout OSMScout::Map Gdiplus 20 | ) 21 | -------------------------------------------------------------------------------- /Apple/OSMScoutOSX/OSMScoutOSX/en.lproj/Credits.rtf: -------------------------------------------------------------------------------- 1 | {\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;} 2 | {\colortbl;\red255\green255\blue255;} 3 | \paperw9840\paperh8400 4 | \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural 5 | 6 | \f0\b\fs24 \cf0 Engineering: 7 | \b0 \ 8 | Some people\ 9 | \ 10 | 11 | \b Human Interface Design: 12 | \b0 \ 13 | Some other people\ 14 | \ 15 | 16 | \b Testing: 17 | \b0 \ 18 | Hopefully not nobody\ 19 | \ 20 | 21 | \b Documentation: 22 | \b0 \ 23 | Whoever\ 24 | \ 25 | 26 | \b With special thanks to: 27 | \b0 \ 28 | Mom\ 29 | } 30 | -------------------------------------------------------------------------------- /ci/docker/archlinux_clang_cmake/data/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | if [ $# -ge 1 ] ; then 5 | REPO="$1" 6 | else 7 | REPO="https://github.com/Framstag/libosmscout.git" 8 | fi 9 | 10 | if [ $# -ge 2 ] ; then 11 | BRANCH="$2" 12 | else 13 | BRANCH="master" 14 | fi 15 | 16 | git clone -b "$BRANCH" "$REPO" libosmscout 17 | 18 | export LANG=en_US.utf8 19 | export CC=clang 20 | export CXX=clang++ 21 | 22 | cd libosmscout 23 | mkdir build 24 | cd build 25 | cmake -DCMAKE_BUILD_TYPE=DEBUG -DOSMSCOUT_BUILD_BINDING_JAVA=OFF .. 26 | make -j `nproc` install 27 | xvfb-run ctest --output-on-failure 28 | 29 | -------------------------------------------------------------------------------- /Demos/src/meson.build: -------------------------------------------------------------------------------- 1 | demosIncDir = include_directories('.') 2 | 3 | demoCfg = configuration_data() 4 | 5 | demoCfg.set('HAVE_LIB_OSMSCOUTMAPCAIRO',buildMapCairo, description: 'Cairo backend supported') 6 | demoCfg.set('HAVE_LIB_OSMSCOUTMAPQT',buildMapQt, description: 'Qt backend supported') 7 | demoCfg.set('HAVE_LIB_OSMSCOUTMAPAGG',buildMapAgg, description: 'Agg backend supported') 8 | demoCfg.set('HAVE_LIB_OSMSCOUTMAPOPENGL',buildMapOpenGL and glfwDep.found() and ftDep.found(), description: 'OpenGL backend supported') 9 | 10 | configure_file(output: 'config.h', 11 | configuration: demoCfg) 12 | 13 | -------------------------------------------------------------------------------- /libosmscout-client/src/meson.build: -------------------------------------------------------------------------------- 1 | osmscoutclientSrc = [ 2 | 'src/osmscoutclient/DBInstance.cpp', 3 | 'src/osmscoutclient/DBJob.cpp', 4 | 'src/osmscoutclient/DBThread.cpp', 5 | 'src/osmscoutclient/MapDirectory.cpp', 6 | 'src/osmscoutclient/MapManager.cpp', 7 | 'src/osmscoutclient/MapProvider.cpp', 8 | 'src/osmscoutclient/OnlineTileProvider.cpp', 9 | 'src/osmscoutclient/POILookupModule.cpp', 10 | 'src/osmscoutclient/Settings.cpp', 11 | 'src/osmscoutclient/VoiceProvider.cpp' 12 | ] 13 | -------------------------------------------------------------------------------- /ci/docker/ubuntu_24.04_gcc_meson_qt6/data/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | if [ $# -ge 1 ] ; then 5 | REPO="$1" 6 | else 7 | REPO="https://github.com/Framstag/libosmscout.git" 8 | fi 9 | 10 | if [ $# -ge 2 ] ; then 11 | BRANCH="$2" 12 | else 13 | BRANCH="master" 14 | fi 15 | 16 | git clone -b "$BRANCH" "$REPO" libosmscout 17 | 18 | export LANG=en_US.utf8 19 | cd libosmscout 20 | mkdir debug 21 | PATH=/usr/lib/qt6/bin:/usr/lib/qt6/libexec:$PATH meson setup --buildtype debugoptimized --unity on --wrap-mode=nofallback -D qtVersion=6 debug 22 | ninja -C debug 23 | meson test -C debug --print-errorlogs 24 | 25 | -------------------------------------------------------------------------------- /libosmscout-map-opengl/src/meson.build: -------------------------------------------------------------------------------- 1 | osmscoutmapopenglSrc = [ 2 | 'src/osmscoutmapopengl/MapPainterOpenGL.cpp', 3 | 'src/osmscoutmapopengl/Triangulate.cpp', 4 | 'src/osmscoutmapopengl/PNGLoaderOpenGL.cpp', 5 | 'src/osmscoutmapopengl/ShaderUtils.cpp', 6 | 'src/osmscoutmapopengl/TextLoader.cpp', 7 | 'src/poly2tri/sweep/cdt.cc', 8 | 'src/poly2tri/common/shapes.cc', 9 | 'src/poly2tri/sweep/sweep.cc', 10 | 'src/poly2tri/sweep/sweep_context.cc', 11 | 'src/poly2tri/sweep/advancing_front.cc' 12 | ] 13 | 14 | 15 | -------------------------------------------------------------------------------- /PublicTransportMap/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(SOURCE_FILES 2 | src/PublicTransportMap.cpp 3 | ) 4 | 5 | add_executable(PublicTransportMap ${SOURCE_FILES}) 6 | 7 | set_target_properties(PublicTransportMap PROPERTIES VERSION ${OSMSCOUT_LIBRARY_VERSION} SOVERSION ${OSMSCOUT_LIBRARY_VERSION} FOLDER "Tools") 8 | 9 | target_link_libraries(PublicTransportMap OSMScout::OSMScout) 10 | 11 | if(WIN32) 12 | create_win32_tool_resource(PublicTransportMap) 13 | endif() 14 | 15 | install(TARGETS PublicTransportMap 16 | RUNTIME DESTINATION bin 17 | BUNDLE DESTINATION bin 18 | LIBRARY DESTINATION lib 19 | ARCHIVE DESTINATION lib) 20 | -------------------------------------------------------------------------------- /libosmscout-map-cairo/include/meson.build: -------------------------------------------------------------------------------- 1 | osmscoutmapcairoIncDir = include_directories('.') 2 | 3 | osmscoutmapcairoHeader = [ 4 | 'osmscoutmapcairo/MapCairoImportExport.h', 5 | 'osmscoutmapcairo/MapPainterCairo.h', 6 | 'osmscoutmapcairo/SymbolRendererCairo.h' 7 | ] 8 | 9 | if pngDep.found() 10 | osmscoutmapcairoHeader += ['osmscoutmapcairo/LoaderPNG.h'] 11 | endif 12 | 13 | if meson.version().version_compare('>=0.63.0') 14 | install_headers(osmscoutmapcairoHeader, 15 | preserve_path: true) 16 | else 17 | install_headers(osmscoutmapcairoHeader) 18 | endif 19 | 20 | -------------------------------------------------------------------------------- /OSMScoutOpenGL/meson.build: -------------------------------------------------------------------------------- 1 | osmscoutopenglSrc = [ 2 | 'src/OSMScoutOpenGL.cpp' 3 | ] 4 | 5 | osmscoutopenglIncDir = include_directories('src') 6 | 7 | OSMScoutOpenGL = executable('OSMScoutOpenGL', 8 | osmscoutopenglSrc, 9 | include_directories: [osmscoutopenglIncDir, osmscoutmapopenglIncDir, osmscoutmapIncDir, osmscoutIncDir], 10 | dependencies: [mathDep, threadDep, openmpDep, glewDep, glmDep, glfwDep, ftDep, openGLDep], 11 | link_with: [osmscoutmapopengl, osmscoutmap, osmscout], 12 | install: true) 13 | 14 | -------------------------------------------------------------------------------- /OSMScout2/pics/routestep/turn.svg: -------------------------------------------------------------------------------- 1 | 2 | direction 3 | 4 | 5 | -------------------------------------------------------------------------------- /Documentation/README.Apple.txt: -------------------------------------------------------------------------------- 1 | A sample XCode project for iOS (iPhone, iPad) and Mac OSX is located in the Apple directory. 2 | Before opening the project in XCode you should do configure in libosmscout and libosmscout-map to generate the config files. 3 | If your target is iOS you have to comment out #define OSMSCOUT_HAVE_SSE2 1 in libosmscout/include/osmscout/CoreFeatures.h 4 | and libosmscout/include/osmscout/private/Config.h 5 | Then you should update the OSMSCOUTDATA, LATITUDE, LONGITUDE, ZOOM defines in the OSMScoutView.m and/or OSMScoutIOSView.m. 6 | Finally you should be able to compile the sample code for the chosen target (OSMScoutOSX or OSMScoutIOS). 7 | -------------------------------------------------------------------------------- /OSMScout2/qml/custom/ScrollIndicator.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.2 2 | 3 | Rectangle { 4 | id: container 5 | 6 | property Flickable flickableArea 7 | 8 | x: flickableArea.x+flickableArea.width-6 9 | y: flickableArea.y 10 | width: 4 11 | height: flickableArea.height 12 | 13 | color: "#00000000" 14 | 15 | Rectangle { 16 | id: indicator 17 | x: 0 18 | y: flickableArea.visibleArea.yPosition * container.height 19 | width: parent.width 20 | height: flickableArea.visibleArea.heightRatio * container.height 21 | color: "black" 22 | opacity: height==parent.height ? 0 : 0.3 23 | } 24 | } 25 | 26 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/Location.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::Address) 6 | %shared_ptr(osmscout::Location) 7 | %shared_ptr(osmscout::POI) 8 | 9 | // AdminRegion 10 | %shared_ptr(osmscout::AdminRegion) 11 | %template(AdminRegionRegionAliasVector) std::vector; 12 | 13 | // AddressListVisitor 14 | %template(AddressListVisitorAddressResultList) std::list; 15 | 16 | // PostalArea 17 | %shared_ptr(osmscout::PostalArea) 18 | %template(PostalAreaVector) std::vector; 19 | 20 | %include 21 | 22 | -------------------------------------------------------------------------------- /Android/OsmScoutLib/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-3 15 | android.library=true 16 | -------------------------------------------------------------------------------- /OSMScoutOpenGL/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(SOURCE_FILES 2 | src/OSMScoutOpenGL.cpp 3 | ) 4 | 5 | add_executable(OSMScoutOpenGL ${SOURCE_FILES}) 6 | 7 | set_target_properties(OSMScoutOpenGL PROPERTIES VERSION ${OSMSCOUT_LIBRARY_VERSION} SOVERSION ${OSMSCOUT_LIBRARY_VERSION} FOLDER "Tools") 8 | 9 | target_include_directories(OSMScoutOpenGL PRIVATE 10 | Freetype::Freetype 11 | ) 12 | 13 | target_link_libraries(OSMScoutOpenGL 14 | OSMScout::OSMScout 15 | OSMScout::Map 16 | OSMScout::MapOpenGL 17 | OpenGL::GL 18 | glfw 19 | ) 20 | 21 | install(TARGETS OSMScoutOpenGL 22 | RUNTIME DESTINATION bin 23 | LIBRARY DESTINATION lib 24 | ARCHIVE DESTINATION lib) 25 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/Database.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %shared_ptr(osmscout::Database) 6 | 7 | %include 8 | 9 | %template(AreaRegionSearchResultEntryList) std::list; 10 | 11 | %template(DatabaseVector) std::vector>; 12 | 13 | //%template(FileOffsetAreaRefMap) std::unordered_map; 14 | //%template(FileOffsetNodeRefMap) std::unordered_map; 15 | //%template(FileOffsetWayRefMap) std::unordered_map; 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /libosmscout/TODO: -------------------------------------------------------------------------------- 1 | * Improve RouteData and RouteDescription 2 | * Remove asserts from code (at least where asserts can be provoked by user) 3 | * Define a error code concept (possibly copy class Status form Illumination) 4 | * Add text only interactive demo applications. 5 | * Improve routing algorithm to check for routing to non-rechable targets 6 | * Think about virtual vs. non-virtual methods. 7 | * GenRelationDat: 8 | - It seems that the resolving step is the most time consuming. Thus first 9 | detect type of Relation and decide if relation is relevant. Only if 10 | relation is relevant resolve the relation. 11 | * GenWayDat: 12 | - Improve performance of GenWayDat. 13 | -------------------------------------------------------------------------------- /Android/OsmScoutViewer/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-3 15 | android.library.reference.1=../OsmScoutLib 16 | -------------------------------------------------------------------------------- /webpage/layouts/partials/head.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | {{ hugo.Generator }} 11 | {{ .Site.Title }} 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Android/OsmScoutBenchmark/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-10 15 | android.library.reference.1=../OsmScoutLib 16 | -------------------------------------------------------------------------------- /StyleEditor/qml_515/custom/ScrollIndicator.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | 3 | Rectangle { 4 | id: container 5 | 6 | property Flickable flickableArea 7 | 8 | x: flickableArea.x+flickableArea.width - units.gu(0.5) 9 | y: flickableArea.y 10 | width: units.gu(0.5) 11 | height: flickableArea.height 12 | 13 | color: "#00000000" 14 | 15 | Rectangle { 16 | id: indicator 17 | x: 0 18 | y: flickableArea.visibleArea.yPosition * container.height 19 | width: parent.width 20 | height: flickableArea.visibleArea.heightRatio * container.height 21 | color: "black" 22 | opacity: height==parent.height ? 0 : 0.3 23 | } 24 | } 25 | 26 | -------------------------------------------------------------------------------- /StyleEditor/qml_640/custom/ScrollIndicator.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | 3 | Rectangle { 4 | id: container 5 | 6 | property Flickable flickableArea 7 | 8 | x: flickableArea.x+flickableArea.width - units.gu(0.5) 9 | y: flickableArea.y 10 | width: units.gu(0.5) 11 | height: flickableArea.height 12 | 13 | color: "#00000000" 14 | 15 | Rectangle { 16 | id: indicator 17 | x: 0 18 | y: flickableArea.visibleArea.yPosition * container.height 19 | width: parent.width 20 | height: flickableArea.visibleArea.heightRatio * container.height 21 | color: "black" 22 | opacity: height==parent.height ? 0 : 0.3 23 | } 24 | } 25 | 26 | -------------------------------------------------------------------------------- /packaging/import/linux/import.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Add PBF file into this directory and run ./import.sh 4 | 5 | set -e 6 | 7 | if [ "$#" -ne 1 ]; then 8 | echo "Usage: ./import.sh openstreetmapfilename" 9 | exit 0 10 | fi 11 | 12 | D=${1%-latest.osm.pbf} 13 | D=${D%.osm.pbf} 14 | D=${D%.pbf} 15 | D=${D%.osm} 16 | 17 | PROGPATH=$(dirname "$0") 18 | 19 | if [ "$1" == "$D" ] 20 | then 21 | D=$1-imported 22 | fi 23 | 24 | echo Make directory: $D 25 | mkdir "$D" 26 | "$PROGPATH"/bin/Import --typefile "$PROGPATH"/stylesheets/map.ost --delete-temporary-files true --delete-debugging-files true --delete-analysis-files true --delete-report-files true --destinationDirectory "$D" "$1" 27 | -------------------------------------------------------------------------------- /maps/Readme.txt: -------------------------------------------------------------------------------- 1 | Simply download OSM export files (ending in *.osm or *.osm.pbf) 2 | into this directory and call 3 | 4 | ./build.sh 5 | 6 | The script will create a sub directory for the import data 7 | and call the import tool to generate the data into this 8 | directory. 9 | 10 | It will also create a log file containing the output of the import 11 | named .txt. 12 | 13 | Note: 14 | For import of *.osm of *.osm.pbf files you need to have the corresponding 15 | support in the import tool enabled. 16 | 17 | *.osm file require libxml during build and run. 18 | 19 | * osm.pbf files require google protobuf compiler and library 20 | at compile time and the library at runtime. 21 | -------------------------------------------------------------------------------- /Android/OsmScoutBenchmark/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | OsmScoutBenchmark 5 | Hello world! 6 | Settings 7 | Start 8 | Max Lat 9 | Min Lat 10 | Max Lon 11 | Min Lon 12 | Min Zoom 13 | Max Zoom 14 | Width 15 | Height 16 | 17 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/TypeConfig.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | #include 4 | %} 5 | 6 | %shared_ptr(osmscout::TypeInfo) 7 | %shared_ptr(osmscout::TypeConfig) 8 | %shared_ptr(osmscout::Feature) 9 | 10 | %include 11 | %include 12 | 13 | %template(FeatureVector) std::vector; 14 | %template(FeatureInstanceVector) std::vector; 15 | %template(FeatureRef) std::shared_ptr; 16 | 17 | %template(TypeInfoTypeConditionList) std::list; 18 | 19 | %template(TypeInfoRefVector) std::vector; 20 | 21 | 22 | -------------------------------------------------------------------------------- /cmake/TestLargeFiles.c.cmake.in: -------------------------------------------------------------------------------- 1 | #cmakedefine _LARGEFILE_SOURCE 2 | #cmakedefine _LARGE_FILES 3 | #cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@ 4 | 5 | #include 6 | #include 7 | #include 8 | 9 | int main(int argc, char **argv) 10 | { 11 | /* Cause a compile-time error if off_t is smaller than 64 bits, 12 | * and make sure we have ftello / fseeko. 13 | */ 14 | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 15 | int off_t_is_large[ (LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1 ]; 16 | FILE *fp = fopen(argv[0],"r"); 17 | off_t offset = ftello( fp ); 18 | 19 | fseeko( fp, offset, SEEK_CUR ); 20 | fclose(fp); 21 | return 0; 22 | } 23 | -------------------------------------------------------------------------------- /OSMScout2/pics/routestep/turn-sharp-left.svg: -------------------------------------------------------------------------------- 1 | 2 | direction 3 | 4 | 5 | -------------------------------------------------------------------------------- /OSMScout2/pics/routestep/turn-sharp-right.svg: -------------------------------------------------------------------------------- 1 | 2 | direction 3 | 4 | 5 | -------------------------------------------------------------------------------- /ci/docker/ubuntu_24.04_clang_msan_cmake/data/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | if [ $# -ge 1 ] ; then 5 | REPO="$1" 6 | else 7 | REPO="https://github.com/Framstag/libosmscout.git" 8 | fi 9 | 10 | if [ $# -ge 2 ] ; then 11 | BRANCH="$2" 12 | else 13 | BRANCH="master" 14 | fi 15 | 16 | git clone -b "$BRANCH" "$REPO" libosmscout 17 | 18 | export LANG=en_US.utf8 19 | cd libosmscout 20 | mkdir build 21 | cd build 22 | cmake \ 23 | -DCMAKE_BUILD_TYPE=DEBUG \ 24 | -DCMAKE_CXX_FLAGS="-stdlib=libc++ -fsanitize=memory" \ 25 | -DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++ -fsanitize=memory" \ 26 | -DCMAKE_C_COMPILER=/usr/bin/clang-20 \ 27 | -DCMAKE_CXX_COMPILER=/usr/bin/clang++-20 \ 28 | .. 29 | make -j $(nproc) install 30 | ctest --output-on-failure 31 | 32 | -------------------------------------------------------------------------------- /libosmscout-test/parser/generate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ -x "$(command -v Coco)" ]; then 4 | COCO=Coco 5 | elif [ -x "$(command -v cococpp)" ]; then 6 | COCO=cococpp 7 | else 8 | echo "No coco implementation found!" 9 | exit 1 10 | fi 11 | 12 | echo "Using Coco command '${COCO}'..." 13 | 14 | # OST (aka OSMScout types) 15 | $COCO OLT/OLT.atg -namespace osmscout:olt -frames OLT -o OLT 16 | 17 | sed -i s/\(L\"/\(\"/g OLT/Scanner.cpp 18 | sed -i s/L\'/\'/g OLT/Scanner.cpp 19 | sed -i s/wchar_t/char/g OLT/Scanner.cpp 20 | 21 | sed -i s/L\"/\"/g OLT/Parser.cpp 22 | 23 | cp OLT/Scanner.h ../include/osmscout-test/olt/ 24 | cp OLT/Scanner.cpp ../src/osmscout-test/olt 25 | 26 | cp OLT/Parser.h ../include/osmscout-test/olt/ 27 | cp OLT/Parser.cpp ../src/osmscout-test/olt 28 | -------------------------------------------------------------------------------- /libosmscout/parser/generate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ -x "$(command -v Coco)" ]; then 4 | COCO=Coco 5 | elif [ -x "$(command -v cococpp)" ]; then 6 | COCO=cococpp 7 | else 8 | echo "No coco implementation found!" 9 | exit 1 10 | fi 11 | 12 | echo "Using Coco command '${COCO}'..." 13 | 14 | cd $(dirname $0) 15 | 16 | # OST (aka OSMScout types) 17 | $COCO OST/OST.atg -namespace osmscout:ost -frames OST -o OST 18 | 19 | sed -i s/\(L\"/\(\"/g OST/Scanner.cpp 20 | sed -i s/L\'/\'/g OST/Scanner.cpp 21 | sed -i s/wchar_t/char/g OST/Scanner.cpp 22 | 23 | sed -i s/L\"/\"/g OST/Parser.cpp 24 | 25 | cp OST/Scanner.h ../include/osmscout/ost/ 26 | cp OST/Scanner.cpp ../src/osmscout/ost 27 | 28 | cp OST/Parser.h ../include/osmscout/ost/ 29 | cp OST/Parser.cpp ../src/osmscout/ost 30 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # CMake 2 | **/cmake_install.cmake 3 | **/CMakeFiles 4 | # cmake standard build directory 5 | /build/ 6 | # cmake build directory for android builds 7 | /android/ 8 | # cmake build directory for unity builds 9 | /unity/ 10 | 11 | # IDEs 12 | **/.cproject 13 | **/.project 14 | **/.settings 15 | **/.classpath 16 | **/nbproject 17 | **/.idea 18 | **/*.iml 19 | /cmake-build-debug 20 | .vscode 21 | .cache 22 | 23 | # Backup 24 | **/*~ 25 | 26 | # meson 27 | /debug/ 28 | /release/ 29 | 30 | # JReleaser 31 | /out 32 | 33 | # Maven 34 | /libosmscout-kotlin/target/ 35 | 36 | # Generation of db for tests 37 | /Tests/*.dat 38 | /Tests/*.idx 39 | /Tests/*.tmp 40 | /Tests/*.idmap 41 | /Tests/*.txt 42 | /Tests/*.html 43 | /Tests/Testing/Temporary/* 44 | /Tests/data/testregion/stats.dot 45 | -------------------------------------------------------------------------------- /libosmscout-map-opengl/README.md: -------------------------------------------------------------------------------- 1 | ## OpenGL based renderer 2 | 3 | You can find a short description of the OpenGL backend here: 4 | http://libosmscout.sourceforge.net/documentation/openglbackend/ 5 | 6 | The OpenGL renderer backend was implemented during the 2017 Google Summer of Code. 7 | You can view the project here: 8 | 9 | https://summerofcode.withgoogle.com/projects/#4992829691527168 10 | 11 | You can find detailed instruction how to get libraries and applications 12 | build and working in the openstreetmap wiki: 13 | 14 | http://wiki.openstreetmap.org/wiki/Libosmscout 15 | 16 | A few screenshot of the renderer: 17 | 18 | ![Santorini](http://i.imgur.com/DuyWuBWm.png) 19 | 20 | ![Naples](http://i.imgur.com/8Z8ELhbm.png) 21 | 22 | ![Debrecen](http://i.imgur.com/71Y9prAm.png) 23 | 24 | -------------------------------------------------------------------------------- /Android/OsmScoutBenchmark/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 14 | 15 | 16 | 19 | 20 | -------------------------------------------------------------------------------- /ci/docker/ubuntu_24.04_aarch64_gcc_cmake/data/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | if [ $# -ge 1 ] ; then 5 | REPO="$1" 6 | else 7 | REPO="https://github.com/Framstag/libosmscout.git" 8 | fi 9 | 10 | if [ $# -ge 2 ] ; then 11 | BRANCH="$2" 12 | else 13 | BRANCH="master" 14 | fi 15 | 16 | git clone -b "$BRANCH" "$REPO" libosmscout 17 | 18 | export LANG=en_US.utf8 19 | cd libosmscout 20 | mkdir build 21 | cd build 22 | cmake \ 23 | -DCMAKE_BUILD_TYPE=Debug \ 24 | -DCMAKE_CROSSCOMPILING_EMULATOR=/usr/bin/qemu-aarch64 \ 25 | -DCMAKE_PREFIX_PATH="/usr/aarch64-linux-gnu/usr/;/usr/aarch64-linux-gnu/" \ 26 | -DCMAKE_EXE_LINKER_FLAGS="-Wl,-rpath,/usr/aarch64-linux-gnu/lib/aarch64-linux-gnu/" \ 27 | .. 28 | 29 | make -j $(nproc) install 30 | ctest --output-on-failure 31 | 32 | -------------------------------------------------------------------------------- /libosmscout-map/parser/generate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ -x "$(command -v Coco)" ]; then 4 | COCO=Coco 5 | elif [ -x "$(command -v cococpp)" ]; then 6 | COCO=cococpp 7 | else 8 | echo "No coco implementation found!" 9 | exit 1 10 | fi 11 | 12 | echo "Using Coco command '${COCO}'..." 13 | 14 | cd $(dirname $0) 15 | 16 | # OSS (aka OSMScout style) 17 | $COCO OSS/OSS.atg -namespace osmscout:oss -frames OSS -o OSS 18 | 19 | sed -i s/\(L\"/\(\"/g OSS/Scanner.cpp 20 | sed -i s/L\'/\'/g OSS/Scanner.cpp 21 | sed -i s/wchar_t/char/g OSS/Scanner.cpp 22 | 23 | sed -i s/L\"/\"/g OSS/Parser.cpp 24 | 25 | cp OSS/Scanner.h ../include/osmscoutmap/oss/ 26 | cp OSS/Scanner.cpp ../src/osmscoutmap/oss 27 | 28 | cp OSS/Parser.h ../include/osmscoutmap/oss/ 29 | cp OSS/Parser.cpp ../src/osmscoutmap/oss 30 | -------------------------------------------------------------------------------- /libosmscout-import/include/osmscoutimport/private/meson.build: -------------------------------------------------------------------------------- 1 | importCfg = configuration_data() 2 | importCfg.set('HAVE_VISIBILITY',haveVisibility, description: 'compiler supports simple visibility declarations') 3 | importCfg.set('HAVE_STD_EXECUTION',stdExecutionAvailable, description: 'compiler supports C++17 execution') 4 | importCfg.set('HAVE_LIB_PROTOBUF',protobufDep.found() and protocCmd.found(), description: 'libprotobuf detected') 5 | importCfg.set('HAVE_LIB_XML',xml2Dep.found(), description: 'libxml2 detected') 6 | importCfg.set('HAVE_LIB_ZLIB',zlibDep.found(), description: 'zlib detected') 7 | importCfg.set('OSMSCOUT_IMPORT_HAVE_LIB_MARISA',marisaDep.found(), description: 'libmarisa is available') 8 | 9 | configure_file(output: 'Config.h', 10 | configuration: importCfg) 11 | 12 | -------------------------------------------------------------------------------- /libosmscout-map-opengl/include/meson.build: -------------------------------------------------------------------------------- 1 | osmscoutmapopenglIncDir = include_directories('.') 2 | 3 | osmscoutmapopenglHeader = [ 4 | 'osmscoutmapopengl/MapOpenGLImportExport.h', 5 | 'osmscoutmapopengl/MapPainterOpenGL.h', 6 | 'osmscoutmapopengl/OpenGLMapData.h', 7 | 'osmscoutmapopengl/Triangulate.h', 8 | 'osmscoutmapopengl/OpenGLProjection.h', 9 | 'osmscoutmapopengl/PNGLoaderOpenGL.h', 10 | 'osmscoutmapopengl/ShaderUtils.h', 11 | 'osmscoutmapopengl/TextLoader.h' 12 | ] 13 | 14 | if meson.version().version_compare('>=0.63.0') 15 | install_headers(osmscoutmapopenglHeader, 16 | preserve_path: true) 17 | else 18 | install_headers(osmscoutmapopenglHeader) 19 | endif 20 | 21 | -------------------------------------------------------------------------------- /Documentation/VehiclesAndAccess.txt: -------------------------------------------------------------------------------- 1 | References: 2 | * http://wiki.openstreetmap.org/wiki/Access 3 | * http://wiki.openstreetmap.org/wiki/OSM_tags_for_routing/Access-Restrictions 4 | * http://wiki.openstreetmap.org/wiki/Conditional_restrictions 5 | 6 | Supported vehicles: 7 | * foot (foot=*) 8 | * bicycle (bicycle=*) 9 | * car (motor_vehicle=*) 10 | 11 | Access must be separatly evaluated for each vehicle type and for both 12 | directions. 13 | 14 | Speed restrictions may also depend on vehicle type. 15 | 16 | Tag to evaluate: 17 | * access(:backward/foward)=true => foot, bicycle, car 18 | * (access:)foot(:backward/forward) => foot 19 | * (access:)bicylce(:backward/forward) => bicycle 20 | * (access:)motor_vehicle(:backward/forward) => car 21 | * (access:)motorcar(:backward/forward) => car 22 | * oneway => bicycle, car 23 | -------------------------------------------------------------------------------- /libosmscout-map/meson.build: -------------------------------------------------------------------------------- 1 | cppArgs = [] 2 | 3 | if get_option('default_library')=='shared' 4 | cppArgs += ['-DOSMScoutMap_EXPORTS'] 5 | 6 | if haveVisibility 7 | cppArgs += ['-fvisibility=hidden'] 8 | endif 9 | endif 10 | 11 | subdir('include') 12 | subdir('include/osmscoutmap') 13 | subdir('include/osmscoutmap/private') 14 | subdir('src') 15 | 16 | osmscoutmap = library('osmscout_map', 17 | osmscoutmapSrc, 18 | include_directories: [osmscoutmapIncDir, osmscoutIncDir], 19 | cpp_args: cppArgs, 20 | dependencies: [mathDep, threadDep], 21 | link_with: [osmscout], 22 | version: libraryVersion, 23 | install: true) 24 | 25 | pkg = import('pkgconfig') 26 | pkg.generate(osmscoutmap) 27 | -------------------------------------------------------------------------------- /packaging/import/linux/README: -------------------------------------------------------------------------------- 1 | This is a package that allows you to import OpenStreetMap maps 2 | distributed as PBF. To use, 3 | 4 | 1. Unpack this archive 5 | 6 | 2. In terminal, run import.sh included in this archive with for each 7 | PBF map that you would want to import (one map in a time). For 8 | example: 9 | 10 | libosmscout-importer.Linux.x86_64/import.sh estonia-latest.osm.pbf 11 | 12 | After that, the directory with the corresponding name will be 13 | created. The script strips the following suffixes from the file name: 14 | 15 | -latest.osm.pbf 16 | .osm.pbf 17 | .pbf 18 | 19 | In the example case above, a directory estonia will be created and the 20 | map will be imported into that directory. 21 | 22 | 3. Copy the imported folder to your device (internal disk or SD card) 23 | and point the program using libosmscout to that folder. 24 | -------------------------------------------------------------------------------- /OSMScoutOpenGL/README.md: -------------------------------------------------------------------------------- 1 | ## OSMScoutOpenGL demo application 2 | 3 | Usage: 4 | 5 | ./OSMScoutOpenGL --font 6 | 7 | Example: 8 | 9 | ./OSMScoutOpenGL/OSMScoutOpenGL --font /usr/share/fonts/truetype/liberation/LiberationMono-Regular.ttf ../../maps/debrecen/ ../stylesheets/standard.oss ../libosmscout/data/icons/14x14/standard/ 800 600 10 | 11 | ./OSMScoutOpenGL ../../maps/debrecen/ ../stylesheets/standard.oss ../libosmscout/data/icons/14x14/standard/ 800 600 12 | 13 | You can find a short description of the OpenGL backend here: 14 | http://libosmscout.sourceforge.net/documentation/openglbackend/ 15 | 16 | You can find detailed instruction how to get libraries and applications 17 | build and working in the openstreetmap wiki: 18 | 19 | http://wiki.openstreetmap.org/wiki/Libosmscout -------------------------------------------------------------------------------- /libosmscout-gpx/meson.build: -------------------------------------------------------------------------------- 1 | cppArgs = [] 2 | 3 | if get_option('default_library')=='shared' 4 | cppArgs += ['-DOSMScoutGPX_EXPORTS'] 5 | 6 | if haveVisibility 7 | cppArgs += ['-fvisibility=hidden'] 8 | endif 9 | endif 10 | 11 | subdir('include') 12 | subdir('include/osmscoutgpx') 13 | subdir('include/osmscoutgpx/private') 14 | subdir('src') 15 | 16 | osmscoutgpx = library('osmscout_gpx', 17 | osmscoutgpxSrc, 18 | include_directories: [osmscoutgpxIncDir, osmscoutIncDir], 19 | cpp_args: cppArgs, 20 | dependencies: [mathDep, threadDep, xml2Dep, zlibDep], 21 | link_with: [osmscout], 22 | version: libraryVersion, 23 | install: true) 24 | 25 | pkg = import('pkgconfig') 26 | pkg.generate(osmscoutgpx) 27 | -------------------------------------------------------------------------------- /OSMScout2/pics/routestep/enter-motorway.svg: -------------------------------------------------------------------------------- 1 | 2 | direction 3 | 4 | 5 | -------------------------------------------------------------------------------- /libosmscout-map-binding/src/swig/osmscout/libosmscout-map.i: -------------------------------------------------------------------------------- 1 | %module libosmscoutmap 2 | 3 | %include 4 | 5 | %include 6 | %include 7 | 8 | %include 9 | %include 10 | %include 11 | 12 | %include 13 | %include 14 | %include 15 | //%include 16 | %include 17 | 18 | %import 19 | 20 | %include 21 | 22 | %include 23 | %include 24 | 25 | %include 26 | %include 27 | %include 28 | %include 29 | %include 30 | %include 31 | 32 | %include 33 | -------------------------------------------------------------------------------- /ci/docker/ubuntu_24.04_aarch64_gcc_cmake/arm64.list: -------------------------------------------------------------------------------- 1 | deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports noble main restricted 2 | deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports noble-updates main restricted 3 | deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports noble universe 4 | deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports noble-updates universe 5 | deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports noble multiverse 6 | deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports noble-updates multiverse 7 | deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports noble-backports main restricted universe multiverse 8 | deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports noble-security main restricted 9 | deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports noble-security universe 10 | deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports noble-security multiverse 11 | -------------------------------------------------------------------------------- /Tests/src/StdByteTest.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | TEST_CASE("Assignable 1") { 4 | auto b=std::byte(1u); 5 | 6 | REQUIRE(unsigned(b)==1u); 7 | } 8 | 9 | TEST_CASE("Assignable 255") { 10 | auto b=std::byte(255u); 11 | 12 | REQUIRE(unsigned(b)==255u); 13 | } 14 | 15 | TEST_CASE("We always get the last 8 bytes") { 16 | auto b=std::byte(4095u); // 111111111111 17 | 18 | REQUIRE(unsigned(b)==255u); 19 | } 20 | 21 | TEST_CASE("No problem with unsigned and all bits set") { 22 | uint16_t val=65535; // All bits set 23 | auto b=std::byte(val); 24 | 25 | REQUIRE(unsigned(b)==255u); 26 | } 27 | 28 | TEST_CASE("No problem with -1") { 29 | int16_t val=-1; // All bits set 30 | auto b=std::byte(val); 31 | 32 | // This might in fact be implementation defined, but not on common hardware architectures 33 | REQUIRE(unsigned(b)==255u); 34 | } 35 | -------------------------------------------------------------------------------- /conanfile.txt: -------------------------------------------------------------------------------- 1 | [requires] 2 | 3 | # You need the following remotes: 4 | # conan-center: https://conan.bintray.com [Verify SSL: True] 5 | # conan remote add bincrafters "https://api.bintray.com/conan/bincrafters/public-conan" 6 | # 7 | # Not yet needed: 8 | # conan-community: https://api.bintray.com/conan/conan-community/conan [Verify SSL: True] 9 | 10 | # Core and Import 11 | libiconv/1.16 12 | zlib/1.2.11 13 | #libxml2/2.9.10 14 | protobuf/3.9.1 15 | 16 | # Cairo 17 | #freetype/2.10.4 18 | libpng/1.6.37 19 | #cairo/1.17.2@bincrafters/stable 20 | 21 | # OpenGL 22 | #glfw/3.3.2 23 | glm/0.9.9.5 24 | glew/2.1.0 25 | 26 | # Qt5 27 | #qt/5.15.1@bincrafters/stable 28 | 29 | [generators] 30 | cmake 31 | 32 | [options] 33 | *:shared=True 34 | #Qt:opengl=desktop 35 | #Qt:location=True 36 | #Qt:svg=True 37 | #Qt:openssl=no 38 | 39 | [imports] 40 | # Copy libraries/dlls from dependencies 41 | -------------------------------------------------------------------------------- /libosmscout-map-directx/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(HEADER_FILES 2 | include/osmscoutmapdirectx/MapDirectXImportExport.h 3 | include/osmscoutmapdirectx/MapPainterDirectX.h 4 | include/osmscoutmapdirectx/PathTextRenderer.h 5 | ) 6 | 7 | set(SOURCE_FILES 8 | src/osmscoutmapdirectx/MapPainterDirectX.cpp 9 | src/osmscoutmapdirectx/PathTextRenderer.cpp 10 | ) 11 | 12 | osmscout_library_project( 13 | NAME OSMScoutMapDirectX 14 | ALIAS MapDirectX 15 | OUTPUT_NAME "osmscout_map_directx" 16 | SOURCE ${SOURCE_FILES} 17 | HEADER ${HEADER_FILES} 18 | INCLUDEDIR osmscoutmapdirectx 19 | INCLUDES ${Direct2D_INCLUDE_DIRS} 20 | TEMPLATE ${CMAKE_CURRENT_SOURCE_DIR}/include/osmscoutmapdirectx/MapDirectXFeatures.h.cmake 21 | TARGET OSMScout::OSMScout OSMScout::Map ${Direct2D_LIBRARIES} Windowscodecs 22 | ) 23 | target_compile_definitions(OSMScoutMapDirectX PRIVATE -DUNICODE -D_UNICODE) 24 | -------------------------------------------------------------------------------- /libosmscout-gpx/include/meson.build: -------------------------------------------------------------------------------- 1 | osmscoutgpxIncDir = include_directories('.') 2 | 3 | osmscoutgpxHeader = [ 4 | 'osmscoutgpx/GPXImportExport.h', 5 | 'osmscoutgpx/GpxFile.h', 6 | 'osmscoutgpx/Utils.h', 7 | 'osmscoutgpx/Route.h', 8 | 'osmscoutgpx/Track.h', 9 | 'osmscoutgpx/Waypoint.h', 10 | 'osmscoutgpx/TrackPoint.h', 11 | 'osmscoutgpx/TrackSegment.h', 12 | 'osmscoutgpx/Extensions.h', 13 | ] 14 | 15 | if xml2Dep.found() 16 | osmscoutgpxHeader += [ 17 | 'osmscoutgpx/Import.h', 18 | 'osmscoutgpx/Export.h', 19 | ] 20 | endif 21 | 22 | if meson.version().version_compare('>=0.63.0') 23 | install_headers(osmscoutgpxHeader, 24 | preserve_path: true) 25 | else 26 | install_headers(osmscoutgpxHeader) 27 | endif 28 | 29 | -------------------------------------------------------------------------------- /Android/OsmScoutLib/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /libosmscout-binding/src/swig/osmscout/OSMScoutTypes.i: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | %} 4 | 5 | %include 6 | 7 | %apply unsigned long int { uint64_t } 8 | 9 | // String 10 | %template(StringList) std::list; 11 | //%template(StringUnorderedSet) std::unordered_set; 12 | %template(StringSet) std::set; 13 | %template(StringVector) std::vector; 14 | %template(StringStringUnorderedMap) std::unordered_map; 15 | // 16 | %template(UInt32Vector) std::vector; 17 | //%template(UInt64Vector) std::vector; 18 | 19 | //%template(FileOffsetList) std::list; 20 | //%template(FileOffsetSet) std::set; 21 | %template(FileOffsetVector) std::vector; 22 | 23 | %template(DoubleVector) std::vector; 24 | 25 | -------------------------------------------------------------------------------- /libosmscout-test/meson.build: -------------------------------------------------------------------------------- 1 | cppArgs = [] 2 | 3 | if get_option('default_library')=='shared' 4 | cppArgs += ['-DOSMScoutTest_EXPORTS'] 5 | 6 | if haveVisibility 7 | cppArgs += ['-fvisibility=hidden'] 8 | endif 9 | endif 10 | 11 | subdir('include') 12 | subdir('include/osmscout-test') 13 | subdir('include/osmscout-test/private') 14 | subdir('src') 15 | 16 | osmscouttest = library('osmscout_test', 17 | osmscouttestSrc, 18 | include_directories: [osmscoutimportIncDir, osmscouttestIncDir, osmscoutIncDir], 19 | cpp_args: cppArgs, 20 | dependencies: [mathDep, threadDep], 21 | link_with: [osmscout, osmscoutimport], 22 | version: libraryVersion, 23 | install: true) 24 | 25 | pkg = import('pkgconfig') 26 | pkg.generate(osmscouttest) 27 | -------------------------------------------------------------------------------- /Android/OsmScoutBenchmark/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /Android/OsmScoutViewer/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /StyleEditor/qml_515/Units.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | 3 | QtObject { 4 | property real scaleFactor: 1.0 5 | property real fontScaleFactor: 1.0 6 | property real gridUnit: 8.0 * scaleFactor 7 | 8 | function dp(p) { 9 | return scaleFactor * p; 10 | } 11 | 12 | function gu(u) { 13 | return gridUnit * u; 14 | } 15 | 16 | function fs(s) { 17 | if (s === "x-small") 18 | return 10.0 * scaleFactor * fontScaleFactor; 19 | if (s === "small") 20 | return 12.0 * scaleFactor * fontScaleFactor; 21 | if (s === "medium") 22 | return 14.0 * scaleFactor * fontScaleFactor; 23 | if (s === "large") 24 | return 16.0 * scaleFactor * fontScaleFactor; 25 | if (s === "x-large") 26 | return 18.0 * scaleFactor * fontScaleFactor; 27 | return 0.0; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /StyleEditor/qml_640/Units.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | 3 | QtObject { 4 | property real scaleFactor: 1.0 5 | property real fontScaleFactor: 1.0 6 | property real gridUnit: 8.0 * scaleFactor 7 | 8 | function dp(p) { 9 | return scaleFactor * p; 10 | } 11 | 12 | function gu(u) { 13 | return gridUnit * u; 14 | } 15 | 16 | function fs(s) { 17 | if (s === "x-small") 18 | return 10.0 * scaleFactor * fontScaleFactor; 19 | if (s === "small") 20 | return 12.0 * scaleFactor * fontScaleFactor; 21 | if (s === "medium") 22 | return 14.0 * scaleFactor * fontScaleFactor; 23 | if (s === "large") 24 | return 16.0 * scaleFactor * fontScaleFactor; 25 | if (s === "x-large") 26 | return 18.0 * scaleFactor * fontScaleFactor; 27 | return 0.0; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /libosmscout-map-qt/meson.build: -------------------------------------------------------------------------------- 1 | cppArgs = [] 2 | 3 | if get_option('default_library')=='shared' 4 | cppArgs += ['-DOSMScoutMapQt_EXPORTS'] 5 | 6 | if haveVisibility 7 | cppArgs += ['-fvisibility=hidden'] 8 | endif 9 | endif 10 | 11 | subdir('include') 12 | subdir('include/osmscoutmapqt') 13 | subdir('include/osmscoutmapqt/private') 14 | subdir('src') 15 | 16 | osmscoutmapqt = library('osmscout_map_qt', 17 | osmscoutmapqtSrc, 18 | include_directories: [osmscoutmapqtIncDir, osmscoutmapIncDir, osmscoutIncDir], 19 | cpp_args: cppArgs, 20 | dependencies: [mathDep, threadDep, qtMapDep], 21 | link_with: [osmscout, osmscoutmap], 22 | version: libraryVersion, 23 | install: true) 24 | 25 | pkg = import('pkgconfig') 26 | pkg.generate(osmscoutmapqt) 27 | -------------------------------------------------------------------------------- /Android/OsmScoutViewer/res/layout/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 14 | 15 | 21 | 22 | -------------------------------------------------------------------------------- /libosmscout/parser/OST/Copyright.frame: -------------------------------------------------------------------------------- 1 | /* 2 | This source is part of the libosmscout library 3 | Copyright (C) 2011 Tim Teulings 4 | 5 | This library is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU Lesser General Public 7 | License as published by the Free Software Foundation; either 8 | version 2.1 of the License, or (at your option) any later version. 9 | 10 | This library is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public 16 | License along with this library; if not, write to the Free Software 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | -------------------------------------------------------------------------------- /libosmscout-map/parser/OSS/Copyright.frame: -------------------------------------------------------------------------------- 1 | /* 2 | This source is part of the libosmscout library 3 | Copyright (C) 2011 Tim Teulings 4 | 5 | This library is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU Lesser General Public 7 | License as published by the Free Software Foundation; either 8 | version 2.1 of the License, or (at your option) any later version. 9 | 10 | This library is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public 16 | License along with this library; if not, write to the Free Software 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | -------------------------------------------------------------------------------- /libosmscout-test/parser/OLT/Copyright.frame: -------------------------------------------------------------------------------- 1 | /* 2 | This source is part of the libosmscout library 3 | Copyright (C) 2017 Tim Teulings 4 | 5 | This library is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU Lesser General Public 7 | License as published by the Free Software Foundation; either 8 | version 2.1 of the License, or (at your option) any later version. 9 | 10 | This library is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public 16 | License along with this library; if not, write to the Free Software 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | -------------------------------------------------------------------------------- /Tests/src/TimeParseTest.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include 4 | 5 | TEST_CASE("Parse ISO8601 time string") { 6 | osmscout::Timestamp ts; 7 | std::string testString="2017-03-12T14:31:56.000Z"; 8 | REQUIRE(osmscout::ParseISO8601TimeString(testString, ts)); 9 | REQUIRE(std::chrono::duration_cast(ts.time_since_epoch()).count()==1489329116000); 10 | REQUIRE(osmscout::TimestampToISO8601TimeString(ts)==testString); 11 | } 12 | 13 | TEST_CASE("Parse ISO8601 time string with millisecond precision") { 14 | osmscout::Timestamp ts; 15 | std::string testString="2017-03-12T14:31:56.012Z"; 16 | REQUIRE(osmscout::ParseISO8601TimeString(testString, ts)); 17 | REQUIRE(std::chrono::duration_cast(ts.time_since_epoch()).count()==1489329116012); 18 | REQUIRE(osmscout::TimestampToISO8601TimeString(ts)==testString); 19 | } 20 | -------------------------------------------------------------------------------- /webpage/content/features/platforms.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: "2016-05-29T19:40:58+02:00" 3 | title: "Supported platforms" 4 | description: "List of supported platforms" 5 | weight: 1 6 | 7 | menu: 8 | main: 9 | Parent: "features" 10 | Weight: 1 11 | --- 12 | 13 | The following platforms are supported: 14 | 15 | * Linux using gcc or clang, using meson or cmake as build system 16 | * Mac OS X and iOS using XCode/clang 17 | * Windows 18 | * Visual Studio 2013 (likely libosmscout source has to be patched slightly) 19 | * Visual Studio 2015 20 | * Visual Studio 2017 21 | * MinGW/[MSYS2](https://sourceforge.net/projects/msys2/) 22 | * Android 23 | * Qt 24 | * Initial efforts to generate Java stubs by using SWIG to alloe easy access 25 | to libosmscout from normal Android applications 26 | * Sailfish OS using Qt backend 27 | * Ubuntu phone using Qt backend 28 | 29 | The compiler must at least support C++20. 30 | -------------------------------------------------------------------------------- /Java/Renderer/src/main/java/net/sf/libosmscout/Renderer.java: -------------------------------------------------------------------------------- 1 | package net.sf.libosmscout; 2 | 3 | import net.sf.libosmscout.osmscout.*; 4 | 5 | public class Renderer { 6 | 7 | static { 8 | System.loadLibrary("osmscout_binding_java"); 9 | System.loadLibrary("osmscout_map_binding_java"); 10 | } 11 | 12 | public static void main(String[] args) { 13 | if (args.length != 1) { 14 | System.err.println("Renderer "); 15 | return; 16 | } 17 | 18 | String mapDirectory = args[0]; 19 | 20 | // TODO: Argument parsing 21 | 22 | DatabaseParameter parameter = new DatabaseParameter(); 23 | Database database = new Database(parameter); 24 | 25 | System.out.println("Opening database '" + mapDirectory + "'..."); 26 | 27 | if (!database.Open(mapDirectory)) { 28 | System.err.println("Cannot open database '" + mapDirectory + "'"); 29 | return; 30 | } 31 | 32 | database.Close(); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Android/OsmScoutViewer/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 12 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /libosmscout-map-gdi/meson.build: -------------------------------------------------------------------------------- 1 | cppArgs = [] 2 | 3 | if get_option('default_library')=='shared' 4 | cppArgs += ['-DOSMScoutMapGDI_EXPORTS'] 5 | 6 | if haveVisibility 7 | cppArgs += ['-fvisibility=hidden'] 8 | endif 9 | endif 10 | 11 | subdir('include') 12 | subdir('include/osmscoutmapgdi') 13 | subdir('include/osmscoutmapgdi/private') 14 | subdir('src') 15 | 16 | osmscoutmapgdi = library('osmscout_map_gdi', 17 | osmscoutmapgdiSrc, 18 | include_directories: [osmscoutmapgdiIncDir, osmscoutmapIncDir, osmscoutIncDir], 19 | cpp_args: cppArgs, 20 | dependencies: [mathDep, threadDep, gdiplusDep], 21 | link_with: [osmscoutmap, osmscout], 22 | version: libraryVersion, 23 | install: true) 24 | 25 | pkg = import('pkgconfig') 26 | pkg.generate(osmscoutmapgdi) 27 | -------------------------------------------------------------------------------- /libosmscout-map-svg/meson.build: -------------------------------------------------------------------------------- 1 | cppArgs = [] 2 | 3 | if get_option('default_library')=='shared' 4 | cppArgs += ['-DOSMScoutMapSVG_EXPORTS'] 5 | 6 | if haveVisibility 7 | cppArgs += ['-fvisibility=hidden'] 8 | endif 9 | endif 10 | 11 | subdir('include') 12 | subdir('include/osmscoutmapsvg') 13 | subdir('include/osmscoutmapsvg/private') 14 | subdir('src') 15 | 16 | osmscoutmapsvg = library('osmscout_map_svg', 17 | osmscoutmapsvgSrc, 18 | include_directories: [osmscoutmapsvgIncDir, osmscoutmapIncDir, osmscoutIncDir], 19 | cpp_args: cppArgs, 20 | dependencies: [mathDep, threadDep, pangoft2Dep], 21 | link_with: [osmscoutmap, osmscout], 22 | version: libraryVersion, 23 | install: true) 24 | 25 | pkg = import('pkgconfig') 26 | pkg.generate(osmscoutmapsvg) 27 | -------------------------------------------------------------------------------- /ci/docker/archlinux_gcc_cmake/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM archlinux:base-20250727.0.390543 2 | 3 | RUN pacman --noconfirm --needed -Sy \ 4 | git \ 5 | libxml2 protobuf \ 6 | freetype2 \ 7 | cairo pango \ 8 | qt5-base qt5-declarative qt5-graphicaleffects qt5-location \ 9 | qt5-quickcontrols qt5-script qt5-sensors qt5-svg qt5-tools \ 10 | qt5-translations qt5-multimedia \ 11 | freeglut glu glew glm glfw-x11 libxcursor libxinerama \ 12 | marisa xorg-server-xvfb \ 13 | catch2 14 | 15 | RUN pacman --noconfirm --needed -S \ 16 | cmake make pkg-config \ 17 | gcc 18 | 19 | ENV QT_QPA_PLATFORM offscreen 20 | 21 | RUN echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen 22 | RUN locale-gen 23 | ENV LANG en_US.UTF-8 24 | 25 | RUN mkdir /work 26 | 27 | COPY data/build.sh /work 28 | RUN chmod +x /work/build.sh 29 | 30 | WORKDIR /work 31 | CMD ./build.sh 32 | -------------------------------------------------------------------------------- /ci/docker/archlinux_gcc_meson/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM archlinux:base-20250727.0.390543 2 | 3 | RUN pacman --noconfirm --needed -Sy \ 4 | git \ 5 | libxml2 protobuf \ 6 | freetype2 \ 7 | cairo pango \ 8 | qt5-base qt5-declarative qt5-graphicaleffects qt5-location \ 9 | qt5-quickcontrols qt5-script qt5-sensors qt5-svg qt5-tools \ 10 | qt5-translations qt5-multimedia \ 11 | freeglut glu glew glm glfw-x11 libxcursor libxinerama \ 12 | marisa xorg-server-xvfb \ 13 | catch2 14 | 15 | RUN pacman --noconfirm --needed -S \ 16 | meson ninja pkg-config \ 17 | gcc 18 | 19 | ENV QT_QPA_PLATFORM offscreen 20 | 21 | RUN echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen 22 | RUN locale-gen 23 | ENV LANG en_US.UTF-8 24 | 25 | RUN mkdir /work 26 | 27 | COPY data/build.sh /work 28 | RUN chmod +x /work/build.sh 29 | 30 | WORKDIR /work 31 | CMD ./build.sh 32 | -------------------------------------------------------------------------------- /ci/docker/archlinux_clang_cmake/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM archlinux:base-20250727.0.390543 2 | 3 | RUN pacman --noconfirm --needed -Sy \ 4 | git \ 5 | libxml2 protobuf \ 6 | freetype2 \ 7 | cairo pango \ 8 | qt5-base qt5-declarative qt5-graphicaleffects qt5-location \ 9 | qt5-quickcontrols qt5-script qt5-sensors qt5-svg qt5-tools \ 10 | qt5-translations qt5-multimedia \ 11 | freeglut glu glew glm glfw-x11 libxcursor libxinerama \ 12 | marisa xorg-server-xvfb \ 13 | catch2 14 | 15 | RUN pacman --noconfirm --needed -S \ 16 | cmake make pkg-config \ 17 | clang openmp 18 | 19 | ENV QT_QPA_PLATFORM offscreen 20 | 21 | RUN echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen 22 | RUN locale-gen 23 | ENV LANG en_US.UTF-8 24 | 25 | RUN mkdir /work 26 | 27 | COPY data/build.sh /work 28 | RUN chmod +x /work/build.sh 29 | 30 | WORKDIR /work 31 | CMD ./build.sh 32 | -------------------------------------------------------------------------------- /libosmscout-gpx/src/osmscoutgpx/GpxFile.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | This source is part of the libosmscout-gpx library 3 | Copyright (C) 2017 Lukas Karas 4 | 5 | This library is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU Lesser General Public 7 | License as published by the Free Software Foundation; either 8 | version 2.1 of the License, or (at your option) any later version. 9 | 10 | This library is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public 16 | License along with this library; if not, write to the Free Software 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | 20 | #include 21 | -------------------------------------------------------------------------------- /Documentation/README.Java.txt: -------------------------------------------------------------------------------- 1 | libosmscout can partially be used from Java. For this SWIG is used 2 | to scan the C++ header files and generate a C++ JNDI stub library and 3 | some java classes on top of it. 4 | 5 | The following sub directories are involved: 6 | 7 | libosmscout-binding: 8 | autoconf project that starts SWIG to generate the C++ stub code and 9 | the resulting Java classes. It also builds the stub library: 10 | 11 | Use 12 | ./autogen.sh && ./configure 13 | to build the Java code and the C++ libary. You must have SWIG in the 14 | search path and a JDK (for jni.h) in the search path. Make sure the 15 | generated library is in your library search path (like all other 16 | libosmscout libraries). 17 | 18 | Use 19 | mvn install 20 | to build the libsosmcout.jar and import it to your local maven repository. 21 | 22 | 23 | Java: 24 | a Java/Maven project with some partial examples that show how much 25 | works. 26 | -------------------------------------------------------------------------------- /webpage/content/documentation/download.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: "2023-03-27T08:16:58+01:00" 3 | title: "Download source" 4 | description: "Where to find the libosmscout sources" 5 | weight: 1 6 | 7 | menu: 8 | main: 9 | Parent: "documentation" 10 | Weight: 1 11 | --- 12 | 13 | ## Download 14 | 15 | There are currently no regular source snapshots in form of downloadable archives 16 | or versioned tarballs. You have to download the library sources and the demo 17 | applications manually by cloning the git repository and build everything yourself. 18 | The sources use CMake or Meson to set up the build. 19 | 20 | You can browse the repository at [GitHub](https://github.com/Framstag/libosmscout). 21 | 22 | To clone the repository use 23 | 24 | ```bash 25 | git clone https://github.com/Framstag/libosmscout.git 26 | ``` 27 | 28 | See [Building]({{< relref "/documentation/source.md" >}}) for details on how to 29 | build the library after downloading its sources. 30 | 31 | -------------------------------------------------------------------------------- /OSMScout2/pics/routestep/leave-motorway.svg: -------------------------------------------------------------------------------- 1 | 2 | direction 3 | 4 | 5 | -------------------------------------------------------------------------------- /OSMScout2/pics/routestep/leave-motorway-right.svg: -------------------------------------------------------------------------------- 1 | 2 | direction 3 | 4 | 5 | -------------------------------------------------------------------------------- /libosmscout-map-iosx/meson.build: -------------------------------------------------------------------------------- 1 | subdir('include') 2 | subdir('include/osmscoutmapiosx/private') 3 | subdir('src') 4 | 5 | osmscoutmapiosx = library('osmscout_map_iosx', 6 | osmscoutmapiosxSrc, 7 | include_directories: [osmscoutmapiosxIncDir, osmscoutmapIncDir, osmscoutIncDir], 8 | dependencies: [mathDep, 9 | threadDep, 10 | foundationDep, 11 | coreGraphicsDep, 12 | coreTextDep, 13 | cocoaDep, 14 | appKitDep], 15 | link_with: [osmscoutmap, osmscout], 16 | version: libraryVersion, 17 | install: true) 18 | 19 | pkg = import('pkgconfig') 20 | pkg.generate(osmscoutmapiosx) 21 | -------------------------------------------------------------------------------- /Tests/src/ColorParseTest.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include 4 | 5 | #include 6 | 7 | struct TestData 8 | { 9 | std::string colorString; 10 | osmscout::Color value; 11 | }; 12 | 13 | static std::vector testData = { 14 | {"#000000", osmscout::Color::BLACK}, 15 | {"#ffffff", osmscout::Color::WHITE}, 16 | {"#ff0000",osmscout::Color::RED}, 17 | {"#00ff00",osmscout::Color::GREEN}, 18 | {"#0000ff",osmscout::Color::BLUE} 19 | }; 20 | 21 | TEST_CASE("Parsing of #XXXXXX syntax") { 22 | for (const auto& test : testData) { 23 | SECTION("Conversion of "+test.colorString) { 24 | std::string colorString=test.colorString; 25 | osmscout::Color parsedColor=osmscout::Color::FromHexString(colorString); 26 | 27 | std::string printedColor=parsedColor.ToHexString(); 28 | 29 | REQUIRE(colorString==printedColor); 30 | REQUIRE(parsedColor==test.value); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /libosmscout-map-qt/libosmscout-map-qt.pro: -------------------------------------------------------------------------------- 1 | QT += quick opengl 2 | 3 | TARGET = osmscout-map-qt 4 | TEMPLATE = lib 5 | CONFIG += staticlib 6 | INCLUDEPATH += include ../libosmscout-map/include ../libosmscout/include 7 | 8 | SOURCES += \ 9 | src/osmscout/MapPainterQt.cpp \ 10 | src/osmscout/LabelPath.cpp 11 | 12 | HEADERS += \ 13 | include/osmscout/MapPainterQt.h \ 14 | include/osmscout/MapQtFeatures.h \ 15 | include/osmscout/LabelPath.h \ 16 | include/osmscout/private/Config.h \ 17 | include/osmscout/private/MapQtImportExport.h 18 | 19 | macx { 20 | QMAKE_CXXFLAGS = -mmacosx-version-min=10.7 -std=gnu0x -stdlib=libc++ 21 | CONFIG +=c++11 22 | } 23 | 24 | unix { 25 | target.path = /usr/lib 26 | INSTALLS += target 27 | } 28 | 29 | windows { 30 | DEFINES += WIN32 OSMScoutMapQt_EXPORTS DLL_EXPORT 31 | CONFIG(debug, debug|release): DESTDIR = ../windows/Debug 32 | CONFIG(release, debug|release): DESTDIR = ../windows/Release 33 | } 34 | -------------------------------------------------------------------------------- /webpage/content/documentation/docker.md: -------------------------------------------------------------------------------- 1 | --- 2 | date: "2016-05-29T19:40:58+02:00" 3 | title: "Docker images" 4 | description: "How to download and build libosmscout" 5 | weight: 5 6 | 7 | menu: 8 | main: 9 | Parent: "documentation" 10 | Weight: 5 11 | --- 12 | 13 | You can find a number docker files for building libosmscout under a number 14 | of common Linux distributions under *ci/docker/*. These docker images just 15 | install the required packages, download the code and build it. There are 16 | currently vaiants for building the source using autoconf and using cmake. 17 | 18 | The images have two purposes: 19 | 20 | * Enable the development team to quickly check, if the code builds 21 | * Define the required packages and build steps to get the code runnung 22 | under a given distribution and build system. 23 | 24 | Currently not all docker images actually build the library completely, 25 | because of problems with packages, autoconf not detectig things.. 26 | 27 | 28 | -------------------------------------------------------------------------------- /OSMScout2/qml/custom/MapButton.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.7 2 | import QtQuick.Controls 2.7 3 | import QtQuick.Layouts 1.1 4 | import QtGraphicalEffects 1.0 5 | 6 | import net.sf.libosmscout.map 1.0 7 | 8 | Button { 9 | id: mapButton 10 | 11 | display: AbstractButton.TextOnly 12 | 13 | font.pixelSize: Theme.mapButtonFontSize 14 | //font: mapButtonLabel.font 15 | 16 | background: Rectangle { 17 | opacity: 0.3 18 | border.color: "black" 19 | border.width: 1 20 | color: parent.checked ? "red" : 21 | (parent.down ? "#555555" : 22 | (parent.hovered ? "#aaaaaa" : "white")) 23 | } 24 | 25 | Layout.fillWidth: true 26 | Layout.fillHeight: true 27 | Layout.preferredWidth: Theme.mapButtonHeight 28 | Layout.preferredHeight: Theme.mapButtonHeight 29 | 30 | scale: down ? 1.2 : 1.0 31 | 32 | Behavior on scale { 33 | NumberAnimation { 34 | duration: 55 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /StyleEditor/qml_515/custom/DialogAction.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | import QtQuick.Controls 2.2 3 | 4 | DialogBase { 5 | id: dialog 6 | 7 | property string actionName: qsTr("Ok") 8 | 9 | // note: connect the signal reply(bool) to process the response 10 | signal reply(bool accepted) 11 | 12 | onAccepted: reply(true) 13 | 14 | onRejected: reply(false) 15 | 16 | footer: Row { 17 | leftPadding: units.gu(1) 18 | rightPadding: units.gu(1) 19 | bottomPadding: units.gu(1) 20 | spacing: units.gu(1) 21 | layoutDirection: Qt.RightToLeft 22 | 23 | Button { 24 | flat: true 25 | text: actionName 26 | onClicked: { 27 | dialog.accept(); 28 | } 29 | } 30 | Button { 31 | flat: true 32 | text: qsTr("Cancel") 33 | onClicked: { 34 | dialog.reject(); 35 | } 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /StyleEditor/qml_640/custom/DialogAction.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | import QtQuick.Controls 2.2 3 | 4 | DialogBase { 5 | id: dialog 6 | 7 | property string actionName: qsTr("Ok") 8 | 9 | // note: connect the signal reply(bool) to process the response 10 | signal reply(bool accepted) 11 | 12 | onAccepted: reply(true) 13 | 14 | onRejected: reply(false) 15 | 16 | footer: Row { 17 | leftPadding: units.gu(1) 18 | rightPadding: units.gu(1) 19 | bottomPadding: units.gu(1) 20 | spacing: units.gu(1) 21 | layoutDirection: Qt.RightToLeft 22 | 23 | Button { 24 | flat: true 25 | text: actionName 26 | onClicked: { 27 | dialog.accept(); 28 | } 29 | } 30 | Button { 31 | flat: true 32 | text: qsTr("Cancel") 33 | onClicked: { 34 | dialog.reject(); 35 | } 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /libosmscout-import/include/osmscoutimport/meson.build: -------------------------------------------------------------------------------- 1 | importFeaturesCfg = configuration_data() 2 | importFeaturesCfg.set('OSMSCOUT_IMPORT_HAVE_PROTOBUF_SUPPORT',protobufDep.found() and protocCmd.found() and zlibDep.found(), description: '*osm.pbf files can be imported') 3 | importFeaturesCfg.set('OSMSCOUT_IMPORT_HAVE_XML_SUPPORT',xml2Dep.found(), description: '*.osm can be imported') 4 | importFeaturesCfg.set('OSMSCOUT_IMPORT_HAVE_LIB_MARISA',marisaDep.found(), description: 'libmarisa is available') 5 | importFeaturesCfg.set('OSMSCOUT_IMPORT_MESON_BUILD',true, description: 'we are building using meson') 6 | importFeaturesCfg.set('OSMSCOUT_DEBUG_COASTLINE',false, description: 'Extra debugging of coastline evaluation') 7 | importFeaturesCfg.set('OSMSCOUT_DEBUG_TILING',false, description: 'Extra debugging of water index tiling') 8 | 9 | configure_file(output: 'ImportFeatures.h', 10 | install_dir: 'include/osmscoutimport', 11 | configuration: importFeaturesCfg) 12 | 13 | -------------------------------------------------------------------------------- /ci/docker/ubuntu_24.04_gcc_meson_qt6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:noble 2 | 3 | # disable interactive functions 4 | ENV DEBIAN_FRONTEND noninteractive 5 | 6 | RUN apt-get update && apt-get install -y \ 7 | git make libtool pkg-config \ 8 | qmake6 libqt6svg6-dev libqt6core5compat6-dev qt6-declarative-dev qt6-positioning-dev qt6-tools-dev-tools \ 9 | qt6-l10n-tools qt6-tools-dev qt6-multimedia-dev \ 10 | libgl-dev \ 11 | locales \ 12 | meson ninja-build g++ \ 13 | catch2 \ 14 | && rm -rf /var/lib/apt/lists/* 15 | 16 | RUN locale-gen en_US.UTF-8 17 | ENV LANG en_US.utf8 18 | ENV QT_QPA_PLATFORM offscreen 19 | 20 | # RUN apt-get update && apt-get install -y \ 21 | # g++ \ 22 | # python3-pip \ 23 | # && rm -rf /var/lib/apt/lists/* 24 | # 25 | # RUN pip install meson ninja 26 | 27 | RUN mkdir /work 28 | 29 | COPY data/build.sh /work 30 | RUN chmod +x /work/build.sh 31 | 32 | WORKDIR /work 33 | CMD ./build.sh 34 | -------------------------------------------------------------------------------- /libosmscout/src/osmscout/OSMScoutTypes.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | This source is part of the libosmscout library 3 | Copyright (C) 2009 Tim Teulings 4 | 5 | This library is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU Lesser General Public 7 | License as published by the Free Software Foundation; either 8 | version 2.1 of the License, or (at your option) any later version. 9 | 10 | This library is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public 16 | License along with this library; if not, write to the Free Software 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | 20 | #include 21 | 22 | namespace osmscout {} 23 | --------------------------------------------------------------------------------