Skip to content

desertwolf7/qgis_headless

 
 

Repository files navigation

QGIS Headless Rendering

Headless rendering library using QGIS

Installation to Virtualenv

  1. Install dependecies:

    • libqgis-dev
    • qt5-image-formats-plugins (usually installed via dependencies)
    • build-essential
    • cmake
  2. Create virtualenv, activate it and install the package there:

    $ python3 -m venv env
    $ source env/bin/activate
    $ pip install --editable ./[tests]
    
  3. Run the tests:

    $ python -m pytest qgis_headless/test/
    

Running Python Tests in Docker

Ubuntu Bionic Beaver:

$ docker build -t qgis_headless:bionic -f Dockerfile.bionic .
$ docker run --rm qgis_headless:bionic ./pytest-runner

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 63.2%
  • QML 25.1%
  • CMake 6.5%
  • Python 4.1%
  • Scheme 1.0%
  • C 0.1%