census:qgis_install
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| census:qgis_install [2025/12/19 16:42] – created mlivolsi | census:qgis_install [2025/12/19 20:17] (current) – [Users] mlivolsi | ||
|---|---|---|---|
| Line 17: | Line 17: | ||
| </ | </ | ||
| + | ===== Plugins ===== | ||
| + | === qgis2web and QuickMap Service === | ||
| + | |||
| + | - Menu --> Plugins --> Manage and Install Plugins | ||
| + | - Search for qgis2web | ||
| + | - Click " | ||
| + | - Search quickmap and choose quickmapservices | ||
| + | - Click " | ||
| + | |||
| + | ===== Configuring QGIS to accept URL Arguments ===== | ||
| + | |||
| + | 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(" | ||
| + | let lon = parseFloat(getParam(" | ||
| + | let zoom = parseInt(getParam(" | ||
| + | </ | ||
| + | |||
| + | ===== Users ===== | ||
| + | I'm going to use a user called " | ||
| + | |||
| + | < | ||
| + | useradd -g developer -s /bin/bash -c 'Qgis Account' | ||
| + | mkdir -p /opt/qgis | ||
| + | chown -R qgis: | ||
| + | </ | ||
census/qgis_install.1766162525.txt.gz · Last modified: by mlivolsi
