Skip to content

Instantly share code, notes, and snippets.

View emacgillavry's full-sized avatar

Edward Mac Gillavry emacgillavry

View GitHub Profile
@emacgillavry
emacgillavry / index.html
Created November 8, 2018 12:59
Utrechtoverdetong
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Demo Mapboxgl with external data bind</title>
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.49.0/mapbox-gl.css' rel='stylesheet' />
<style>
#map {
height: 100vh;
width: 100vh;
@emacgillavry
emacgillavry / perc65plus-labeled.xml
Last active June 23, 2018 08:35
Styled Layer Descriptor
<?xml version="1.0" encoding="UTF-8"?><sld:StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:sld="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" version="1.0.0">
<sld:NamedLayer>
<sld:Name>gemeenten2017</sld:Name>
<sld:UserStyle>
<sld:Name>wijkenbuurten_thema_gemeenten_gemeentewijkbuurt_perc_personen_65_jaar_en_ouder</sld:Name>
<sld:Title>gemeentewijkbuurt_perc_personen_65_jaar_en_ouder</sld:Title>
<sld:FeatureTypeStyle>
<sld:Name>name</sld:Name>
<sld:Rule>
<sld:Name>onbekend, geheim of nihil</sld:Name>
@emacgillavry
emacgillavry / index.html
Last active October 1, 2021 12:28
Luchtfoto 2020 (Web Mercator) in OpenLayers 4
<!doctype html>
<html lang="nl">
<head>
<meta charset="utf-8">
<title>Luchtfoto 2020 (Web Mercator) in OpenLayers</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width">
<meta name="author" content="Edward Mac Gillavry">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/openlayers/4.6.4/ol.css">
<link rel="stylesheet" href="main.css">
@emacgillavry
emacgillavry / index.html
Created March 8, 2018 11:36
BRT-Achtergrondkaart (Web Mercator) in OpenLayers 4
<!doctype html>
<html lang="nl">
<head>
<meta charset="utf-8">
<title>BRT-Achtergrondkaart (Web Mercator) in OpenLayers</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width">
<meta name="author" content="Edward Mac Gillavry">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/openlayers/4.6.4/ol.css">
<link rel="stylesheet" href="main.css">
@emacgillavry
emacgillavry / index.html
Last active October 18, 2021 09:49
Luchtfoto (RD) in OpenLayers 4
<!doctype html>
<html lang="nl">
<head>
<meta charset="utf-8">
<title>Luchtfoto (WMTS) in OpenLayers</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width">
<meta name="author" content="Edward Mac Gillavry">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/openlayers/4.6.4/ol.css">
<link rel="stylesheet" href="main.css">
@emacgillavry
emacgillavry / index.html
Last active February 27, 2018 19:48
BRT-Achtergrondkaart (RD) in OpenLayers 4
<!doctype html>
<html lang="nl">
<head>
<meta charset="utf-8">
<title>BRT-Achtergrondkaart (WMTS) in OpenLayers</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width">
<meta name="author" content="Edward Mac Gillavry">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/openlayers/4.6.4/ol.css">
<link rel="stylesheet" href="main.css">
@emacgillavry
emacgillavry / aardbevingen_NL.geojson
Last active February 8, 2018 12:10
Add a basemap in D3.js
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@emacgillavry
emacgillavry / aardbevingen_NL.geojson
Last active February 8, 2018 12:11
Visualise your data in D3.js
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@emacgillavry
emacgillavry / aardbevingen_NL.geojson
Last active February 8, 2018 12:11
Add multiple sources in D3.js
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@emacgillavry
emacgillavry / gemeenten2017.topojson
Last active February 8, 2018 12:12
From GeoJSON to TopoJSON in D3.js
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.