Skip to content

Instantly share code, notes, and snippets.

@tyrasd
tyrasd / index.html
Last active January 9, 2016 21:56 — forked from tmcw/index.html
compares OSM-Carto with the older "Mapnik" style. http://bl.ocks.org/tyrasd/raw/6164696
<!DOCTYPE html>
<html>
<head>
<script src='http://api.tiles.mapbox.com/mapbox.js/v0.6.7/mapbox.js'></script>
<link href='http://api.tiles.mapbox.com/mapbox.js/v0.6.7/mapbox.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
</style>
</head>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tyrasd
tyrasd / cgi-bin
Last active December 26, 2015 14:39 — forked from hjanetzek/gist:5521755
pbf output cgi-bin script for overpass-api
#!/usr/bin/env bash
# Copyright 2008, 2009, 2010, 2011, 2012 Roland Olbricht
#
# This file is (not yet) part of Overpass_API
#
# Overpass_API is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
@tyrasd
tyrasd / cgi-bin
Last active December 26, 2015 14:39 — forked from tyrasd/cgi-bin
geojson output cgi-bin script for Overpass-API
#!/usr/bin/env bash
# Copyright 2008, 2009, 2010, 2011, 2012 Roland Olbricht
#
# This file is (not yet) part of Overpass_API
#
# Overpass_API is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
@tyrasd
tyrasd / overpass.geojson
Last active January 1, 2016 16:09 — forked from anonymous/overpass.geojson
Karte des mitteleuropäischen Bahnstromnetzes siehe: http://www.openstreetmap.org/user/Toliman/diary/20629
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tyrasd
tyrasd / overpass.geojson
Last active August 29, 2015 13:56 — forked from anonymous/overpass.geojson
“type:node and name=* and amenity=restaurant in Graz”
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tyrasd
tyrasd / README.md
Created April 17, 2014 08:27 — forked from mbostock/.block

In honor of the vernal equinox, this animation shows the progression of the solar terminator at approximately 5.2 million times its normal rate. Each frame of the animation advances twenty-four hours ahead of real-time so that the seasonal changes of the solar terminator are visible. The blue region is night; the white region is day. Best accompanied with the theme song from Buck Rogers.

@tyrasd
tyrasd / overpass.geojson
Last active August 29, 2015 14:01 — forked from anonymous/overpass.geojson
"3D"-Mapping
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tyrasd
tyrasd / index.html
Last active August 29, 2015 14:09 — forked from zross/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" />
<script src="http://d3js.org/d3.v3.min.js" type="text/javascript"></script>
<script src="http://cdn.leafletjs.com/leaflet-0.7/leaflet.js"></script>
<script src='https://api.tiles.mapbox.com/mapbox.js/v1.6.4/mapbox.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v1.6.4/mapbox.css' rel='stylesheet' />

modified version of http://bl.ocks.org/curran/01aa2685f083b6c1b9fb with the map's bounding box on the globe

original readme follows:

--

Pan and zoom in the map on the left to rotate the globe.

Click and drag the globe to pan on the map.