Hot answers tagged

58 votes
Accepted

Error adding qgis.org repository public key to apt keyring

Based on old notes, the following seems to work: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 51F523511C7028C3 -- Update -- As of August 2020: sudo apt-key adv --keyserver keyserver....
tinlyx's user avatar
  • 11k
35 votes
Accepted

Install QGIS 2.14 Essen on Ubuntu 16.04 Xenial

It looks like there actually is Xenial support in the debian repository and although I haven't tried the following solution myself I guess it is worth a try. Before trying the following I would ...
21 votes

I have not found shp2pgsql in postgis installation

I was also following the OP's installation method of PostgreSQL and PostGIS, namely sudo apt-get install postgresql-9.4-postgis-2.1 pgadmin3 postgresql-contrib-9.4 I enabled the PostGIS extension in ...
haff's user avatar
  • 666
21 votes
Accepted

QGIS fails to load

Got the same problem on Linux Mint and finally fixed it. The problem is that you've installed a few python libraries and one of them is a dependency of QGIS. QGIS ~2.18 works fine with Scipy 0.17, ...
dmh126's user avatar
  • 6,622
20 votes
Accepted

Installing QGIS 3.12.x on Ubuntu focal 20.04 architecture mismatch

You can specify the platform in your APT line with [ arch=amd64 ]: deb [ arch=amd64 ] https://qgis.org/ubuntu/ focal main Source : https://unix.stackexchange.com/questions/272908/apt-looking-for-...
etrimaille's user avatar
  • 7,040
15 votes

Repairing broken GDAL and PROJ.4 on Ubuntu?

In https://gis.stackexchange.com/questions/158457/gdal2tiles-how-to-make-filenames-of-tiles-to-represent-xyz-coordinates, somebody mentions doing: sudo ln -s /usr/lib/libproj.so.0 /usr/lib/libproj.so ...
Akhorus's user avatar
  • 381
15 votes
Accepted

gdal2tiles.py gives ERROR 6 about EPSG:900913 on fresh Ubuntu 14.04 install

Going from what @user30184 said in the comment. This issue is that the gdal2tiles.py script tells gdal to output 'mercator' as EPSG:900913. This is fine as long as it knows how to convert to this. ...
hazzey's user avatar
  • 418
14 votes
Accepted

OS with better performance for QGIS

I suspect you'll get a lot of subjective answers to this question, but here's some (hopefully objective!) points to keep in mind: running Linux natively will always be faster than running it in a ...
ndawson's user avatar
  • 27.3k
14 votes

Can't install QGIS 3.x on Ubuntu 18.04

According to ubuntugis documentation. "A convenient new command is available for adding Launchpad PPA (Personal Package Archive) repositories via the command line: add-apt-repository." For the stable ...
Juan Francisco Pineda Pinzón's user avatar
13 votes

Getting QGIS to use dedicated graphics card (GPU) over integrated?

I am a GIS developer and geospatial analyst. I use QGIS professionally. QGIS does make limited use of parallelized GPU acceleration, but only for raster rendering, namely: slope aspect hillshade ...
Beetroot's user avatar
  • 130
12 votes
Accepted

Repairing broken GDAL and PROJ.4 on Ubuntu?

