More

Workarounds for heatmap plugin in QGIS?


In QGIS 2.8, the heatmap plugin got CRS broken. I updated to 2.10, now in the plugin the dialog is broken: it does not let you choose the format.

I render layers for atlases with heatmap style. But I need to export it to GeoTIFF, and I don't see a way to do this.

Updating the QGIS is not easy in Ubuntu, since it works normally when installed from a PPA, but installing from sources, or downloading debs is very painful.

Is there a workaround?

A command line example will do too.

edit here's a screenshot. The format list is empty, and if I write file extension manually as I did here, it still does not allow, showing a message that format is not chosen.

Meanwhile in another dialog, format choice works correctly:

Versions:


I am running QGIS 2.10 on Linux Mint 17.2 (based on trusty), and in the Heatmap plugin the available formats dropdown is not empty, so your problem is not a general problem with QGIS running on LM/Ubuntu. I'm not sure how to reproduce this problem.

However, you suggest that the issue arose after an update to 2.10. It occurs to me that a significant amount of QGIS functionality (esp. for plugins) is dependent uponpython-qgis. This could explain the difference between Heatmap (plugin) and Raster Calculator (which I believe is core), so I would check that you havepython-qgisthat installed with

apt-cache policy python-qgis

and install it if it is missing.

Another concern is that you say that you updated to 2.10 from the ubuntugis-unstable PPA. However, as far as I can tell, ubuntugis-unstable only goes up to version 2.8. Not sure why this would lead to incomplete functionality. Maybe you have QGIS 2.10 butpython-qgis2.8? The discrepancy does imply that you may not have installed from the repository that you intended.

If you are running Ubuntu Trusty, I would recommend installing 2.10 from the QGIS repository, but begin by purging your current installation:

sudo apt-get purge qgis python-qgis

Then add the following lines to/etc/apt/sources.list:

deb http://qgis.org/ubuntugis trusty main deb-src http://qgis.org/ubuntugis trusty main

Note: although you can edit/etc/apt/sources.listdirectly, in practice I prefer to use the Software Sources tool (available standalone or from the Synaptic menu) to add new repository source lines.

After doing that, update and reinstallqgisandpython-qgispackages via Synaptic or:

sudo apt-get update sudo apt-get install qgis python-qgis qgis-plugin-grass

These instructions taken from http://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu. I can also confirm that they work, as that is how I got QGIS 2.10 installed on LM 17.2. This is also the instructions for the version designed to work with ubuntugis dependencies, and requires the use of the ubuntugis-unstable PPA, which you are already using. But if you are using a more recent Ubuntu release than Trusty, you have to pick the appropriate version, and not use ubuntugis dependencies. Check the link for further instructions.


Watch the video: How To Add Raster and Vector in QGIS Zanzibar (September 2021).