Nicetrack

From BITPlan Wiki
Revision as of 07:07, 19 August 2023 by Wf (talk | contribs) (→‎Links)
Jump to navigation Jump to search

OsProject

OsProject
edit
id  nicesrt
state  active
owner  WolfgangFahl
title  nicesrt
url  https://github.com/WolfgangFahl/nicesrt
version  0.0.7
description  Nice Subtitle Telemetry handling
date  2023-08-18
since  2023-08-16
until  


Installation

pip install nicesrt
# alternatively if your pip is not a python3 pip
pip3 install nicesrt 
# local install from source directory of nicesrt 
pip install .

upgrade

pip install nicesrt  -U
# alternatively if your pip is not a python3 pip
pip3 install nicesrt -U


Motivation

  • DJI Drone videos may be accompanied by SRT files see https://en.wikipedia.org/wiki/SubRip
  • These SRT files may contain flight telemetry data
  • This module supports analyzing and displaying this telemetry data

Links

Libraries

There are several Python libraries and tools available that can help you convert between GPX, KML, GeoJSON, and SRT formats:

  • gpxpy: This is a library to parse and manipulate GPX files. Once parsed, you can easily convert the data to other formats.
 * GitHub Repository
  • fastkml: This is a library to handle KML files. It can help you parse and create KML files, which you can then convert to/from other formats.
 * GitHub Repository
  • geopy: While geopy is more known for its geocoding functionalities, it can also help in some geospatial manipulations which can be useful when converting between formats.
 * GitHub Repository
  • geojson: This library helps with the creation and parsing of GeoJSON files.
 * GitHub Repository
  • gpsbabel: This isn't a Python library, but it's worth mentioning. GPSBabel is a command-line tool that's great for converting between a myriad of GPS data formats, including GPX, KML, and many others.
 * Official Website
  • pySRT: If you want to convert geo-data to SRT (subtitle files) for some reason, you'd likely need to write custom functionality. SRT is a format for subtitle tracks, so it doesn't inherently have geographic significance. However, if you have a specific use-case in mind (e.g., geotagged video annotations), you can use the pySRT library for SRT manipulations.
 * GitHub Repository

Here's a basic approach if you'd like to convert between these formats: