Questions tagged [linux]
Linux is a Unix-like computer operating system assembled under the model of free and open source software development and distribution.
344
questions
0
votes
1
answer
23
views
Trouble installing SAGA 7.2.0 in Ubuntu 22.04 to use with QGIS 3.22
I am trying to install SAGA 7.2.0 to use with Saga NextGen Provider in QGIS 3.22. However, the version on the Ubuntu aptitude repo is SAGA 7.3.
I've tried building from the official saga-7.2.0.tar.gz, ...
1
vote
0
answers
27
views
An error occurred while opening the geoserver server status
environment
linux
java【jdk11】
tomcat【apache-tomcat-8.5.78】
geoserver【gerserver-2.23.2-war】
org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang....
1
vote
1
answer
103
views
import pyarrow fails even when installed
I need to use the pyarrow package on QGIS 3 (using QGIS 3.32.2 'Lima') on Windows 11, and install it in OSGeo4W shell using pip:
pip install pyarrow,
which installs 13.0.0 by default as I'm writing ...
0
votes
1
answer
36
views
Dzetsaka plugin of QGIS can't load SVM
I try to install dzetsaka plugin of QGIS. When in MX Linux 21.3, it is ok when I run SVM in dzetsaka plugin.
After I upgrade to MX Linux 23, SVM can't load. There is a message : Scikit-learn library ...
0
votes
1
answer
66
views
Unable To update QGIS to newest version on Linux Mint
I've read many posts with similar issues, but not exactly the same.
I have QGIS installed on Linux Mint Vanessa and I want to update to the newest version as the repository version is old, so I want ...
1
vote
1
answer
77
views
In Tokyo Datum to JGD2000, the grid shift doesn't work in my PostGIS Linux
I have a question about how to use grid shift(gsb) in linux PostGIS.
I want to transform from Tokyo Datum to JGD2000, but the grid shift doesn't work in my PostGIS Linux version...
Detail:
I'm using ...
0
votes
0
answers
32
views
NodeJS map rendering libraries other than Mapnik
I'm looking for a library to call from Node that can render a fairly simple map (a single polygon, with text labels along edges) from GeoJSON to a PNG. I have a working solution using Mapnik, but that ...
1
vote
0
answers
30
views
ISCE script error
I am trying to run the command-line script make_single_reference_stack_isce but I am getting the below error. This is an executable shell script and input_file argument is a text file.
If I remove ...
0
votes
0
answers
92
views
Qgis server (Debian) : Installation
I want to install Qgis server on my Linux Debian server virtual.For now, it's not working.
FYI, I already have a working apache server and used for geoserver and geonetwork.
I followed the Qgis server ...
4
votes
1
answer
3k
views
Cannot install gdal or osgeo using .venv - error: legacy-install-failure
I know there are many questions about this issue , hence, I couldn't find working solution yet so I'm trying here as well...
I have cloned a git repo which one of the requiremed package there is to ...
2
votes
0
answers
34
views
QGIS Composer not rendering HTML
The title. When I select the "Render as HTML" option on a text box on the Layout Composer, the text disapears.
I only found a QGIS bug report from some years ago, mentioning that it might ...
1
vote
1
answer
195
views
Running qgis_process from Linux terminal
I am currently working with coordinate data that I cannot take off of a remote server and I need to run QGIS processes on this data. However, in downloading QGIS 3.18.3 onto the remote machine through ...
0
votes
0
answers
87
views
Running Python scripts via cronjob using the ArcGIS Python env on Ubuntu 20.04
I am having an issue running any Python scripts via the ArcGIS Server Python Env through cron jobs.
I can access and run any script including importing the ArcPy library via the command line as such:
/...
0
votes
0
answers
60
views
MapServer stopped showing maps on a website
I have a MapServer version 7* installed on Linux, to serve maps to a website. It worked well until recently, but now it's not serving maps anymore and can't figure out why.
When I check ps aux, the ...
0
votes
0
answers
36
views
Install QGIS from source in Ubuntu trouble
I want to install specific QGIS version (3.16.10) in my Ubuntu system.
After this Question and follow this Tutorial for install QGIS Version from source i have some errors in installation configure ...
3
votes
2
answers
346
views
Install specific QGIS version (3.16.10) in Ubuntu
I want to install in my Ubuntu 20.04 version specific QGIS version (3.16.10).
After reading this QGIS Installers I realize (maybe wrong) is the possibility to install only specific versions (latest ...
0
votes
1
answer
212
views
Where are QGIS desktop custom environment variables stored on disk?
I was tinkering with my Environment variables in the System Settings of the Options panel. I've done something bad and now my QGIS won't start. I'm on Ubuntu 22.04 and have tried uninstalling with apt-...
2
votes
2
answers
1k
views
Font "liberation sans" not available on system
I created a QGIS project on Linux. The project has a label for some features and the font is set to the default selection which is "Liberation Sans".
When I open this file on QGIS in Windows,...
0
votes
0
answers
28
views
Linux QGIS 3.20 cannot get Orfeo Tooolbox to work
Running QGIS 3.20 Odense on Linux Mint 20.1 Ulyssa and trying to get OTB functions available. Either throws "wrong value for parameter "OTB folder":" message or QGIS crashes ...
1
vote
1
answer
307
views
GDAL warp in C++
What is the equivalent to the following GDAL terminal command in C++? I looked into GDAL C++ API, but could not figure it out.
gdalwarp -te xmin ymin xmax ymax -ts 1 1 -r max input.vrt output.vrt
for ...
0
votes
1
answer
184
views
Detecting empty TIFFs [closed]
How to detect if a TIFF or VRT is empty. I don't want to loop all over values.
By empty, I mean full of NODATA values.
A C++ method is preferred.
Using the flag -stats with gdalinfo I can get ...
3
votes
1
answer
66
views
Scale mismatch on different platforms
I just started using QGIS. I need to work with QGIS on three different operating systems (Windows 11 (QGIS 3.26), MacOs 12 (QGIS 3.26) and Ubuntu 22.04 (QGIS 3.22)/Fedora 36-Linux(QGis 3.26).
I ...
1
vote
0
answers
80
views
Limiting saga_cmd memory usage
I'm trying to perform a shrink operation on a large (13GB LZW compressed) raster in SAGA GIS on Linux:
saga_cmd grid_tools 28 -INPUT in.tif -RESULT out.tif -OPERATION 0 -RADIUS
5
I have 64GB of RAM +...
4
votes
2
answers
395
views
Passing GDAL commands in Python using subprocess: errors
Linux Ubuntu 22.04, latest GDAL installation (3.4.1).
Note: skip to 'UPDATE' section further down in this question
gdalinfo don’t recognise Ubuntu file paths or shapefiles:
gdalinfo “/home/username/...
0
votes
2
answers
35
views
GRASS: Installing add-ons and mkdir: cannot create directory ‘/usr/lib64/bin’: Permission denied
GRASS: Installing add-ons and getting mkdir: cannot create directory ‘/usr/lib64/bin’: Permission denied.
Example:
g.extension extension=r.in.pdal
...
0
votes
0
answers
25
views
GRASS: Modules tab has white background making text unvisible
GRASS: Modules tab has white background making text unvisible.
Operating system:
ID_LIKE="opensuse suse"
VERSION_ID="20220303"
PRETTY_NAME="openSUSE Tumbleweed"
Any ...
3
votes
1
answer
997
views
Installing QGIS (client, not server) on RHEL 8
I'm having trouble getting a recent QGIS version installed on RHEL 8 ('8.5 (Ootpa)'). It's not available in any of the standard repositories. I've found some resources on how to go about it on RHEL 7, ...
1
vote
0
answers
182
views
rnx2rtkp error : no nav data, convbin doesn't create .nav file
I have U-Blox ZED-F9P receiver and antenna U-Blox ANN-MB-00-00. I'm trying to create precise GNSS tracks.
I never had such experience, so maybe I'm doing something wrong.
For recording, I use Armbian ...
3
votes
1
answer
620
views
GeoServer Keeps Stopping Service
GeoServer version : 2.20.3
I have followed the following instructions to install GeoServer on a linux server on Digital ocean
https://www.digitalocean.com/community/questions/how-can-i-install-or-use-...
2
votes
1
answer
575
views
How to fix "No module named grass.script" error in Linux PyCharm?
I'm trying to use v.generalize in the GRASS GIS library within a python code in PyCharm on my Linux Ubuntu system to make a shapefile that originally was a raster look less "blocky" by ...
1
vote
1
answer
42
views
PostGIS installation in Solus Budgie
Am new in Solus Budgie and am trying to install PostGIS have tried to look for any sources that has an article on same but no results.
anyone with a solution.
1
vote
1
answer
45
views
FME linux path - cannot locate VRT
I am trying to transfer an FMW (FME workspace) script, using FME workbench 2020.2, from windows to linux (Redhat).
In the FMW-script there are several published parameters. Among them there are 2 ...
1
vote
0
answers
211
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....
0
votes
0
answers
311
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....
4
votes
2
answers
236
views
QGIS launch errors with OpenSUSE Leap 15.3
I have upgraded my OpenSUSE Leap system from 15.2 to 15.3 recently.
I am now unable to launch QGIS properly. I get 2 error messages:
Couldn't load plugin 'QuickOSM' due to an error when calling its ...
0
votes
1
answer
136
views
Finding GRASSBIN on Linux
I am installing GRASS on linux. I have managed to download source code and compile and can now run grass from the command line to open GRASS and start a session. I am trying to run python scripts ...
1
vote
1
answer
80
views
Finding libraries for GRASS Installation Linux
I am installing GRASS on Linux. I have gotten as far as running Make in these instructions: https://grass.osgeo.org/grass78/binary/linux/snapshot/INSTALL
I get this for multiple libraries:
error while ...
0
votes
1
answer
117
views
Installing GRASS on Linux
I am installing GRASS on Linux using source code and the ./configure file to create a standalone python script. I have been following instructions and installing relevant code like proj4 and GDAL and ...
-1
votes
2
answers
80
views
GeoJSON is a directory error on Linux [closed]
I need to inspect the source code of a GeoJSON file written with geopandas because QGIS has trouble correctly interpreting the CRS and I'd like to get to the root cause of it.
I tried with nano and ...
3
votes
1
answer
636
views
Installing QGIS 3.22 on 32-bit Linux system
Is it possible to install the new QGIS version 3.22 on a 32-bit Linux system?
I tried to install it with this procedure (in the Linux terminal):
sudo apt install gnupg software-properties-common
wget ...
1
vote
0
answers
214
views
osm2pgsql get_way failed: server closed the connection unexpectedly
I'm trying to import OSM Europe to postgresql under Debian.
If I am importing only e.g. Czech Republic, then import is successful. But if I try to import Europe then I always got an warnings and error:...
4
votes
3
answers
142
views
Merging GRASS GIS calls in Linux bash terminal/scripts
I normally use bash scripts (ie. #!/bin/bash) to include different Linux-based tools (eg. awk, sed, cut), software (eg. GMT, GDAL, SAGA), and even languages (eg. #!/usr/bin/env python). However, so ...
1
vote
0
answers
66
views
How to use Java for desktop GIS development on Linux system
I need to use Java language for desktop GIS development on Linux system. I need to perform read and write operations on FGDB databases, rasters, and vectors. First, I tried to use GDAL, but GDAL is ...
0
votes
1
answer
99
views
How can I go back to the previous version of QGIS on Linux Mint?
After the last update of #QGIS yesterday July 21, on Linux Mint, it does not run the program. How can I go back to the previous version?
0
votes
1
answer
211
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 ...
1
vote
0
answers
844
views
Unable to open database file (gpkg) when creating layers in PyQGIS
I have some PyQGIS code to create multiple layers in a QGIS project using a for loop. This code previously worked for me on Windows, but now I am on Linux and run into the following problem:
ERROR 4: ...
0
votes
1
answer
497
views
Convert MS Access .mdb database files to alternative formats for work under Linux?
For a long time, I am struggling with .mdb databases I receive for my work under Linux (especially with QGIS). Even from within Access on Windows, I found no convenient way to export the whole ...
0
votes
0
answers
63
views
What is the difference? : in xdg-open in linux and QGIS in window
I made a rgb raster image with using GDAL script in the Linux (Centos7) environment.
When I open the rgb image with xdg-open, it's too dark, but when I open it in the QGIS, it is clear and more ...
0
votes
0
answers
233
views
QGIS 3.16.6 cannot load JPG
I'm trying to load raster file JPG format into QGIS on Linux. And then I got this message:
Invalid Data Source : /home/name/map/13-36.jpg is not a valid or recognized data source.
If I use "Add ...
1
vote
1
answer
75
views
Is there any way of making queries that contain special characters like 'ã' in spatialite-gui?
I have a Spatialite database file that has some special characters inside their columns as the following:
Here there's the word "Itapoã"... The problem is that all the times that I try to ...