Gitpod workspace with Ubuntu GDAL How to open a Gitpod<https://gitpod.io> machine with the version of GDAL in the Ubuntu software library.
1. Point browser at https://gitpod.io/#https://github.com/OSGeo/gdal 2. Login with Github credentials 3. In a couple of minutes the gitpod linux machine will be fired up and ready to use with Visual Studio Code open. There might be a cmake error, ignore it for now. 4. In the Terminal window install gdal (and whatever else you need). # install gdal binaries, and git sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable sudo apt-get update sudo apt-get install gdal-bin libgdal-dev # verify gdal working gdalinfo --version # install gdal-utilties python -m pip install swig/python/gdal-utils # test gdal-utils working gdal_edit Optional: run tests to verify what parts of gdal are working # Prep python -m pip install -r requirements.txt # Ensure gdal source code tree and the installed gdal binaries are the same version git checkout v`gdal-config --version` # and that python bindings match also python -c "from osgeo import gdal;print(gdal.__version__)" # Test only python utilities: pytest pyscripts/ # All tests: pytest Pytest not found? Use python -m pytest instead. In next opening of bash shell it will work. Result of investigation in https://github.com/OSGeo/gdal/issues/5442 Matt Wilkie Geomatics Developer & Administrator Environment | Technology, Innovation and Mapping T 867-667-8133 | Yukon.ca<http://yukon.ca/> Hours: 08:30-16:30, Mon-Wed: Office, Thu: Remote, Fri: Away.
_______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
