Coder Social home page Coder Social logo

gpx2kmz's Introduction

gpx to kmz

Convert gpx to kmz file. Also jpg files (.jpg) and movies (.mp4, .mov, .mts) will be included if present. The movies will be converted to animated gifs. The resulting kmz file can be used in google-earth.

Usage

on linux: (linux has long command lines so you can specify all files. Directories work also): 
./gpxexif --offset=7200 --output=test --height=450 --use-video test/gps/*gpx test/jpg/*.jpg test/video/*.mp4 on windows: (Windows has small command line so probably specify directories. You can also use files):
.\gpxexif --offset=7200 --output=test --height=450 --use-video --use-cache test/gps test/jpg test/video
On windows you probably want to use a cache. Reading jpeg/movie headers is slow because we have to execute jhead/exiftool on every file. On linux this is very fast because we use libexif.so. If you just want to convert gpx files to kmz file you can do:
./gpxexif --show-points=5 --output=test test/gps/*gpx
--show-points=5 will show label every 5 gpx points. Usage: ./gpx2kmz [options] Options: --offset=x gpx offset in seconds --output=x output directory name (default 'output') --show-points=x put gpx points in kmz file --width=x resized image width (default 0) --height=x resized image height (default 450) --video-width=x resized video width (default 320) --video-height=x resized video height (default 0) --kml-width=x resized kml video width (default 640) --kml-height=x resized kml video height (default 0) --framerate framerate animated gif in Hz. (default 3) --use-video use video files (animated gif) --use-jhead use jhead instead of exiftool --use-exiftool use exiftool instead of jhead --use-cache use cache --recursive read dirs recursive --fix-mp4=x fix mp4 time problem in seconds

Linux dependencies

The following libs are needed:

  • libexif.so
  • libexpat.so.1

The following tools are needed:

  • jhead
  • exiftool
  • ffmpeg
  • 7z
  • i686-w64-mingw32-gcc (compiling windows exe on linux)

The above libs/tools can probably be downloaded from your distribution.

Windows dependencies

The following tools are needed:

The gpx2kmz.exe file is included in the repository.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in gxp2kmz by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

gpx2kmz's People

Contributors

hermantb avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.