Skip to content

Instantly share code, notes, and snippets.

View davidoesch's full-sized avatar
🏠
Working from home

David Oesch davidoesch

🏠
Working from home
View GitHub Profile
@davidoesch
davidoesch / leaflet_vectortiles_removelayer.html
Created February 21, 2024 12:56
leaflet_vectortiles_removelayer
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>Vector Map Demo (Leaflet)</title>
<style>
#map {
bottom: 0;
left: 0;
@davidoesch
davidoesch / leaflet_EPSG3857.html
Created February 18, 2024 11:13
leaflet_EPSG3857
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.3/dist/leaflet.css"/>
<style>
#map {
bottom: 0;
left: 0;
position: absolute;
@davidoesch
davidoesch / leaflet_EPSG2056.html
Last active February 18, 2024 11:14
leaflet_EPSG2056
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.3/dist/leaflet.css"/>
<style>
#map {
bottom: 0;
left: 0;
position: absolute;
@davidoesch
davidoesch / leaflet 16uint sentinel.js
Last active February 17, 2024 11:39
leaflet 16uint sentinel
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.3/dist/leaflet.css"/>
<style>
#map {
bottom: 0;
left: 0;
position: absolute;
@davidoesch
davidoesch / exklaven.kml
Created December 30, 2021 15:47
exklaven
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="utf-8" ?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document id="root_doc">
<Schema name="exklaven" id="exklaven">
<SimpleField name="UUID" type="string"></SimpleField>
<SimpleField name="DATUM_AEND" type="string"></SimpleField>
<SimpleField name="DATUM_ERST" type="string"></SimpleField>
<SimpleField name="ERSTELL_J" type="float"></SimpleField>
<SimpleField name="ERSTELL_M" type="string"></SimpleField>
<SimpleField name="REVISION_J" type="float"></SimpleField>
@davidoesch
davidoesch / firepits_20210306.gpx
Created March 6, 2021 08:56
firepits_20210306.gpx
<?xml version="1.0" encoding="UTF-8"?>
<gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd" version="1.1" creator="overpass-turbo (CH)"><metadata><desc>Filtered OSM data converted to GPX by overpass turbo</desc><copyright author="The data included in this document is from www.openstreetmap.org. The data is made available under ODbL."/><time>69027</time></metadata><wpt lat="47.506218" lon="9.7139564"><name>node/268477689</name><desc>leisure=firepit</desc><link href="http://osm.org/browse/node/268477689"/></wpt><wpt lat="47.5064096" lon="9.7137116"><name>node/268477692</name><desc>leisure=firepit</desc><link href="http://osm.org/browse/node/268477692"/></wpt><wpt lat="47.5065047" lon="9.7134934"><name>node/268477695</name><desc>leisure=firepit</desc><link href="http://osm.org/browse/node/268477695"/></wpt><wpt lat="47.5066244" lon="9.7132163"><name>node/268477698</name
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2">
<Document id="1">
<Style id="4">
<IconStyle id="5">
<colorMode>normal</colorMode>
<scale>1</scale>
<heading>0</heading>
<Icon id="6">
<href>https://dev.suissealpine.sac-cas.ch/img/icons/poi_routes/plain/protection_rule.svg</href>
@davidoesch
davidoesch / pronatura.kml
Last active November 28, 2019 10:28
pronatura.kml
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<name><![CDATA[GPS vcbvcbata]]></name>
<visibility>1</visibility>
<open>0</open>
<Snippet><![CDATA[created using <a href="https://www.gpsvisualizer.com/?ref=ge&time=20190916105005">GPS Visualizer</a>]]></Snippet>
<Style id="gv_waypoint_normal">
<IconStyle>
<color>ff0000ff</color>
@davidoesch
davidoesch / Bern900m.kml
Created December 20, 2018 08:14
Bern900mSurface
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
<name>Bern900m.kml</name>
<StyleMap id="6">
<Pair>
<key>normal</key>
<styleUrl>#60</styleUrl>
</Pair>
<Pair>