Hot answers tagged

3

As touched on in the comments above, your distro has a very outdated version of the Qt libraries where required 3D functionality is not available. You need to update your distro to remedy this.


3

You can use the RQGIS package for this. The linked CRAN package includes an installation guide for different platforms as well.


3

You have a QGIS tag and in QGIS you can do: import os shapefolder = r'/home/bera/GIS/ok_riks_Sweref_99_TM_shape/oversikt/riks/' shapefiles = [os.path.join(shapefolder,f) for f in os.listdir(shapefolder) if os.path.isfile(os.path.join(shapefolder, f)) and f.endswith('.shp')] for shapefile in shapefiles: layer = QgsVectorLayer(shapefile, 'templyr') ...


3

Under Linux, from the command line, one can neatly use unoconv to batch convert the associated .dbf files into .csv streams, pipe it through head and extract only the file name and the first line, which contains the headers: apt-get install unoconv ls -1 */*.dbf |xargs -n1 -I{} sh -c 'echo {};unoconv -f csv --stdout {}|head -n1' The output will be similar ...


2

It turns out that this was not an issue with OpenDroneMap. My computer ran out of physical memory. Deleting/moving other files freed memory and allowed me to finish the reconstruction.


2

(Wrote a comment about this and the OP said it was right, so I will put it here for other people to read as a answer) About the point that causes the different result: is it clearly inside the polygon? Is it right on the border of the polygon? I have had this issue sometimes with points that are right on the border of the polygon. For some reason, when ...


2

Alternative to building from source. Issue: with the QGIS install instructions (assuming I followed them correctly) - it was unable to find the python3-qgis package. Solution: basically use a different mirror than what the install recommends. Starting from a fresh Raspbian Stretch with Desktop install. Run: sudo apt-get update Run: sudo nano /etc/apt/...


2

The ArcGIS-R bridge is not a client-server system, its core is code that reads ArcGIS objects. That code is linked to ArcGIS code. Since you can't run ArcGIS on Linux or Mac (without Windows OS emulation) there's no way this can be installed on those platforms.


2

The older version of OpenJPEG was installed with cmake. I gathered that GDAL's shared objects from OpenJPEG (expecting v2.3.0) were misplaced since the install but it wasn't initially obvious where the v2.1.0 files were, how to remove, or update the links. Luckily, cmake creates a file called install_manifest.txt to keep track of its installed files. I ...


2

You can choose which bands to display under Symbology. Either singleband or multiband (RGB): You can add the layer many times to table of contents to display all bands on top of eachother.


2

Building QGIS from AUR solved the problem. AUR package: https://aur.archlinux.org/packages/qgis-git/


1

VSCode (and PyCharm and python3) can import qgis with no additional configuration (using system python3 and system QGIS 3.10) but not processing. To be able to import processing I needed to set PYTHONPATH=/usr/share/qgis/python/plugins and ensure the python interpreter is picking up that environment variable. For VS Code I tried a <workspace dir>/....


1

In the shell: cd /path/to/script/directory vi script_file_name In vi: :%s/XXXX/your_password/ :%s/XXX/your_login_name/ :wq In the shell: ./script_file_name


1

Assuming you want to use PyQGIS python scripts to automate your workflow, you could do something like the following (roughly based on what I do for automated testing of a QGIS 3 python plugin in my Travis CI setup): export PREFIX=/usr # for a standard install, I also use PREFIX=$CONDA_PREFIX if I've installed into an activated conda env export ...


1

This permissions' issue was caused by the flatpak versions of QGIS and PyCharm, installed directly from the linuxmint Software Manager. I realized this because the QGIS folder was: /home/USER/.var/app/org.qgis.qgis/data/QGIS/QGIS3/ instead of: /home/user/.local/share/QGIS/QGIS3 Sandbox permissions of flatpak intend to isolate apps from each other in ...


1

We can do one error at a time: Warning: The target file has a 'nc' extension, which is normally used by the GMT, netCDF drivers, but the requested output driver is GTiff. Is it really what you want? If you don't want a geotiff output, which is the default. You need to set a format so add: -of GMT It might be a vector file as well as suggested in the ...


1

So the command which worked for me is the following: screen -L sudo mapproxy-util serve-develop mapproxy.yaml -b 0.0.0.0:8010


1

As commented by @eurojam: there is a file called .CustomToolBars in the user/home directory. under windows this is c:\user\username and by @SimonHaufe (the asker): Under Linux it is the same path: /home. There you can find a file called .CustomToolBars.


1

Download and build JTS using Mavin (sudo apt install maven): git clone https://github.com/locationtech/jts.git cd jts mvn clean install -DskipTests Then start it like this: ./bin/testbuilder.sh &


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