Browse Source

update redame

master
Andreas Demmelbauer 3 years ago
parent
commit
07feae7eb2
1 changed files with 9 additions and 3 deletions
  1. +9
    -3
      README.md

+ 9
- 3
README.md View File

@@ -24,13 +24,14 @@ The process has three steps:
``` ```
python3 gis-svg-stitcher.py relative_path/to/the/image_files --scale=15 --base_rotation=115 --rotation_corr_left=28 python3 gis-svg-stitcher.py relative_path/to/the/image_files --scale=15 --base_rotation=115 --rotation_corr_left=28
``` ```
It produces a file called `map.svg`
It produces a file called `map.svg` next to the original tiles.


* `convert-svg-to-geotiff.py` for converting the (edited) SVG canvas * `convert-svg-to-geotiff.py` for converting the (edited) SVG canvas
Example usage: Example usage:
``` ```
python3 convert-svg-to-geotiff.py relative_path/to/the/image_files/map.svg output.tiff python3 convert-svg-to-geotiff.py relative_path/to/the/image_files/map.svg output.tiff
``` ```
It produces the output file, but also some temporary files, which can be deleted manually afterwards. The (likely) hundrets of generated png tiles insnde the "thermalpng" directory may take some disk space (around 0.5 MB per tile).




### Requirements ### Requirements
@@ -38,10 +39,11 @@ The process has three steps:
* python3 + pip * python3 + pip
* inkscape * inkscape
* firefox * firefox
* git


### Installation ### Installation


Install Python3, Inkscape and Firefox.
Install Python3, Inkscape, Firefox and git.


Then clone repo and install script dependencies: Then clone repo and install script dependencies:
``` ```
@@ -50,9 +52,13 @@ cd deep-crop
pip3 install -r requirements.txt pip3 install -r requirements.txt
``` ```


It's recommended to use a virtualEnv if the host is also used for other python jobs.

### How to use ### How to use


Use the scripts. Use the `--help` flag for more information:
You should be able to run commands on the command line.

Use the `--help` flag for more information about how to use the scripts:


``` ```
python3 gis-svg-stitcher.py --help python3 gis-svg-stitcher.py --help


Loading…
Cancel
Save