Questions tagged [ubuntu]

Ubuntu is a computer operating system based on the Debian Linux distribution and distributed as free and open source software, using its own desktop environment.

Filter by
Sorted by
Tagged with
0 votes
1 answer
26 views

gdal.Warp - set env var

I set up an ubuntu 18.04 EC2 through AWS that "On Start" will run a python script in which will download a .tif from an s3 bucket and project it from EPSG:4326 to EPSG:3857 using gdal.Warp()....
user avatar
  • 942
0 votes
0 answers
188 views

QGIS 3.24 on Ubuntu 22.04 issue with SIP Python support is disabled

I'm not able to load any plugin on a freshly installed QGIS 3.24.2 (I step by step followed the documentation available here: https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu) on ...
user avatar
  • 6,738
4 votes
1 answer
83 views

Installing QGIS with ECW support on ubuntu 20.04

I know there are similar questions here, but I've tried every answer and every tutorial I could find, and I still can't open ECW with QGIS (and I kind of broke my qgis install? When I try to install ...
user avatar
1 vote
0 answers
35 views

How to enable QGIS plugins from command line?

I was able write a test plugin and install it to QGIS (ver 3.24, Ubuntu 20.04 LTS). The plugin shows up in the dialogbox from the Plugins -> Manage and Install plugins... menu. It is shown under ...
user avatar
  • 10.3k
1 vote
1 answer
43 views

When compiling PostGIS from source, how does PostGIS determine which components to install?

I am trying to compile the latest PostGIS 3.2.1 from source. The compilation/installation below was successful on Ubuntu 20.04 LTS (resulting in a usable PostGIS): ./autogen.sh ; ./configure ; make; ...
user avatar
  • 10.3k
1 vote
0 answers
44 views

Create a webhosting GIS tileserver with GeoServer (or similar) on Ubuntu 18.04

I am currently developing a web application with JS, HTML, CSS (you know the drill) and I am using a local GeoServer instance to display tiff files as PNG tiles in a Leaflet based mapping environment. ...
user avatar
  • 11
2 votes
1 answer
237 views

Cannot run qgis_process on WSL2, its trying to connect to a display

I'm trying to run qgis_process on WSL2 on Windows 10 using Ubuntu and I get this Error message: qt.qpa.xcb: could not connect to display xxx.xxx.xxx.x:x qt.qpa.plugin: Could not load the Qt platform ...
user avatar
1 vote
0 answers
50 views

Extract points coordinates from vector layer in a standalone PyQGIS script in Ubuntu [closed]

I am running a PyQGIS script (QGIS 2.18.17) on the Ubuntu terminal to import the following CSV file that includes latitude and longitude of several points and create a polygon from them. Lat Long 56....
user avatar
0 votes
0 answers
46 views

PyQGIS: iface.addVectorLayer problem in Ubuntu

I am running a simple PyQGIS script (QGIS 2.18.17) in Ubuntu to read a shapefile. First I tried QgsVectorLayer function and it worked well: #!/usr/bin/python from qgis.core import * QgsApplication....
user avatar
0 votes
0 answers
27 views

AttributeError: 'NoneType' object has no attribute 'activeLayer' [duplicate]

I am running a PyQGIS script in Ubuntu to read a CSV file that includes the latitude and longitude of several points. My QGIS version is 2.18.17. Here is the code: #!/usr/bin/python from qgis.core ...
user avatar
3 votes
1 answer
92 views

AttributeError: 'QgsProject' object has no attribute 'addMapLayer'

I am running the following script on Ubuntu terminal to create a polygon from points in a csv file. #!/usr/bin/python from qgis.core import * QgsApplication.setPrefixPath('/usr', True) qgs = ...
user avatar
0 votes
0 answers
72 views

Config LAStools to use it with QGIS on Ubuntu

I'm using Ubuntu 18.04.5 LTS and I have installed QGIS version 3.16.3-Hannover. With Active python plugins: LAStools; processing; db_manager; MetaSearch When I try to open a LAZ file using the ...
user avatar
3 votes
1 answer
71 views

Menus in QGIS 3.22 are black and unreadable

In Ubuntu MATE (21.10) with default dark theme, menus in QGIS are unreadable: Answers on SO or other sites deal with with programming Qt, or running a qtconfig that's absent in Ubuntu.
user avatar
  • 2,304
0 votes
2 answers
196 views

Can't install QGIS in Ubuntu 20.04.3 LTS

I've tried installing the latest QGIS relaease on my Ubuntu according to the installation guide on the website (which has worked before). wget -qO - https://qgis.org/downloads/qgis-2021.gpg.key | sudo ...
user avatar
0 votes
0 answers
30 views

ArcGIS LicenseManager for Linux Installer cannot run in this UI mode

I think the issue is with 32-bit packages that are missing, but I can't figure out which ones. I'm trying to install ArcGIS Licence Manager (which came with ArcGIS 10.8.1 for Linux) on Ubuntu 20.04. ...
user avatar
  • 1
1 vote
1 answer
298 views

Trying to upgrade QGIS 3.16 -> 3.22 on Ubuntu 18.04 led to unmet dependencies + gpg key signature unchecked du to a missing key

I messed up my QGIS install by trying to update to 3.22 on Ubuntu 18.04.6 LTS (5.4.0-90-generic x86_64 GNU/Linux). Now QGIS 3.16 is gone (it was the one installed). And 3.22 is not installable due to ...
user avatar
  • 6,738
3 votes
0 answers
846 views

QGIS: No transform available error

I installed QGIS 3.16 on Ubuntu-20.04. Details on 'About QGIS': QGIS version 3.16.12-Hannover QGIS code revision be6cb030ac Compiled against Qt 5.12.8 Running against Qt 5.12.8 Compiled against ...
user avatar
  • 31
0 votes
0 answers
57 views

Connecting to Oracle Spatial from QGIS on Ubuntu

I have Ubuntu 20.04 and the QGIS from the Ubuntu repo is 3.10.4. The QGIS does not have any Oracle datasource available, despite of https://docs.qgis.org/3.10/en/docs/user_manual/managing_data_source/...
user avatar
  • 153
0 votes
1 answer
44 views

Very Slow OSM Tile Rendering

I have built my own OSM server of North America using switch2osm's Ubuntu 20.04 guide and all went well. Except when it comes to rendering tiles...or pre-rendering. Here is the most recent completed ...
user avatar
  • 1
2 votes
1 answer
116 views

No update of QGIS (3.10) possible on Ubuntu 18.04 - broken packages

I tried to update QGIS 3.10 to a newer version on Ubuntu 18.04 (bionic) but it fails every time due to brocken packages probably. I've already followed instructions on https://qgis.org/it/site/...
user avatar
  • 63
0 votes
0 answers
117 views

PyQGIS not working with PyCharm on Windows, only Ubuntu

I can't make PyCharm work with PyQGIS on Windows. On Ubuntu I did the following to make it work: Installed QGIS Installed PyCharm New project with existing interpreter System Interpreter --> usr/...
user avatar
0 votes
1 answer
79 views

Add-ons not found anymore in GRASS 7.8 installation

I use GRASS GIS 7.8 on Ubuntu 18.04 Bionic Beaver. Last time I used GRASS, I was able to use add-ons, such as r.stream.snap and r.accumulate. But now when I start GRASS, I get a series of errors in ...
user avatar
  • 11
1 vote
1 answer
88 views

Installing extra Python packages in QGIS with Ubuntu

In the Windows version of QGIS 3+, there is a relatively simple procedure to install more Python packages that will then be accessible from the QGIS Python console. It all starts with the OSGEO4W ...
user avatar
2 votes
1 answer
112 views

Custom datum transformation in bash or Python

I need to transform a shapefile from Deir ez Zor / Levant Stereographic (EPSG:22780) to UTM 36N using 7-parameters Helmet transformation on Ubuntu bash script or Python script. In ArcGIS, I can ...
user avatar
0 votes
1 answer
39 views

vDatum returns error at Linux command line - fails to accept parameters with GUI

I am trying convert a GeoTiff using VDatum at the Linux command line. My data reference the Washington State Plane South CRS with z values referencing EGM96. I would like to convert these z values to ...
user avatar
  • 7,172
2 votes
1 answer
159 views

What version of SAGA is supported by QGIS 3.18 on Ubuntu 20.04.2, and how do I install it?

I have been using QGIS on Windows 10, but now have installed Ubuntu (20.04.2) on a high spec laptop and want to use QGIS on that instead. I installed QGIS 3.18; SAGA was not installed with it. sudo ...
user avatar
1 vote
0 answers
89 views

Failed DEM via Natural Neighbor, QGIS 3.16-6 Hannover

Reading How to Create DEM and Elevation Profile in QGIS, I can't generate DEM from vertices layer using Natural neighbour with height whatever the cell size and parameters. I'm using Ubuntu 20.04, ...
user avatar
  • 11
3 votes
2 answers
265 views

Installing previous versions of QGIS on Ubuntu

I have been doing some work with QGIS 3.12 Bucaresti. For some reason I had to reboot the computer so I installed QGIS again. However, the official QGIS repository is now installing a newer version (...
user avatar
  • 31
2 votes
1 answer
245 views

How to find the mean of a given variable in NetCDF regardless of latitude and longitude?

I have extracted temperature t2m data from a NetCDF file for certain regions, and now I would like to find the overall mean temperature per timestamp for the given regions. The dimension of the NetCDF ...
user avatar
  • 796
2 votes
2 answers
1k views

Installing QGIS LTR instead of latest version on Ubuntu

Due to major bugs on QGIS 3.18 I am forced to install the LTR version. But the official instructions here (https://www.qgis.org/de/site/forusers/alldownloads.html) do only explain how to install the ...
user avatar
  • 31
0 votes
1 answer
196 views

Accessing the config.json in tileserver-gl-light from Ubuntu 20.04 server via command line

I am trying to access the config.json file for Tileserver-gl-light from a command line on an Ubuntu 20.04 Server. I am new to this operating system and just cannot seem to find the file. From my ...
user avatar
5 votes
1 answer
2k views

PostGIS: type "raster" does not exist

I'm new to PostgreSQL and PostGIS. I'm adding a raster to a newly created PostGIS schema and table with the raster2pgsql command: sudo raster2pgsql -I -C -s 3577 -t 50x60 /path/to/raster.tif schema....
user avatar
2 votes
1 answer
127 views

Install QGIS Dev on Ubuntu or WSL

I am using WSL (Ubuntu 18.04) on win 10 trying to install QGIS Dev. I tried following the instructions here but got back the following message. Reading package lists... Done Building dependency tree ...
user avatar
  • 2,597
0 votes
0 answers
149 views

installing MAPNIK problems

I'm trying to install MAPNIK in ubuntu 16.04. I downloaded the files from here: https://github.com/mapnik/mapnik, and follow the instructions from here: https://github.com/mapnik/mapnik/blob/master/...
user avatar
1 vote
1 answer
857 views

Failed to install Potree on Ubuntu 20.04.1 LTS

I am trying to install Potree on my computer and I am stuck. I am following these instructions: $ sudo apt-get install python-software-properties git $ sudo apt-get install build-essential cmake g++ $ ...
user avatar
5 votes
1 answer
706 views

"The following packages have unmet dependencies" error when installing the latest QGIS on Ubuntu 18.04 LTS

I am trying to install the latest version of QGIS 3 from the official website, on my PC running Ubuntu 18.04.5 LTS. So, I am applying the commands step-by-step: ✅ Step 1. taras@dellpc:~$ sudo apt ...
user avatar
  • 24k
0 votes
2 answers
629 views

Executing QGIS tools in Python from Linux Shell [duplicate]

I would like to execute a Python script which uses QGIS Processing tools. On Ubuntu 20.x I installed qgis, qgis-common, python3-qgis and python3-qgis-common. My objective is to execute the tool Exploe ...
user avatar
  • 460
5 votes
1 answer
484 views

Installing QGIS Server - qgis_mapserv.fcgi returns error

I am installing QGIS Server on Ubuntu 20.04 (focal) Docs indicate one should run usr/lib/cgi-bin/qgis_mapserv.fcgi and expect: QFSFileEngine::open: No file name specified Warning 1: Unable to find ...
user avatar
1 vote
1 answer
2k views

Installing GDAL/ogr2ogr in Ubuntu 18.04 returning Unmet dependency erorr

I am trying to install GDAL in Ubuntu 18.04 with the following commands sudo add-apt-repository -y ppa:ubuntugis/ppa sudo apt update sudo apt install gdal-bin python-gdal python3-gdal But it ...
user avatar
  • 2,971
2 votes
0 answers
183 views

Deleting and reinstalling QGIS [duplicate]

I have a problem with QGIS as here Previous question. I think QGIS Temporal is corrupted and the only way to correct is to uninstall and reinstall QGIS (QGIS 3.16.1 Ubuntu 20.04). However if I try ...
user avatar
  • 311
1 vote
1 answer
481 views

Broken QGIS installation on Ubuntu

After encountering the reported bug in 3.16 + Qt 5.9.5 (https://github.com/qgis/QGIS/issues/39693), I tried to remove and reinstall and got the broken dependencies below. user@dell: sudo apt install ...
user avatar
  • 11
0 votes
1 answer
136 views

'no release file' error when installing ubuntugis

I'm trying to install ubuntugis-unstable on Ubuntu 20.04.1 but get an no release file error. I've used: sudo add-apt-repository ppa:ubuntugis/ppa sudo apt-get update
user avatar
1 vote
1 answer
108 views

Troubles translating own OSM server tile to English (ubuntu 18.04)

I have created a OSM tile server using the https://switch2osm.github.io/ tutorial for ubuntu 18.04 with great success but no matter what I cannot display the map labels in English only, I have tried ...
user avatar
1 vote
1 answer
35 views

Data from REST service shows symbology for items not on my map

I am using QGIS 3.4 to display eelgrass data from this website: https://geo.wa.gov/datasets/8ef27802b6cf4b61b814c80dd91d6e9e. To get the specific layer I need I use this link to connect to an ArcGIS ...
user avatar
  • 7,172
1 vote
0 answers
35 views

QGIS compilation using Ninja

I am compiling QGIS in Ubuntu 20 with Ninja. Compilation build succesful. Now I have made some changes in UI file and .cpp file and want to recompile again like we do in Visual Studio. How to do this?
user avatar
  • 11
0 votes
1 answer
242 views

GeoNetwork installation with Tomcat9 on Ubuntu Server 20.04

I am trying to install GeoNetwork WAR file on Tomcat 9. I have placed the file in webapps folder. It failed to start with error log as below. I have tried with Java version 8 and 11, got same error ...
user avatar
10 votes
4 answers
21k views

Installing GDAL on Ubuntu 20.04 - unmet dependencies

I'm trying to install GDAL on my Ubuntu 20.04 with the following commands: sudo add-apt-repository ppa:ubuntugis/ppa && sudo apt-get update sudo apt-get update sudo apt-get install gdal-bin ...
user avatar
0 votes
1 answer
615 views

Unable to run freshly updated QGIS 3.14 on Ubuntu 18.04 using libprotobuf-lite version greater than 10

Context (see bottom EDIT for the fix, thanks to ThomasG77) After having run my daily updates using; apt update && apt upgrade, on Ubuntu 18.04 I've seen that QGIS 3.14 was newly shipped and ...
user avatar
  • 6,738
3 votes
1 answer
1k views

Ubuntu 20.04 with QGIS 3.14 (pi) SAGA is missing

After updating to QGIS 3.14 in Ubuntu 20.04, SAGA is not available. The Log Panel (View->Panels->Log Messages) said SAGA didn't load. In the Processing Toolbox, the SAGA category is missing.
user avatar
  • 101
2 votes
1 answer
211 views

Exporting layout to GeoPDF format using QGIS on Ubuntu 20.04

I'd like to export a layout in GeoPDF format using QGIS 3.12.3-București (1:3.12.3+32focal) installed on Ubuntu 20.04 Focal Fossa from https://qgis.org/ubuntu repository. QGIS is compiled and runs ...
user avatar

1
2 3 4 5
13