{"id":16987675,"url":"https://github.com/vitalych/gpsmap","last_synced_at":"2025-10-09T04:41:47.202Z","repository":{"id":249445307,"uuid":"282216502","full_name":"vitalych/gpsmap","owner":"vitalych","description":"A tool to create animated MP4 maps from GPX traces","archived":false,"fork":false,"pushed_at":"2022-07-03T22:02:27.000Z","size":2623,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-02T16:46:36.843Z","etag":null,"topics":["animated","distance","elevation","garmin","gps","gpx","map","mp4","segments","speed","synchronization","trace","track","trail","video"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vitalych.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-24T12:39:43.000Z","updated_at":"2025-04-06T11:12:06.000Z","dependencies_parsed_at":"2024-07-20T22:32:54.649Z","dependency_job_id":null,"html_url":"https://github.com/vitalych/gpsmap","commit_stats":null,"previous_names":["vitalych/gpsmap"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vitalych/gpsmap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalych%2Fgpsmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalych%2Fgpsmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalych%2Fgpsmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalych%2Fgpsmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vitalych","download_url":"https://codeload.github.com/vitalych/gpsmap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalych%2Fgpsmap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000706,"owners_count":26082921,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animated","distance","elevation","garmin","gps","gpx","map","mp4","segments","speed","synchronization","trace","track","trail","video"],"created_at":"2024-10-14T02:50:31.910Z","updated_at":"2025-10-09T04:41:47.164Z","avatar_url":"https://github.com/vitalych.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"GPS Map Generator\n=================\n\nThis tool takes a GPX file as input and produces MP4 videos of an animated map augmented with various statistics,\nlike speed, distance, or elevation. You can then take this video and overlay it on top of your action cam footage using\nyour favorite video editor.\n\nHere is how the map looks like:\n\n![Sample map](docs/sample1.png)\n\nHere is an example of a video that incorporates the generated map:\n\n[![Sample video](https://img.youtube.com/vi/WDFWlFc-p50/0.jpg)](https://www.youtube.com/watch?v=WDFWlFc-p50)\n\nThe video cycles through several maps at different zoom levels, showing a detailed map most of the time as well as\nseveral zoomed out ones in order to give an overview of the trip.\n\n\nBuilding\n========\n\nAssuming you have an Ubuntu installation, run the following commands:\n\n    $ sudo apt-get update\n    $ sudo apt-get install cmake clang libopenimageio-dev libcurl4-openssl-dev libboost-filesystem-dev libavcodec-dev \\\n        libavformat-dev libswscale-dev\n    $ git clone https://github.com/vitalych/gpsmap\n    $ mkdir gpsmap-build \u0026\u0026 cd gpsmap-build\n    $ cmake ../gpsmap\n    $ make\n\n\nHow to use\n==========\n\n    # If you have a Garmin device, you will have *.fit files instead of *.gpx. Convert them as follows:\n    $ gpsbabel -i garmin_fit -f trace.fit -o gpx -F trace.fit.gpx\n\n    # Create a directory that will store the downloaded map tiles from OpenStreetMap\n    $ TILESDIR=/path/to/tiles/dir\n    $ mkdir -p $TILESDIR\n\n    # Generate the map video\n    $ SRCDIR=/path/to/gpsmap/source\n    $ BUILDIR=/path/to/gpsmap-build\n    $ $BUILDIR/src/gps \\\n        -gpx /path/to/trace.fit.gpx \\\n        -rsrcdir $SRCDIR/rsrc \\\n        -tiles $TILESDIR \\\n        -outdir /path/to/video/out\n\nThe tool splits the GPX file into segments and generates one MP4 video for each of them. A new segment starts when the\nspeed drops to 0 km/h. This makes it much easier to spot uninteresting parts where you stopped and cut them out in your\nvideo editor.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitalych%2Fgpsmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitalych%2Fgpsmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitalych%2Fgpsmap/lists"}