Skip to content

Instantly share code, notes, and snippets.


Riccardo Klinger riccardoklinger

View GitHub Profile
View esri.js
first Author:
Ed Gonzalez
adjusted by
Free for personal and commercial use under the CCA 3.0 license
I just ask for you give me credit for the code and tell your friends about it.
riccardoklinger / index.html
Created Jan 8, 2021
DevLabs - Create a 2D map with a layer // source
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<title>DevLabs - Create a 2D map with a layer</title>
html, body, #viewDiv {
padding: 0;
margin: 0;
riccardoklinger /
Last active Jan 20, 2020
an article about GeoBerlin

GeoBerlin, the very spatial Meetup in Berlin

Once upon a time, there was a small room, two guys and a plan: plan an event where spatial enthusiasts, students, developers, sales persons, and everyone else interested in geography and geosciences can meet, discuss, present, share thoughts and problems. Six months later, the moment had com and we had the chance to take the organization of GeoBerlin in our own hands.

The Start of GeoBerlin

Back in 2015 Kathleen Danielson organized tze very first geo berlin meetup with 25 participants. Meeting in a pub, interesting talks followed every month. The number of members grew and the time had come to change the pub to a more professional location. WIth the take over of Uli from door2Door the Meetup had a new home at the Door2Door headquarter. The meetup was getting bigger and bigger but organization is quite challenging if you're just one player on the field. So the meetup fell asleep for quite a few month. Uli decided to hand over the organizaton to someone else.

riccardoklinger / qgis.au3
Created Dec 23, 2019
an automated testing script for QGIS, German version
View qgis.au3
#include <AutoItConstants.au3> ; need this for the mouse clicks
#include <MsgBoxConstants.au3>
#include <WinAPIFiles.au3>
Run("C:\Program Files\QGIS 3.4\bin\qgis-ltr-bin-g7.exe") ; starting the program
Local $qgis = WinWaitActive("Unbenanntes Projekt - QGIS")
WinSetState ($qgis, "", @SW_MAXIMIZE) ; maximise the working window
Send("^+n"); ctrl Shift n for new geopackage Layer
WinWaitActive("Neuer GeoPackage-Layer") ; waiting for the window to appear
Send("{TAB 3}") ; Presses the DEL key 3 times
riccardoklinger /
Last active Dec 7, 2019
The future of QGIS2web: Exchange of ideas

qgis2web was downloaded 500'000 recently. As this is quite a milestone for a plugin which was started approx. 5 years ago by creating qgis2leaf and qgis-ol3 form different developers, it is time to look ahead.

TC: your part

Riccardo Klinger: A Plugin for the user and consumer

The use of maps as a form of knowledge transfer, illustration as well as a simple form of presenting an information has become incresingly popular in the past 10 years. Especially with the arrival of google maps and google earth, the questions "where?", "how far?" where even easier answered as befor. Furthermore, the technologies used by GIS and mapping experts became somehow "ubiquitious" as you can geocode, change projections, create buffers and many other things in a variety of software solutions now without even knowing what you're doing in detail.

My initial thought about qgis2leaf (one predecessor of qgis2web) was to bring several parts of a full blown GIS to the web user. So it startedt with exporting the map as it is and e

from . import xmltodict
from qgis2web.olStyleScripts import getStrokeStyle
def measureControlScript():
measureControl = """
var measuring = false;
measureControl = function(opt_options) {
riccardoklinger / projections.html
Last active May 17, 2019
Choose you projection
View projections.html
<!DOCTYPE html>
<meta charset="utf-8">
<script src=""></script>
<script src=""></script>
<script src=""></script>
.background {
fill: #a4bac7;
View donut.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View exterior.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View onename
Verifying that "" is my Blockstack ID.