Skip to content

Instantly share code, notes, and snippets.

@iriberri
iriberri / config.json
Created May 18, 2015 13:01
Torque named map
{
"version": "0.0.1",
"name": "namedmap_tutorial_14",
"auth": {
"method": "open"
},
"layergroup": {
"layers": [{
"type": "torque",
"options": {

Keybase proof

I hereby claim:

  • I am iriberri on github.
  • I am iriberri (https://keybase.io/iriberri) on keybase.
  • I have a public key ASD99iGR_2JJEQwZHPWKMn66eSDac7zuOX-Kkyu_ghkttQo

To claim this, I am signing this object:

@iriberri
iriberri / CMakeLists.txt
Created April 6, 2017 12:26
Substituting Kindr's CMakeLists.txt file to find eigen
# Copyright (c) 2013, Christian Gehring, Hannes Sommer, Paul Furgale, Remo Diethelm
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
@iriberri
iriberri / index.html
Last active January 17, 2017 18:44
Cluster two layers by category
<!DOCTYPE html>
<html>
<head>
<title>Leaflet multilayer example | CartoDB.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%;
@iriberri
iriberri / index.html
Created January 4, 2016 18:13
Features as links
<!DOCTYPE html>
<html>
<head>
<title>Leaflet example | CartoDB.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%;
@iriberri
iriberri / index.html
Last active January 4, 2016 18:13
Features as links
<!DOCTYPE html>
<html>
<head>
<title>Leaflet example | CartoDB.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%;
@iriberri
iriberri / index.html
Created September 22, 2015 12:18
Obtaining a fixed embed URL for specific coordinates
<!DOCTYPE html>
<html>
<head>
<title>Get coordinates of geometry | CartoDB.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%;
@iriberri
iriberri / index.html
Created October 16, 2015 15:28
Basic filtering with SQL through createLayer
<!DOCTYPE html>
<html>
<head>
<title>Annotation element (no ball) | CartoDB.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: 90%;
@iriberri
iriberri / index.html
Created October 16, 2015 15:28
Basic filtering with SQL through createLayer
<!DOCTYPE html>
<html>
<head>
<title>Annotation element (no ball) | CartoDB.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: 90%;
@iriberri
iriberri / index.html
Created October 16, 2015 15:26
Basic filtering through SQL with createVis
<!DOCTYPE html>
<html>
<head>
<title>Basemap example | CartoDB.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: 90%;