The following are instructions on installing and starting QGIS on Ubuntu/Mint22.
The following are instructions for Installing QGIS on Ubuntu/Mint and then loading Census Data
On Linux, if you are ssh-ing into a server, make sure to specify the “-XY” arguments. This will allow X-windows to re-route to your local machine.
ssh -XY -l <user> <host> qgis
Change the following at the top of qgis2web.js
function getParam(name) {
const urlParams = new URLSearchParams(window.location.search);
return urlParams.get(name);
}
let lat = parseFloat(getParam("lat")) || 44.8;
let lon = parseFloat(getParam("lon")) || -103.4;
let zoom = parseInt(getParam("zoom")) || 4;
I'm going to use a user called “qgis” to own all files.
useradd -g developer -s /bin/bash -c 'Qgis Account' qgis mkdir -p /opt/qgis chown -R qgis:developer /opt/qgis