Skip to content

Instantly share code, notes, and snippets.

@ThomasG77
Created June 28, 2021 11:28
Show Gist options
  • Save ThomasG77/c32a8597373bd00c10029d4f21f2400e to your computer and use it in GitHub Desktop.
Save ThomasG77/c32a8597373bd00c10029d4f21f2400e to your computer and use it in GitHub Desktop.
python3 -m pip install gdal-utils
path_to_samples=$(python3 -c "import os;import osgeo_utils;dir_path = os.path.dirname(os.path.realpath(osgeo_utils.__file__));print(os.path.join(dir_path, 'samples'))")
chmod +x $path_to_samples/*.py
export PATH=$path_to_samples:$PATH
ogr2vrt.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment