Skip to content

Instantly share code, notes, and snippets.

View andy-esch's full-sized avatar
🌳

Andy Eschbacher andy-esch

🌳
View GitHub Profile
@andy-esch
andy-esch / osgeo.md
Last active August 29, 2015 14:15
OSGEO: PostGIS in CartoDB
@andy-esch
andy-esch / README.md
Last active August 29, 2015 14:15
Named map selectors with interaction

Webinar Write-up

Andy Eschbacher | Map Scientist | CartoDB | @MrEPhysics | [email protected]

Find this document here: http://bit.ly/cdb-namedmaps

You can easily make Named Maps through the CartoDB Editor anytime you create a public visualization with your private data. Just because the visualization is public doesn't mean that your data is exposed. Only the data that is sent is the data that you configure ahead of time.

Making Named Maps in CartoDB.js is similar but requires more technical skills.

@andy-esch
andy-esch / index.html
Created February 14, 2015 18:50
Torque map with toggle controls
<!DOCTYPE html>
<html>
<head>
<title>CartoDB</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" />
<link rel="stylesheet" href="http://code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css">
<link rel="stylesheet" href="http://libs.cartocdn.com/cartodb.js/v3/3.12/themes/css/cartodb.css" />
@andy-esch
andy-esch / index.html
Last active August 29, 2015 14:15
Tile Explorer
<!DOCTYPE html>
<html>
<head>
<title>Tile Explorer | CartoDB</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" />
<!-- Map takes up full browser window -->
<style>
@andy-esch
andy-esch / README.md
Last active August 29, 2015 14:16
Plotly + CartoDB combo
@andy-esch
andy-esch / sql.sql
Last active May 7, 2019 17:30
Move Alaska and Hawaii under AZ/NM
-- Convert your states (or other geometries id'd by state) to
-- display as with Alaska, Hawaii, and Puerto Rico transcaled
--
-- @param g: input geometry
-- @param state: column identifying the state (name, postal abbreviation, state FP)
--
-- output: geometries of states in albers projections of the states
--
-- Projections:
@andy-esch
andy-esch / index.md
Last active August 29, 2015 14:16
Cornell Data Science Hackathon
@andy-esch
andy-esch / stanford-workshop.md
Last active October 9, 2015 22:28
Stanford CartoDB Workshop 3/9/2015
@andy-esch
andy-esch / index.html
Last active August 29, 2015 14:17
tours of a dataset using torque.js
<!DOCTYPE html>
<html>
<head>
<title>Map Academy | CartoDB.js &amp; Torque.js</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<link rel="shortcut icon" href="http://cartodb.com/assets/favicon.ico" />
<style>
html, body, #map {
height: 100%;
@andy-esch
andy-esch / index.html
Last active August 29, 2015 14:19
custom hoverwindows using callback objects
<!DOCTYPE html>
<html>
<head>
<title>
customhoverwindows | CartoDB
</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />