Skip to content

Instantly share code, notes, and snippets.

View chihchun's full-sized avatar
🎯
Focusing

Rex Tsai chihchun

🎯
Focusing
View GitHub Profile
@chihchun
chihchun / overpass.geojson
Last active October 1, 2017 02:33 — forked from anonymous/overpass.geojson
data exported by overpass turbo
area["ISO3166-1:alpha3"="TWN"]->.boundaryarea;
(
node["natural"="peak"](area.boundaryarea);
);
out meta;
@chihchun
chihchun / overpass.geojson
Last active September 20, 2017 16:39 — forked from anonymous/overpass.geojson
data exported by overpass turbo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chihchun
chihchun / overpass.geojson
Last active August 15, 2017 12:53 — forked from anonymous/overpass.geojson
台灣區域有使用 trail_visibility 的路線
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chihchun
chihchun / Overpass QL
Last active September 27, 2016 03:58 — forked from anonymous/overpass.geojson
20160927 OpenStreetMap 台灣的國家公園
[out:json][timeout:25];
area["ISO3166-1:alpha3"="TWN"]->.boundaryarea;
(
node["boundary"="national_park"](area.boundaryarea);
way["boundary"="national_park"](area.boundaryarea);
relation["boundary"="national_park"](area.boundaryarea);
);
// print results
out body;
>;
@chihchun
chihchun / overpass ql
Last active September 27, 2016 03:55 — forked from anonymous/overpass.geojson
20160927 OpenStreetMap 台灣的自然保護區
[out:json][timeout:25];
area["ISO3166-1:alpha3"="TWN"]->.boundaryarea;
(
node["leisure"="nature_reserve"](area.boundaryarea);
way["leisure"="nature_reserve"](area.boundaryarea);
relation["leisure"="nature_reserve"](area.boundaryarea);
);
out body;
>;
out skel qt;
@chihchun
chihchun / Overpass QL
Last active September 27, 2016 02:58 — forked from anonymous/overpass.geojson
20160920-OpenStreetMap 台灣國家森林遊樂園
[out:json][timeout:25];
// gather results
(
// query part for: “boundary=national_park”
area["ISO3166-1:alpha3"="TWN"]->.boundaryarea;
node["boundary"="national_park"](area.boundaryarea);
way["boundary"="national_park"](area.boundaryarea);
relation["boundary"="national_park"](area.boundaryarea);
);
@chihchun
chihchun / overpass.geojson
Created May 28, 2016 16:58 — forked from anonymous/overpass.geojson
data exported by overpass turbo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chihchun
chihchun / overlay.sh
Last active May 23, 2016 15:34 — forked from vicamo/overlay.sh
script to create ubuntu rootfs overlay for silos
#!/bin/sh
if [ -z $1 ] ; then echo "$0: silo_number [release] [team] [arch]" && exit 1 ; fi
SILO=$1
RELEASE=${2:-"vivid"}
TEAM=${3:-"ci-train-ppa-service"}
ARCH=${4:-"armhf"}
PACKAGES_URL="http://ppa.launchpad.net/${TEAM}/landing-${SILO}/ubuntu/dists/${RELEASE}/main/binary-${ARCH}/Packages.gz"
PACKAGES=$(curl -s ${PACKAGES_URL} | gzip -cd | grep ^Package: | grep -v -- -dev\$ | cut -d: -f2)
@chihchun
chihchun / overpass.geojson
Created May 10, 2016 03:07 — forked from anonymous/overpass.geojson
query part for: “landuse=military in Taiwan
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chihchun
chihchun / overpass.geojson
Last active April 29, 2016 05:44 — forked from anonymous/overpass.geojson
台灣山屋資料, data exported by overpass turbo
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.