Re: [Ubuntu] ubuntugis-unstable: gdal_merge.py missing? [PYTHON]PATH to be set?
Update will be available in ~1h. Regards, Angelos On 10/28/21 6:07 PM, Angelos Tzotsos wrote: Thanks Bas, I will cherry-pick. Regards, Angelos On 10/28/21 1:42 PM, Sebastiaan Couwenberg wrote: 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 -- Angelos Tzotsos, PhD President Open Source Geospatial Foundation http://users.ntua.gr/tzotsos ___ UbuntuGIS mailing list Ubuntu@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/ubuntu http://trac.osgeo.org/ubuntugis/wiki
Re: [Ubuntu] ubuntugis-unstable: gdal_merge.py missing? [PYTHON]PATH to be set?
The upcoming switch to CMake in GDAL 3.4 Not yet :-) The initial CMake version will be for GDAL 3.5. -- http://www.spatialys.com My software is free, but my time generally not. ___ UbuntuGIS mailing list Ubuntu@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/ubuntu http://trac.osgeo.org/ubuntugis/wiki
Re: [Ubuntu] ubuntugis-unstable: gdal_merge.py missing? [PYTHON]PATH to be set?
On 10/29/21 12:18, Martin Weis wrote: Am 28.10.21 um 12:42 schrieb Sebastiaan Couwenberg: 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. WOW - thank you so much for the immediate response and fix! This will need to be cherry-picked for the UbuntuGIS packages if they won't switch to 3.3.3 soon. Is there any issue to be opened, or anything else I could help with? Angelos will include the change in the package for UbuntuGIS is mentioned on this list: https://lists.osgeo.org/pipermail/ubuntu/2021-October/001989.html Most important thing is solved (code, tech), now some processes may need some investments? About the only thing that could have prevented this issue is having more people review gdal packaging changes. The upcoming switch to CMake in GDAL 3.4 is a good time to re-evaluate much of the custom packaging rules and whether to keep that or rely on the buildsystem to do the right thing. A lot of these customizations stem from having to build gdal for more than only Python version. Now that python2 is EOL, we could decide to only support a single one like was done for mapserver. That way there may not be any need for buildsystem hacks, reducing the risk of bugs like this one. Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1 ___ UbuntuGIS mailing list Ubuntu@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/ubuntu http://trac.osgeo.org/ubuntugis/wiki
Re: [Ubuntu] ubuntugis-unstable: gdal_merge.py missing? [PYTHON]PATH to be set?
Thanks Bas, I will cherry-pick. Regards, Angelos On 10/28/21 1:42 PM, Sebastiaan Couwenberg wrote: 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 -- Angelos Tzotsos, PhD President Open Source Geospatial Foundation http://users.ntua.gr/tzotsos ___ UbuntuGIS mailing list Ubuntu@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/ubuntu http://trac.osgeo.org/ubuntugis/wiki
Re: [Ubuntu] ubuntugis-unstable: gdal_merge.py missing? [PYTHON]PATH to be set?
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 ___ UbuntuGIS mailing list Ubuntu@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/ubuntu http://trac.osgeo.org/ubuntugis/wiki