Skip to main content

Parses SRT files produced by DJI drones when recording video. Converts data into an excel spreadsheet and ESRI shapefiles (Points and Lines).

Project description

srt2shp

Parses multiple SRT files produced by DJI drones when recording video. Converts data into an excel spreadsheet and ESRI shapefiles (Points and Lines).

A demo.srt file is included for testing.

Build from Source

  1. Install python if you don't already have it (https://www.python.org/downloads/)

  2. Open a terminal or command prompt and navigate the the folder where the project is saved.

  3. Create a virtual environment:

python -m venv srtvenv
  1. Activate the virutal environment
\srtvenv\Scripts\activate
  1. Make sure you have the latest version of PyPA’s build installed:
python -m pip install --upgrade build
  1. Build the project:
python -m build
  1. Install the project wheel
pip install .\dist\srt2shp-0.0.1-py3-none-any.whl

Run the Script

  1. Place the SRT files you would like to process in the directory where the srt2shp.py file is saved.

  2. Run the srtConvert.py script:

python srtConvert.py
  1. Files will be saved in the "Converted Files" folder where the script was executed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

srt2shp-0.0.1.tar.gz (33.1 kB view details)

Uploaded Source

Built Distribution

srt2shp-0.0.1-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

Details for the file srt2shp-0.0.1.tar.gz.

File metadata

  • Download URL: srt2shp-0.0.1.tar.gz
  • Upload date:
  • Size: 33.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for srt2shp-0.0.1.tar.gz
Algorithm Hash digest
SHA256 34ebb2b8a96a478010b167bf067bfc22992f9c1437afb0cc717c07dc0004ffde
MD5 2eea6f400b83bd0baebcc97695471395
BLAKE2b-256 e99df03f327380a81493d548bebe2646f6b784200c413f7861fc1ad68393d842

See more details on using hashes here.

File details

Details for the file srt2shp-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: srt2shp-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 29.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for srt2shp-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f159a26802453318589eee143bfbb5945dae849684d33d676fbbc7a892d407ab
MD5 3647260a124c09c9267b71e61f644352
BLAKE2b-256 5214685ad4fed92c9ce66d33d5e9313f0b01dc307e6dff1bd91913de0e3fd82b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page