Skip to content

A little python script to merge overlapping geoTIFF tiles. Used for Hamburg's DOP20 aerial images.

Notifications You must be signed in to change notification settings

citysciencelab/merge-geotiff-tiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Merge tiles in subdirectories

  • test pip --version and python --version in cmd.exe or powershell.exe to make sure that Python and PIP are installed. Python version must be >=3.7
  • if PIP is not available using the pip command in the terminal, open install.bat and replace pip with the absolute path to PIP like "/Path/To/Pip.exe"
  • if Python is not available using the python command in the terminal, open merge.bat and replace python with the absolute path to PIP like "/Path/To/Python3.exe", or the python3 command respectively.
  • Run install.bat (by double-clicking) to install necessary libraries.
  • Run run.bat to scan and merge all relative subdirectories
    • you can test this using the provided test files in tiles (altona and eimsbuettel), delete or move them before merging the real tiles.
  • Relative path to scan and output folder can be changed using in the .env file
    • input path defaults to ./tiles
    • output path defaults to ./fhh_gesamt
  • All output and errpr logs will be written to log.txt

You can also run the python script directly from command line (Windows), using

python merge.py

About

A little python script to merge overlapping geoTIFF tiles. Used for Hamburg's DOP20 aerial images.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published