Skip to content

Instantly share code, notes, and snippets.

View bertt's full-sized avatar

Bert Temme bertt

View GitHub Profile
Install miniconda
$ conda create -n geo python=3.12 ipython
$ conda activate geo
$ conda install pip
$ pip install py3dtiles
@bertt
bertt / download_las.sh
Created December 16, 2024 11:33
Download France las files
#!/bin/bash
# Base URL van de bestanden
BASE_URL="https://storage.sbg.cloud.ovh.net/v1/AUTH_63234f509d6048bca3c9fd7928720ca1/ppk-lidar/RO/LHD_FXX_0"
# Reeksen voor {x} en {y}
X_START=983
X_END=996
Y_START=6367
@bertt
bertt / qqgis_promptly_sample.txt
Created June 3, 2025 11:47
QGIS Promptly sample
prompt=voeg D:\gisdata\andorra\ALPSMLC30_N042E001_DSM.tif toe aan qgis
Please follow these guidelines when generating QGIS code:
1. Always include necessary QGIS imports at the top of your code (note the correct locations):
- from qgis.core import QgsProject, QgsVectorLayer, QgsCoordinateReferenceSystem, Qgis
- from qgis.utils import iface
- from PyQt5.QtCore import Qt, QVariant
- from PyQt5.QtGui import QColor
- from PyQt5.QtWidgets import QMessageBox, QInputDialog, QDialog, QComboBox