Blog

Here I post my thoughts, QGIS tips and tricks, updates on my QGIS-related work, etc.

Multithreaded rendering in QGIS

23.02.2014 17:49 ·  GIS  ·  qgis

At last! QGIS has finally got support for multithreaded rendering, the corresponding changes were merged into master by Martin Dobias just an hour ago. This is basically a revival of the 2010 GSoC project “QGIS on steroids” (successfully completed, but never merged into master), taking into account the latest changes to the QGIS codebase.

By default, multithreaded rendering is disabled, one can enable it in the QGIS settings “Settings → Options → Rendering → Render layers in parallel using all available CPU cores”. It is also possible to set canvas refresh interval during rendering (0 means real-time updates).

The work was done with the financial support from Lutra Consulting and Swiss QGIS User group.

QGIS 2.2 "Valmiera"

22.02.2014 12:37 ·  GIS  ·  qgis, release

As previously announced, QGIS has moved to a fixed 4-month release cycle. And now the first release on the new schedule has taken place.

This release focuses on bug fixes and performance improvements. Much effort has been put into developing and improving the Print Composer, making it even easier to create printed maps.

The full changelog can be found here. A visual changelog is also available. The most interesting and important changes are listed below:

QGIS hackfest 2013 (Brighton)

26.09.2013 14:39 ·  GIS  ·  qgis, meetings

The 10th QGIS developer meeting in Brighton (UK) has come to an end. This meeting was the most attended ever. This can be explained by the growing popularity of QGIS and the fact that the hackfest was held just before the FOSS4G conference.

The first day was almost unremarkable, with participants gradually arriving at the University of Sussex, newcomers getting to know each other — in short, an ordinary day before the hackfest itself. Among the notable changes to the code during the day:

Meanwhile, at Gatwick Airport, Victor Olaya is starting a complete refactoring of the Processing framework…

The QGIS developers are not superstitious people, and Friday the 13th did not affect their work in any way. The list of commits is impressive:

There were also several discussions, starting with Richard talking about the new website. This was followed by discussions about refactoring the vector API, support for attribute domains, the possibility of using QML (especially in QGIS Android), the architecture and further development of the Processing framework.

On Saturday, Victor pushed to master the first set of refactoring commits

It’s starting to get fun… now nothing works :-)

Despite the refactoring, the framework continues to grow in functionality: 5 new algorithms have been added, and a few old ones have been improved. The Python console gets support for custom colour schemes (aesthetes will be pleased). There were also several discussions: a unified configuration dialogue, 3D support (Globe plugin, PostGIS, etc.), plugin manager and repository, further development of the WMS client, QGIS Server, QGIS WebClient.

Sunday, the penultimate full day of the hackfest. Another series of discussions, this time on documentation, the abstraction layer for databases, and attribute/geometry indexing. Quite a few commits were also made:

Photos from the hackfest and visualisation of developers activity.

QGIS 2.0 "Dufour"

21.09.2013 12:55 ·  GIS  ·  qgis, release

More than a year has passed since the release of QGIS 1.8.0. And now, after many months of waiting and several postponements of the release date, QGIS 2.0 “Dufour” is officially announced. This release can be seen as the beginning of a new phase in the life of the project.

So the project is now officially called QGIS. The word “Quantum” in the name never had much meaning, and having two names (Quantum GIS and QGIS) sometimes caused unnecessary confusion. Also, using a shorter and more generic name allows for consistent naming of all components: QGIS Desktop, QGIS Server, QGIS Browser, etc.

Along with the release of version 2.0, the official website has undergone a major overhaul. We hope that the new design will be more convenient and functional, making it easier to find the information you need.

Long-awaited news for Windows users - QGIS is now available in a 64-bit version (both as a standalone installer and via OSGeo4W). Note that *NIX and MacOS users have long been able to use 64-bit packages.

The full list of changes in this release is quite impressive, you can check it out here. The so-called visual changelog is also available. In this post I will only list the most interesting and/or noticeable changes, but there are quite a few of them.

