Skip to content

Instantly share code, notes, and snippets.

View timlinux's full-sized avatar

Tim Sutton timlinux

View GitHub Profile
@timlinux
timlinux / FedoraWorkstationSetupNotes.md
Last active June 13, 2023 11:44
Fedora Workstation Setup Notes

Fedora Workstation Installation Notes

These are my notes for setting up my production workstation with QGIS dev environment and various other niceties.

Mounting encrypted drives

I have three 2TB SSD drives in addition to the system drive which is 250GB.

To get them to mount you need to not include them in the original setup of the computer disk scheme. Then after first log in to the system do the following:

@timlinux
timlinux / BuildingPCRasterOnFedora.md
Last active April 5, 2022 06:28
Building PCRaster on Fedora

What follows are the steps I took to build PCRaster on Fedora (34) from source. I chose to build from source because I didn't want to use the conda installer and I could not find a stand alone package.

The process below assumes that you have a working QGIS build environment since some of the PCRaster dependencies are provided by the QGIS dependency tree too.

git clone [email protected]:pcraster/pcraster.git

https://youtu.be/pr31J9Ln2Oc

Sometimes we get so lost in maps, points, lines, and polygons, etc. that we forget that there is a whole other world of expectation that we place on GIS professionals. Especially for new GIS professionals who don't have a lot of experience in working in teams yet. In this session, I leave behind my usual QGIS nerding to focus more on the general approach to taking on a GIS task, planning the work, collaborating, and ultimately delivering something great

@timlinux
timlinux / creating_3d_models_for_QGIS_with_ODM.md
Last active January 27, 2025 13:59
Creating 3D Models for QGIS With ODM

Capture a movie on your phone of the object by walking around it. If possible shoot it from different angles e.g. from above looking down, below looking up, side on etc. When you film it, walk around it or move the camera around it in a full 360 revolution (or even a couple of revolutions). You should get something like this (note that the image below is a resized copy of the orignal downrated to 1 fps):

DrinkingFountainSmall

Put the video into an empty folder and then use ffmpeg to extract the frames. You can experiment with different frame rates but generally there will be little value in extracting at 60fps or whatever your phone natively shoots at.

If you are on an iPhone you may need to convert your movie from .HEIC format first:

@timlinux
timlinux / QGISonWine.md
Last active March 11, 2025 15:26
Running QGIS Windows Builds on Linux using Wine

I found it is difficult to build older versions of QGIS on linux due to the shifting dependencies. Or sometimes you just want to test an issue with the windows build but you don't want to use a VM etc. to test. So I went on a quick diversion and installed QGIS from Wine. In this case I wanted to test something on QGIS circa v 3.0.x:

sudo apt install wine
wget -o https://qgis.org/downloads/QGIS-OSGeo4W-3.0.1-1-Setup-x86_64.exe
wine QGIS-OSGeo4W-3.0.1-1-Setup-x86_64.exe 

You can substitute the installer URL with any of the builds available at https://qgis.org/downloads/. Once you have downloaded the installer, press next to work your way through the installer steps. Now make a few small tweaks so you can launch the app.

@timlinux
timlinux / README.md
Last active February 4, 2025 06:26
Linux on Lenovo Thinkpad P14s with AMD Processor

Thinkpad P14s AMD Edition Review (Running Fedora)

These are my installation etc. notes for running Linux on my new Thinkpad P14s laptop with 32GB RAM, 1TB SDD and 8 Core, 16 Thread AMD CPU.

Detailed specs

Here is what they quoted as the specs after I confirmed my order:

@timlinux
timlinux / Fedora-34.md
Last active August 22, 2022 08:41
Linux Development Environments for QGIS Developers

Package installation

QGIS Compilation Package dependencies (Current as of QGIS 3.20)

sudo dnf install -y \
qca.x86_64 qca-devel.x86_64 \
qca-gnupg.x86_64 qca-ossl.x86_64 \
gdal.x86_64 gdal-python-tools \
grass-devel.x86_64 PyQt4-qsci-api.x86_64 \
@timlinux
timlinux / README.md
Last active December 2, 2020 13:18
Running QGIS Server on Fedora using docker
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# (THIS DOCUMENT IS NOT UP TO DATE)
# Developing QGIS using Homebrew dependencies
In addition to using this tap to install [QGIS development
formulae](../Formula), you can also use it to fully set up a development
environment for an externally built QGIS from a clone of the current
[development (master) branch](https://github.com/qgis/QGIS) of the source code
tree.