Andreas Demmelbauer 1978fb1cac | hace 3 años | |
---|---|---|
.gitignore | hace 3 años | |
LICENCE | hace 3 años | |
README.md | hace 3 años | |
canvas.svg | hace 3 años | |
convert-svg-to-geotiff.py | hace 3 años | |
gis-svg-stitcher.py | hace 3 años | |
mask.svg | hace 3 años | |
requirements.txt | hace 3 años | |
thermal-image-extractor.py | hace 3 años |
There are a lot of bird-perspective greyscale FLIR-images made by a drone, which don’t get stitched well together automatically. But we have geo-coordinates as metadata.
It will be manual work, but maybe we can semi-automatize it.
The process has three steps:
The two python scripts:
gis-svg-stitcher.py
for putting the tiles onto an SVG canvas
Example usage:
python3 gis-svg-stitcher.py relative_path_to_the_imagefiles --scale=15 --base_rotation=115 --rotation_corr_left=28
It produces a file called map.svg
convert-svg-to-geotiff.py
for converting the (edited) SVG canvas
Example usage:
python3 convert-svg-to-geotiff.py relative_path_to_the_imagefiles/map.svg output.tiff
Install Python3, Inkscape and Firefox.
Then clone repo and install script dependencies:
git clone https://git.notice.at/redplanet/deep-crop.git
cd deep-crop
pip3 install -r requirements.txt
Use the scripts. Use the --help
flag for more information:
python3 gis-svg-stitcher.py --help
and
python3 convert-svg-to-geotiff.py --help
This work is licenced under GPLv3+.
However, the scripts are built upon libraries and programs with some different licences: