Skip to content

Instantly share code, notes, and snippets.

// Tailwind colors for Flexoki theme by Steph Ango. https://stephango.com/flexoki
const colors = {
base: {
black: '#100F0F',
950: '#1C1B1A',
900: '#282726',
850: '#343331',
800: '#403E3C',
700: '#575653',
"""
Model exported as python.
Name : Hillshade & Contours
Group : DEM Visualisation
With QGIS : 31803
"""
#REQUIRES THE TERRAIN SHADING PLUGIN
from qgis.core import QgsProcessing

Creating a smooth Hillshade basemap in QGIS


While hillshading a DEM/DTM in QGIS is fairly straightforward, the result is often not what you want to use in a map. Fortunately, achieving a neat, smooth result is not so tough. My aim for this procedure was to create a visually pleasing hillshade for use as a base layer for other mapping products (somewhat like OpenTopoMap). We 're gonna need

  • QGIS 3.18 (any version >= 3.10)
  • SAGA 2.3.2
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
<qgis simplifyDrawingTol="1" simplifyMaxScale="1" maxScale="0" simplifyLocal="1" hasScaleBasedVisibilityFlag="0" version="3.18.3-Zürich" minScale="100000000" readOnly="0" labelsEnabled="1" simplifyAlgorithm="0" styleCategories="AllStyleCategories" simplifyDrawingHints="1">
<flags>
<Identifiable>1</Identifiable>
<Removable>1</Removable>
<Searchable>1</Searchable>
<Private>0</Private>
</flags>
<temporal startExpression="" startField="" endExpression="" fixedDuration="0" mode="0" enabled="0" durationUnit="min" accumulate="0" durationField="" endField="">
<fixedRange>
@lymperis-e
lymperis-e / potree_linode_storage.md
Created April 15, 2022 16:31
Store and retrieve point clouds for use with PotreeJS in Linode Object Storage (S3)

Potree: Store and retrieve PointClouds with Linode Object Storage

Prerequisites

For the following, it is assumed that you have write access to a Linode Object Storage (S3) instance with the identifier: test-storage, which is hosted in the eu-central-1 cluster.

You will also need Cyberduck and s3cmd. It is possible to only use s3cmd, but I have not tested it to figure out the exact commands. s3cmd can be installed on Ubuntu via

sudo apt-get install s3cmd
@lymperis-e
lymperis-e / homepage.geojson
Created April 12, 2022 18:26
Homepage JSON Feats
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{"Geoserver_Services":{"":"","Ειδικές Περιβαλλοντικές Μελέτες (ΥΠΕΝ)":"geonode.epm-maps.gr","Geoportal YPEN":"geoportal.ypen.gr","Mapsportal YPEN":"mapsportal.ypen.gr","Geodata.gov":"geodata.gov.gr","Ρυθμιστική Αρχή Ενέργειας":"geo.rae.gr","Μητροπολιτικός Σχεδιασμός Αθηνών":"msa.ypeka.gr","Δήμος Αθηναίων":"gis.cityofathens.gr","Δήμος Θεσσαλονίκης":"gis.thessaloniki.gr","Δήμος Πειραιά":"gis.pireasnet.gr","Δήμος Περιστερίου":"gis.peristeri.gr","Δήμος Αγίας Παρασκευής":"gis.agpar.gr","Δήμος Αλίμου":"gis.alimos.gr","Δήμος Αμαρουσίου":"gis.amarousio.gr"},"ArcServer_Services":{"":"","ePoleodomia":"gis.epoleodomia.gov.gr/arcgis","Γενική Γραμματεία Βιομηχανίας":"gis.ggb.gr/arcgis","Υδροληψίες Γ.Γ.Υ.":"lmt.ypeka.gr/arcgis/","Data Ktimatologio":"gis.ktimanet.gr/inspire","Ε.Α.Γ.Μ.Ε.":"gaia.igme.gr/server","ΕΛ.ΣΤΑΤ.":"gisserver.statistics.gr/webgis"}}
@lymperis-e
lymperis-e / greek_data_services
Created October 25, 2021 11:26
Service Providers for Greek Data QGIS plugin
"Geoserver_Services":{
"Geoportal YPEN": "geoportal.ypen.gr",
"Geodata.gov": "geodata.gov.gr",
"Rythmistiki Arxi Energeias": "geo.rae.gr",
"Mitropolitikos Sxediasmos Athinon": "msa.ypeka.gr"
},
"ArcServer_Services":{
"ePoleodomia": "gis.epoleodomia.gov.gr",