We have made a lot of changes to the QGIS GUI to make it cleaner and easier to use:

QGIS 2.0 adds support for even more data sources and many data handling improvements, including:

Among other changes:

Cyclists

02.09.2013 15:56 ·  Notes  ·  life

I have been going to Khortytsia a lot lately. I get there on my own - it’s not as far and as long as it looks at first glance, and it keeps me in shape. As the new bridge is still under construction, I have to walk across the old one. However, the junction in front of the bridges has been partially built, and, in some places, even paved with asphalt. But there are no more crosswalks. Neither old nor new. And the only way to get to the Preobrazhensky Bridge is by breaking the traffic rules: crossing a four-lane road at any point.

Of course, you can still take the right side of Tyulenina Street (if you’re facing the island), but there is a pipe that takes up almost the entire footpath on a bridge. So you have to walk very close to it, stepping over the supports every 2–3 metres. I did it twice: trust me, you don’t want to walk on that side.

Another problem is narrow pavements and cyclists. I have nothing against the former or the latter. But when they are combined… In the whole time, I have seen only 2 (two!!!) cyclists obeying the traffic rules, even though they ride in droves in this area. And here you are walking on the pavement (the pavement, I remind you, is narrow, two people can pass each other, but not walk side by side), you don’t cause any trouble, and there it is… a cyclist on a boneshaker is coming towards you or overtaking you from behind. I don’t mind and step back from the pavement in the thicket and let him pass, I’m not a very important person after all. But WTF… is it fear of the road or something else?

New laptop

15.05.2013 09:01 ·  Notes  ·  laptop

Lately, I have been having to carry my laptop around a lot. And although I’m not that weak, carrying around all those kilos (the laptop itself + all the accessories) is a bit of a hassle, and I was starting to feel a lack of performance. I wanted something new, more compact, lighter, and preferably with a long-lasting battery.

I looked at ThinkPads and Dell’s Vostro range and ended up with the Lenovo ThinkPad x230. I am very happy with the laptop, it is exactly what I wanted: small, light, comfortable, and powerful. I quickly got used to the new island-style keyboard, although I sometimes hit Delete, which is now in the top right-hand corner, instead of Home or End. In the future, I will probably replace the current “classic” hard drive with an SSD and increase the memory.

Concert

22.04.2013 08:35 ·  Notes  ·  concert

Went to the Catholic cathedral on Friday for an organ recital (actually a duet — organ and cello). They played Bach, Paganini, Masne, Tchaikovsky and Rachmaninov. I liked it, and besides, I had never heard the organ live before. The cathedral was surprisingly full: both the main pews and the side chairs were occupied.

QGIS hackfest 2013 (Valmiera)

16.04.2013 12:54 ·  GIS  ·  qgis, meetings

The 9th QGIS developer meeting in Valmiera (Latvia) has come to an end.

Since the QGIS code is already frozen (with some caveats), almost all of the commits were aimed at fixing bugs, improving stability, and shaping the new API.

It’s a thankless task to list everyone by name, there are no idlers at hackfests. I’ll just go through the things that interest me personally (and that affect me to a greater or lesser extent):

In addition, all hackfest participants were very active in discussing a range of issues:

The next developer meeting is scheduled for September (earlier than usual) and will be held in Brighton, UK.

A Requiem for November

08.04.2013 07:57 ·  Notes  ·  books

It was a great pleasure to read this book by Dzvinka Matiyash. I recommend it, it’s a wonderful work, written emotionally and, in my opinion, poetically. Even if you don’t like Ukrainian, you should try to read it anyway.

In the meantime, I’ll start reading “Stories of Roses, Rain and Salt”.

QGIS User Guide translation

19.03.2013 12:34 ·  GIS  ·  qgis

I have finished translating the QGIS 1.8.0 User Guide into Russian. Online and PDF versions should be available tomorrow via links on the official website.