Skip to content

Instantly share code, notes, and snippets.

View chelm's full-sized avatar

Christopher Helm chelm

View GitHub Profile
gistup
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
margin: 0;
}
.map {
position: relative;
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
margin: 0;
}
.map {
position: relative;
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
http://chelm.github.io/presentations/oscon2014/#0
https://github.com/chelm/geodata
https://github.com/colemanm/hurricanes/blob/master/fl_2004_hurricanes.geojson
http://koop.dc.esri.com/github/colemanm/hurricanes/fl_2004_hurricanes
http://www.arcgis.com/home/webmap/viewer.html?url=http://koop.dc.esri.com/github/colemanm/hurricanes/fl_2004_hurricanes/FeatureServer/0
https://data.nola.gov/
https://data.nola.gov/Geographic-Reference/NOLA-Short-Term-Rentals-Map/psp3-bvzw
https://data.nola.gov/resource/psp3-bvzw.json
http://koop.dc.esri.com/socrata/nola/psp3-bvzw
http://dcdev.maps.arcgis.com/home/webmap/viewer.html?webmap=d67705228a7c4bc5921fbfdbb8e1a198
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chelm
chelm / app.js
Created January 27, 2015 17:53
koop cors
(function(){
d3.json("http://koop.dc.esri.com/agol/arcgis/98407d88908c46d688d117729931f2c2/12.geojson", function(error, data) {
d3.select('body').append('h1').text(data.features.length+ ' features that are awesome');
});
})();
@chelm
chelm / 0_reuse_code.js
Last active August 29, 2015 14:19
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@chelm
chelm / w4jdqx27l
Created July 31, 2015 15:04
This is a new map
{"item":{"title":"New Map","snippet":"This is a new map","extent":[[-180.03499999970396,-58.51971418559515],[179.9650000002027,82.09947876058956]]},"itemData":{"operationalLayers":[{"url":"http://tmservices1.esri.com/arcgis/rest/services/LiveFeeds/NOAA_METAR_current_wind_speed_direction/MapServer/1","visibility":true,"opacity":0.78,"mode":1,"id":"graphicsLayer0","layerDefinition":{"drawingInfo":{"renderer":{"type":"classBreaks","field":"WIND_SPEED","minValue":1,"classBreakInfos":[{"symbol":{"color":[247,104,161,77],"size":4,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[255,255,255,255],"width":0.5,"type":"esriSLS","style":"esriSLSSolid"}},"label":0,"classMaxValue":0},{"symbol":{"color":[247,104,161,77],"size":10,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[255,255,255,255],"width":0.5,"type":"esriSLS","style":"esriSLSSolid"}},"label":"> 0 to 6.25","classMaxValue":6.25},{"symbol":{"color":[247,104,161,77],"size":