Skip to content

Instantly share code, notes, and snippets.

@michellemho
michellemho / index.html
Last active November 10, 2016 16:45
Ten Minute Map
<!DOCTYPE html>
<html lang="en">
<head>
<title>San Juan Island</title>
<meta charset="utf-8">
<link rel="stylesheet" href="https://mapzen.com/js/mapzen.css">
<script src="https://mapzen.com/js/mapzen.min.js"></script>
<style>
#map {
height: 100%;
@michellemho
michellemho / election.md
Last active November 18, 2016 02:19
Who Voted for Who?
@michellemho
michellemho / color_ramp_problem.md
Created December 20, 2016 23:10
CARTOColor ramp unexpected behavior

POIs within 400m of CARTO using Overpass API

The best way to retrieve POIs in OSM Overpass API is to query for nodes and ways that have a NAME. In the case of WAYS, return only BUILDINGS (as opposed to streets).

http://overpass-turbo.eu/s/kUM

( node ["name"] (around:400,40.704301,-73.936658);

#POIs within 400m of CARTO using Overpass API

The best way to retrieve POIs in OSM Overpass API is to query for nodes and ways that have a NAME. In the case of WAYS, return only BUILDINGS (as opposed to streets).

http://overpass-turbo.eu/s/kUM

(
  node
    ["name"]
 (around:400,40.704301,-73.936658);
@michellemho
michellemho / InfoConnect.md
Last active February 2, 2017 15:24
InfoConnect review
@michellemho
michellemho / Sirene_description.md
Last active January 30, 2017 22:41
SIRENE Data

About SIRENE

The Sirene® database provides information on French companies and establishments. It contains economic and legal information on 10 million companies and establishments.

Available for download from the website data.gouv.fr:

  • The complete Sirene® distribution base of active establishments on the last day of the previous month
  • The daily update files for the current month
  • Monthly updates file for the previous month

http://www.data.gouv.fr/fr/datasets/base-sirene-des-entreprises-et-de-leurs-etablissements-siren-siret/