Skip to content

Instantly share code, notes, and snippets.

@lxbarth
lxbarth / index.html
Last active August 29, 2015 14:25
Attribution override
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Attribution</title>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox.js/v2.1.6/mapbox.js'></script>
<script src='https:////api.tiles.mapbox.com/mapbox.js/plugins/leaflet-hash/v0.2.1/leaflet-hash.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v2.1.6/mapbox.css' rel='stylesheet' />
@lxbarth
lxbarth / index.html
Created July 10, 2015 23:23
Swipe example (workaround for Chrome)
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>RunKeeper</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox.js/v2.2.1/mapbox.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v2.2.1/mapbox.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Swipe</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox.js/v2.2.1/mapbox.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v2.2.1/mapbox.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
@lxbarth
lxbarth / index.html
Created May 29, 2015 16:29
Branded Mapbox map
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>A simple map</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox.js/v2.1.9/mapbox.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v2.1.9/mapbox.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }

Reviewer notes of edition file 968 (2015-05-08)

user:ramyaragupathy

Incorrect identification of unclassified road

user:Rub21

Tagging of service roads
@lxbarth
lxbarth / index.html
Created April 30, 2015 18:44
Recommended Mapbox branding for sponsored maps
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>A simple map</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox.js/v2.1.9/mapbox.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v2.1.9/mapbox.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }

A quarter million US roads added and aligned

Since September 2012 our team has aligned 260,309 roads in the United States. For this process we use fresh US government TIGER data to show where OpenStreetMap data is out of date, then we trace from imagery as needed and use road names from TIGER. (For a background on TIGER data in OpenStreetMap read Eric Fischer's blog post).

Here's the map showing the extent of the issue. Pink lines are the progress over US. Full interactive map.

We continue our work on TIGER with @MateoV's recent analysis that further focuses our TIGER work. This analysis looks only at areas with high Twitter

A quarter million US roads added and aligned

Since September 2012 our team has aligned 260,309 roads in the United States. For this process we use fresh US government TIGER data (for a background read Eric Fischer's blog post) to show where OpenStreetMap data is out of date, then we trace from imagery as needed and use road names from TIGER.

Here's the map showing the extent of the issue. Pink lines are the progress over US. Full interactive map.

We continue our work on TIGER with @MateoV's recent analysis that focuses on TIGER issues in areas with high Twitter traffic, missing roads, naming issues and road lengths ov

260 309 US roads added and aligned

Since SEPTEMBER 2012 our team has aligned 260 309 roads in the United States. For this process we use fresh US government TIGER data (for a background read Eric Fischer's blog post) to show where OpenStreetMap data is out of date, then we trace from imagery as needed and use road names from TIGER.

Here's the map showing the extent of the issue. Pink lines are the progress over US. Full interactive map.

XX,000 US roads added and aligned

Since MONTH YEAR our team has aligned XX,000 roads in the United States. For this process we use fresh US government TIGER data (for a background read Eric Fischer's blog post) to show where OpenStreetMap data is out of date, then we trace from imagery as needed and use road names from TIGER.

Here's the map showing the extent of the issue. Pink lines are the progress over US. Full interactive map.

![]()