Skip to content

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file has been truncated, but you can view the full file.
[[1559220545,1559220625],[1559220545,1559220625],[1559220545,1559220625],[1559220545,1559220625],[1559220545,1559220625],[1559220545,1559220625],[1559220545,1559220712],[1559220545,1559220712],[1559220545,1559220784],[1559220545,1559220784],[1559220713,1559220784],[1559220545,1559220891],[1559220545,1559220891],[1559220545,1559220891],[1559220545,1559220948],[1559220626,1559220948],[1559220719,1559220948],[1559220545,1559221011],[1559220545,1559221011],[1559220545,1559221071],[1559220545,1559221071],[1559220545,1559221071],[1559220545,1559221071],[1559220545,1559221132],[1559220545,1559221132],[1559220545,1559221132],[1559220545,1559221227],[1559220545,1559221227],[1559220785,1559221227],[1559220545,1559221288],[1559220545,1559221371],[1559220545,1559221371],[1559220545,1559221371],[1559220785,1559221371],[1559220545,1559221404],[1559220545,1559221404],[1559220545,1559221485],[1559220545,1559221485],[1559220545,1559221485],[1559220545,1559221485],[1559220545,1559221485],[1559220545,1559221548],[1559220545,155
@olafveerman
olafveerman / extract-rn.md
Created March 19, 2019 00:54
Extract road network for QXN

1. Get the extract

Note, this is 6.7GB.

wget http://download.geofabrik.de/asia-latest.osm.pbf

2. Reduce to bounding box

@olafveerman
olafveerman / Dockerfile
Last active December 4, 2018 05:52
WIP Hello world for osmium-tool in Docker.
FROM debian:9
ENV OSMIUM_VERSION 2.14.2
ENV OSMIUMTOOL_VERSION 1.9.1
ENV PROTOZERO_VERSION 1.6.4
RUN mkdir /work
WORKDIR /work
RUN apt-get update && \
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@olafveerman
olafveerman / poly.geojson
Created August 31, 2017 20:55
Polygon of Bihar (India) and Northern Bangladesh
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@olafveerman
olafveerman / biggest-difference.csv
Created August 28, 2017 21:03
EEA Stations with multiple coordinates. The reduced list contains those stations that have a cumulative difference of > 0.001 degree.
Countrycode AirQualityStation AirQualityStationEoICode AirQualityStationNatCode Longitude Latitude cumulative_diff
CY STA-CY0004A CY0004A STROPOL 33.34779897 35.15195174 68.4991353665
CY STA-CY0004A CY0004A STROPOL 0.0002995682 0.0003157753 68.4991353665
CY STA-CY0002R CY0002R Emep 33.05782279 35.03802654 68.0952376149
CY STA-CY0002R CY0002R Emep 0.0002969632 0.0003147519 68.0952376149
CY STA-CY0005A CY0005A LIMRES 33.01775793 34.6816325 67.6987822756
CY STA-CY0005A CY0005A LIMRES 0.0002966037 0.0003115507 67.6987822756
IT STA.IT1680A IT1680A 1607388 0.0001556955 0.0003656218 58.0322486827
IT STA.IT1680A IT1680A 1607388 17.33194 40.70083 58.0322486827
IT STA.IT1930A IT1930A 402212 11.11472 46.19694 57.3111452058
@olafveerman
olafveerman / ram-workshop.md
Last active August 1, 2017 14:07
Notes for the RAM workshop
WARNING: [Bourbon] [Deprecation] `keyframes` is deprecated and will be removed in 5.0.0. We suggest using an automated prefixing tool, like Autoprefixer.
Backtrace:
	node_modules/bourbon/app/assets/stylesheets/_bourbon-deprecate.scss:10, in mixin `-bourbon-deprecate`
	node_modules/bourbon/app/assets/stylesheets/_bourbon-deprecate.scss:17, in mixin `-bourbon-deprecate-for-prefixing`
	node_modules/bourbon/app/assets/stylesheets/css3/_keyframes.scss:3, in mixin `keyframes`
	node_modules/ui-seed/assets/styles/ui-seed/core/_animations.scss:9

WARNING: [Bourbon] [Deprecation] `transform` is deprecated and will be removed in 5.0.0. We suggest using an automated prefixing tool, like Autoprefixer.
Backtrace:
@olafveerman
olafveerman / sprint-calendar.md
Created May 30, 2017 17:29
DS Sprint Schedule - 2017
sprint from to
1 01/02/2017 01/13/2017
2 01/16/2017 01/27/2017
3 01/30/2017 02/10/2017
4 02/13/2017 02/24/2017
5 02/27/2017 03/10/2017
6 03/13/2017 03/24/2017
7 03/27/2017 04/07/2017