QGIS Geometry Generator examples repository

I use Geometry Generator a lot in QGIS. I promised in a tweet to make some of my use cases available online, therefore I made a repository with my examples on GitLab. A great introduction to QGIS Geometry Generator by Klas Karlsson can be found on Youtube: https://www.youtube.com/watch?v=0YxjJ-9zIJ0.

In the repository on GitLab you can find some Example Results, the QML-files and Sample Data to try the examples yourself. Continue reading “QGIS Geometry Generator examples repository”

Update: PluginLoadTimes 2.0.5 for QGIS

Recently I released a minor update for PluginLoadTimes for QGIS. You can download the most recent version of this plugin from within QGIS, because it is available in the official QGIS Plugin Repository.

If QGIS takes long to start, it is probably because some of the plugins you installed take a long time to load at startup. This plugin shows the latest load time of each plugin (QGIS startup, plugin installation,…). It does not give you information about the speed of plugins when they are used. With the information provided by this plugin you can easily decide which plugins to disable, to make QGIS start faster.

Continue reading “Update: PluginLoadTimes 2.0.5 for QGIS”

Copy WFS data to PostGIS using ogr2ogr (PART 1): installation of ogr2ogr

Sometimes a web service you use in your GIS application is offline and that results in a GIS application that doesn’t work as it should or doesn’t show the correct data. To avoid these problems you should have a local copy of the data of that web service. For a WFS service the data can be copied to a PostGIS database. This can be done using the command line utility ogr2ogr. This isn’t too hard but some people might be afraid to use the command line. So I wrote this guide about how to handle this from installation to automating the import procedure. Because this guide became pretty long I divided it up into 3 parts. Part 1 is about the installation of GDAL and ogr2ogr. Part 2 is about the use of ogr2ogr in a Windows batch file and part 3 is about automating the import procedure.

PART 1: installing GDAL and ogr2ogr

The utility ogr2ogr is part of the conversion library¬† GDAL and is used to convert simple vector data from one file format to another. Since version 2.0 ogr2ogr also supports PostGIS data. The advantage of GDAL is that it’s available for many different operating systems and distro’s and that commands work similar on these different systems.

Continue reading “Copy WFS data to PostGIS using ogr2ogr (PART 1): installation of ogr2ogr”