[Ubuntu] ubuntugis-unstable: gdal_merge.py missing? [PYTHON]PATH to be set?

Sebastiaan Couwenberg sebastic at xs4all.nl
Thu Oct 28 03:42:19 PDT 2021


 From the migration guide:

"
     - "gdal/swig/python/scripts" moved to: 
"gdal/swig/python/gdal-utils/scripts"
"

See: https://github.com/OSGeo/gdal/blob/v3.3.2/gdal/MIGRATION_GUIDE.TXT

gdal_merge.py is one of those scripts:

  $ find . -name "*gdal_merge*"
  ./swig/python/gdal-utils/osgeo_utils/gdal_merge.py
  ./swig/python/gdal-utils/scripts/gdal_merge.py
  ./man/man1/gdal_merge.1

These are manually installed in d/rules, see:

 
https://salsa.debian.org/debian-gis-team/gdal/-/blob/debian/3.2.2+dfsg-2/debian/rules#L193

This was changed for 3.3, see:

 
https://salsa.debian.org/debian-gis-team/gdal/-/blob/debian/3.3.2+dfsg-2/debian/rules#L196

But that's incorrect, it should be: swig/python/gdal-utils/scripts/*.py

The fix was just pushed and will be included in the next 3.3.3 upload 
for Debian.

 
https://salsa.debian.org/debian-gis-team/gdal/-/commit/84b9edd2ccc8bd28a4098ce913981de321554cfa

This will need to be cherry-picked for the UbuntuGIS packages if they 
won't switch to 3.3.3 soon.

Kind Regards,

Bas

-- 
  GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1


More information about the Ubuntu mailing list