After several wrong ways, including multiple reinstall of libproj0 package and even installing QGIS from sources different from the Ubuntu Software Center default (I think it's from the official QGIS ...
Pavel V.'s user avatar
  • 1,517
10 votes
Accepted

GDAL utility in Bash for loop (Ubuntu)

Linux (ubuntu as you call it) uses a shell (probably bash in this case) which has a different syntax to windows so you want something like: for i in se70*.tif do gdalinfo $i done
Ian Turton's user avatar
  • 79.9k
10 votes

How to reinstall QGIS from scratch on Ubuntu?

sudo software-properties-gtk there in the package manager remove qgis and ubuntugis from the list; sudo apt-get autoremove sudo apt-get autoclean sudo apt-get -f install sudo apt-get autoremove qgis ...
Elio Diaz's user avatar
  • 3,444
10 votes

No SAGA available in QGIS Processing

I had faced a similar issue but resolved it with saga install. You need to install proper version of SAGA. I installed saga via apt install. SAGA version in Ubuntu 18.04.3 repository work very well ...
programmer punk's user avatar
9 votes

How to create svg symbols that have modifiable fill color, stroke color and stroke width?

It seems worth providing a simple answer about the basics of SVGs to go alongside the details provided here about specifics around software... An SVG file is just a text file. The file ending will be ...
Rostranimin's user avatar
  • 2,960
9 votes

Installing latest QGIS version on Ubuntu?

The Ubuntu and UbuntuGIS repositories really do lag very far behind the latest release of QGIS, so the best thing is to download directly from qgis.org. Here is perhaps the simplest way to do this, ...
IanS's user avatar
  • 1,363
9 votes

I have not found shp2pgsql in postgis installation

When installing postgis on Linux, be sure to install the client also, as postgis on its own will not install the shp2pgsql executable. yum install postgis2_94 yum install postgis2_94-utils yum ...
smbennett1974's user avatar
9 votes

Repairing broken GDAL and PROJ.4 on Ubuntu?

Try: sudo apt-get install libproj-dev It solved the same error for me when using gdal_translate for extracting bands from an hdf image.
Sandino's user avatar
  • 91
9 votes
Accepted

Cannot run Grass algorithms in QGIS 2.18 on Ubuntu 16.04

I get the same error with the Ubuntugis version of QGIS and GRASS version 7.2.0. It seems that 7.2 is not yet correctly adopted in processing. There is already a ticket for it: https://hub.qgis.org/...
AndreJ's user avatar
  • 76.3k
9 votes

Error adding qgis.org repository public key to apt keyring

After you have verified the fingerprint you forgot to add the key to apt with: gpg --export --armor 51F523511C7028C3 | sudo apt-key add - Read the QGIS documentation. All the instructions are: ...
4ndt3s's user avatar
  • 191
9 votes
Accepted

Install a Python package on QGIS

For installing python packages for your Ubuntu QGIS-3, you don't need to launch Python Console. First, in bash console: sudo su [sudo] password for user: apt-get install python3-pip pip3 install ...
xunilk's user avatar
  • 29.4k
8 votes
Accepted

IDE (PyCharm) settings for developing with Processing in Linux (Ubuntu)

I’ve found the solution of my main question with help of this answer. If you need to add some external library, first of all check where it is placed (if it is possible of course). I opened Python ...
Andrii Liekariev's user avatar
8 votes
Accepted

Unable to install ‘sf’ R package on Ubuntu 16.04 LTS

This worked for me. Using sudo aptitude install libgdal-dev and then devtools::install_github("r-spatial/sf")
MYaseen208's user avatar
7 votes

Upgrading from Qgis 2.4 to 2.12 on Ubuntu 15.04

The Ubuntugis unstable ppa does not offer new versions of QGIS anymore. So you have to add qgis.org to your repositories to get the newest versions. See https://www.qgis.org/en/site/forusers/...
AndreJ's user avatar
  • 76.3k
7 votes

The connection was reset deploying geoserver.war in ubuntu

The real cause of the issue is the max-file-size limit in WEB-INF/web.xml. It is set for 50MB while the geoserver.war (version 2.9.0) is over 65MB. Open the file below for tomcat7: sudo nano /usr/...
Harry's user avatar
  • 233
7 votes
Accepted

QGIS ImportError: No module named 'PyQt5.QtSvg'

You're missing the python3-pyqt5.qtsvg dependency. Install that and retry.
ndawson's user avatar
  • 27.3k
7 votes

Adding group in Legend in QGIS Map composer?

You can just drag and drop your layers into groups, than just refresh legend item by clicking itnto print composer canvas or any map item.
Oto Kaláb's user avatar
  • 6,765
7 votes
Accepted

How to install QGIS-3 (2.99) on Ubuntu 17.10?

This is what worked for me for qgis3 (2.99): Add following to /etc/apt/sources.list and remove previous qgis entries deb http://qgis.org/debian-nightly artful main deb-src http://qgis.org/debian-...
tinlyx's user avatar
  • 11k
7 votes

Can't install QGIS 3.x on Ubuntu 18.04

It seems that I used a wrong string to indicate the repo's address. The correct strings for /etc/apt/sources.list are: deb https://qgis.org/ubuntugis/ bionic main deb-src https://qgis.org/ubuntugis/ ...
Alexei Kouprianov's user avatar
7 votes

Ubuntu 20.04 with QGIS 3.14 (pi) SAGA is missing

In order to solve the problem I had to: Verify if SAGA is actually installed in the system with: saga_cmd It said SAGA was not installed. Install SAGA with: sudo apt-get install saga Check it's ...
Abs's user avatar
  • 111

Only top scored, non community-wiki answers of a minimum length are eligible