Andreas Demmelbauer f5fb9594c1 | 3 년 전 | |
---|---|---|
.gitignore | 3 년 전 | |
LICENCE | 3 년 전 | |
README.md | 3 년 전 | |
canvas.svg | 3 년 전 | |
convert-svg-to-geotiff.py | 3 년 전 | |
gis-svg-stitcher.py | 3 년 전 | |
requirements.txt | 3 년 전 |
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: