Skip to content

Instantly share code, notes, and snippets.

View maptastik's full-sized avatar

Ryan Cooper maptastik

View GitHub Profile
@maptastik
maptastik / index.html
Created December 2, 2016 16:29
jQuery Geo starter
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jQuery Geo - Starter</title>
<style>
/* Fill the window with our map */
body {
margin: 0;
@maptastik
maptastik / .block
Created December 2, 2016 05:16
Simple Map w/ external GeoJSON, Promises, and jQuery Geo
license: mit
@maptastik
maptastik / .block
Created November 8, 2016 04:45
Bing Map w/ GeoJSON
license: mit
@maptastik
maptastik / .block
Last active January 30, 2017 03:13
MapzenJS w/ a feature layer
license: mit
scrolling: yes
border: yes
@maptastik
maptastik / shity-python.py
Created October 24, 2016 20:13
Pile of garbage python to clip a bunch of vector layers by a single vector layer in arcgis
# This requires arcpy and having ArcGIS open
# Maybe this is the beginning of something useful
# Right now it's just conceptually something taht can be used to clip a bunch of layers by the same feature
import arcpy
layers = ["BRIDGE","MUNICIPAL","FENCE","HYDRO_LINE","RR","BUILDING","AUC","PARKING","ROADS","HYDRO_POLY","Parcels","Contours"]
clipper = "IndianCreekRd_1_buff100"
i = 0
@maptastik
maptastik / index.html
Last active October 13, 2016 16:29
KAMP2016: AGOL, Leaflet, Esri-Leaflet, and Turf
<html>
<head>
<meta charset=utf-8 />
<title>KAMP2016 Presentation LSC - Past Projects</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<!-- Load Leaflet from CDN-->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" />
<script src="https://unpkg.com/[email protected]/dist/leaflet-src.js"></script>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@maptastik
maptastik / notepaddycakes.js
Created August 24, 2016 03:15
A bookmarklet to turn a browser into a notepad
javascript:(function()%7Blocation.assign(%22data%3Atext%2Fhtml%2C%20%3Chtml%20contenteditable%3E%22)%7D)()
@maptastik
maptastik / .block
Last active August 19, 2016 14:03
Lexington, KY - 1855
license: gpl-3.0
scrolling: no
height: 0