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.
Here is what they quoted as the specs after I confirmed my order:
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.
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):
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:
``` | |
nix-shell -p whitebox-tools | |
this derivation will be built: | |
/nix/store/84wi7lcplbf8ryldn8qxhk6jk0qfjwdg-whitebox_tools-2.2.0.drv | |
these 3 paths will be fetched (0.00 MiB download, 0.02 MiB unpacked): | |
/nix/store/dqckr5s73zsy3jcqqp774x9y6fzjl0rc-auditable-cargo-1.73.0 | |
/nix/store/by2qyxr78hh3jhrrx8sikgavr3i9ap07-cargo-build-hook.sh | |
/nix/store/vrvkmmbkxwk2zf0b45jcfa9kc1wx8z31-cargo-check-hook.sh | |
copying path '/nix/store/dqckr5s73zsy3jcqqp774x9y6fzjl0rc-auditable-cargo-1.73.0' from 'https://cache.nixos.org'... |
graph TD
A[Father] -->|Parent| B[You]
C[Mother] -->|Parent| B[You]
B -->|Husband| D[Wife]
B -->|Father| E[Daughter]
D -->|Mother| E[Daughter]
{ | |
"version": 8, | |
"name": "Empty Style", | |
"metadata": {"maputnik:renderer": "mbgljs"}, | |
"sources": { | |
"planet": {"type": "vector", "url": "http://localhost:8000/services/planet"} | |
}, | |
"sprite": "", | |
"glyphs": "https://orangemug.github.io/font-glyphs/glyphs/{fontstack}/{range}.pbf", | |
"layers": [ |
# Find all multipart features in the active layer | |
l = iface.activeLayer() | |
iter = l.getFeatures() | |
geoms = [] | |
for feature in iter: | |
geom = feature.geometry() | |
if geom.isMultipart(): | |
l.select(feature.id()) | |
geoms.append(geom) |
These are my notes for setting up my production workstation with QGIS dev environment and various other niceties.
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: