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
-
Install python if you don't already have it (https://www.python.org/downloads/)
-
Open a terminal or command prompt and navigate the the folder where the project is saved.
-
Create a virtual environment:
python -m venv srtvenv
- Activate the virutal environment
\srtvenv\Scripts\activate
- Make sure you have the latest version of PyPA’s build installed:
python -m pip install --upgrade build
- Build the project:
python -m build
- Install the project wheel
pip install .\dist\srt2shp-0.0.1-py3-none-any.whl
Run the Script
-
Place the SRT files you would like to process in the directory where the srt2shp.py file is saved.
-
Run the srtConvert.py script:
python srtConvert.py
- Files will be saved in the "Converted Files" folder where the script was executed.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34ebb2b8a96a478010b167bf067bfc22992f9c1437afb0cc717c07dc0004ffde |
|
MD5 | 2eea6f400b83bd0baebcc97695471395 |
|
BLAKE2b-256 | e99df03f327380a81493d548bebe2646f6b784200c413f7861fc1ad68393d842 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f159a26802453318589eee143bfbb5945dae849684d33d676fbbc7a892d407ab |
|
MD5 | 3647260a124c09c9267b71e61f644352 |
|
BLAKE2b-256 | 5214685ad4fed92c9ce66d33d5e9313f0b01dc307e6dff1bd91913de0e3fd82b |