📗
Everyday Cheat Sheets
  • README
  • Build
    • Architecture
      • API Management
        • Kong
      • Authentication
        • Keycloak
        • Okta
      • Cloud Native
      • Design Patterns
      • Design Principles
      • IaC
      • IoT
      • Message Broker
      • Methods
      • Networking
      • Payment
        • Stripe
      • Testing
    • Code lifecycle (ALM)
      • Automation Pipelines
        • Argo CD
        • CircleCI
        • Flux
        • Keptn
        • Travis
      • Azure DevOps
        • Azure Pipelines
      • Chef
      • GitHub
        • GitHub Actions
      • Nexus
      • Promyze
      • RunDeck
      • SaltStack
      • Sonar
      • Tuleap
    • Containers & Cloud Native
      • Argo Workflows
      • Containerization
        • Docker
          • Docker CLI
        • containerd
        • cri-o
      • CNAB
      • Dapr
      • Envoy
      • Fluentd
      • Knative
      • Kubernetes
        • Cluster API
        • etcd
        • Helm
        • k3d
        • kind
        • Kubectl
        • MetalLB
        • Minikube
      • Open Application Model (OAM)
      • Unleash
    • Data storage
      • MySQL
      • MongoDB
        • Atlas
        • Compass
        • Evergreen
        • MongoDB 4.2
        • MongoDB 5.0
        • MongoDB design
        • MongoDB events
        • MongoDB driver for .NET
        • Ops Manager
        • Realm
      • Oracle
      • Redis
      • SQL Server
      • PostgreSQL
    • Frameworks & libraries
      • Angular
        • Angular CLI
        • Angular events
      • .NET
        • ASP.NET Core
        • Blazor
        • .NET 5.0
        • .NET 6.0
        • .NET CLI
        • .NET Core
        • .NET Events
        • .NET Logging
        • .NET Testing
        • NuGet
        • WPF
        • Xamarin
      • gRPC
      • Ionic
      • Jekyll
      • Node.js
        • Express
        • NPM
      • React
        • React Native
      • Redux
    • IDE
      • Visual Studio 2022
    • Languages
      • C#
        • C# 8.0
      • ECMAScript
      • GraphQL
      • JavaScript
        • webpack
        • Yarn
      • MS-DOS
      • PHP
      • PowerShell
      • Python
      • Swagger
      • TypeScript
    • Messaging
      • Azure Service Bus
      • RabbitMQ
    • Testing
    • Workstation
      • QGIS
      • Visual Studio 2019
      • Windows 10
      • Windows Subsystem for Linux
  • Collaborate
    • Marp
    • Microsoft 365
      • Microsoft Graph
      • SharePoint Framework
        • Fluent UI
        • SharePoint Framework UI components
  • Run
    • Cloud computing
      • Alibaba
      • AWS
      • Azure
        • Azure AD
        • Azure CLI
        • Azure Container Registry
        • Azure Portal
        • Azure Service Bus
      • Firebase
      • OVH
    • Hardware
      • Single-board computers
        • Odroid
        • Raspberry Pi
    • Infrastructure automation
      • Azure Resource Manager
      • Packer
      • Pulumi
      • Puppet
      • Terraform
        • HCL
        • Terraform CLI
        • Terraform Providers
    • Networking
      • HAProxy
      • nginx
    • Observability
      • Grafana Labs
        • Grafana
        • Loki
        • Tempo
      • OpenTelemetry
      • Prometheus
      • Splunk
    • Security
      • Falco
    • Systems
      • Linux
        • CentOS
        • eBPF
        • Linux Kernel
        • Rocky
        • Ubuntu
      • Windows Server
    • Virtualization
      • Hyper-V
      • Vagrant
  • Optimize
    • DevOps
  • Join
    • Companies
      • HashiCorp
Powered by GitBook
On this page
  • Documentation
  • Plugins
  • How-to create a QGIS plugin
  • QGIS in Docker
  • How-to run QGIS container on Windows 10

Was this helpful?

Export as PDF
  1. Build
  2. Workstation

QGIS

PreviousWorkstationNextVisual Studio 2019

Last updated 3 years ago

Was this helpful?

QGIS is a professional GIS application that is built on top of and proud to be itself Free and Open Source Software (FOSS)

→

Documentation

  • Main: ,

Plugins

Visit .

Name

Details

OGR2Layers

QuickMapServices

Qgis2threejs

mmqgis

Plugin reloader

Plugin builder

How-to create a QGIS plugin

  • Reference

  • Steps

    • Install QGIS plugins (extensions): Plugin Builder, Plugin Reloader (experimental)

    • Look at C:\Users\username\.qgis2\python\plugins, this is where plugins are loaded

    • Edit the file C:\Program Files\QGIS 2.18\bin\o4w_env.bat and add C:\Qt\Qt5.10.1\Tools\mingw530_32\bin to SET PATH commmand line, then open a dos window.

    • Install MinGW

    cd C:\Qt\Qt5.10.1\Tools\mingw530_32\bin
    copy mingw32-make.exe make.exe
    • In Windows, search for "OSGeo4W Shell", open the application.

    cd C:\Users\bertrand.thomas\.qgis2\python\plugins\MyPluginName
    make
    REM pyrcc4 -o resources.py  resources.qrc
    • Think about reload the plugin repository when the plugin directory is directly updated!

QGIS in Docker

How-to run QGIS container on Windows 10

  • Create a docker-compose.yml file:

    db:
      image: kartoza/postgis:latest
      environment:
        - USERNAME=docker
        - PASS=docker
    
    qgisdesktop:
      image: kartoza/qgis-desktop:latest
      hostname: qgis-server
      volumes:
        # Wherever you want to mount your data from
        # TODO
        # Unix socket for X11
        - C:\Users\bertrand.thomas\.X11-unix:/tmp/.X11-unix
      links:
        - db:db
      environment:
        - DISPLAY=192.168.1.48:0
      command: qgis
  • Edit C:\Program Files (x86)\Xming\X0.hosts to add the IP address (192.168.1.48)

  • Execute from the command line (in the directory where the docker-compose file has been created):

    docker-compose up
  • From QGIS you can add PostgreSQL DB access, you'll need to get the DB IP address

    docker inspect kartoza_db_1

It works!

References:

TODO:

  • Update docker compose file to

    • Fix QGIS version 2.18.17

    • Fix PostgreSQL version 9.6.7

    • Install Python (2.7)

    • Fix file errors in the console (missing mapping)

,

,

Download (doesn't work... seems not needed), ()

First you need to install an X server, XMingin our case (download from .

qgis.org
en
fr
Demo
The graphical modeler
QGIS plugins web portal
QGIS Coding Standards
Developing Python Plugins
Building a Python Plugin
osgeo4w
QtCreator
offline-installer
sourceforge.net
github kartoza/docker-qgis-desktop
wiki osgeo DockerImages
github
github
qgis2threejs.readthedocs.io
examples
plugins.qgis.org
github
github
github