Everyone knows the QGIS Plugin Repo but have you had a look at the QGIS Hub yet?

It’s similar to the plugin repository in that it allows sharing of resources between community members, but it so many different types of resources, that warrants multiple blog posts: from styles and projects all the way to processing scripts.

Today, I want to have a look at the (a little cryptic) QLR option.
The QGIS Layer Definition (QLR) format makes it possible to share “complete” QGIS layers with other QGIS users. QLR files contain links to the data sources and all the QGIS style information necessary to style the layer.

To test the features, I uploaded QLRs for the two BEV basemap COGs I first wrote about a few weeks ago.

The cool thing about sharing the COGs like this is that: 1. users don’t have to mess with the COG URLs and 2. the QLR stores styling information such as the recommended raster resampling settings which were previously only available in the dataset documentation.
To use the resources from the hub in QGIS, you’ll want to install the QGIS Hub plugin:

Once installed, this plugin will show you all the resources published on the hub:

As you can see, we are only just starting out and there are not many QLRs uploaded yet.
So I’d like to encourage you join our efforts and share, for example, your national basemap layer definition files with the QGIS community.
It’s never been so easy.
To create a QLR, just right-click a layer in QGIS and go to Export | Save as Layer Definition File.
To share a QLR, head to hub.qgis.org, log in, and upload.
And there is good news regarding logins: besides the good old OSGeo account, you can now use third party accounts from Github or Google (I think more options are to come) to log into the hub:

Big thanks to the QGIS infrastructure team who have been working on this feature during the contributor meeting last week!























