Skip to content

Instantly share code, notes, and snippets.

Ryan Cooper maptastik

Block or report user

Report or block maptastik

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@maptastik
maptastik / README.md
Last active Aug 29, 2015
Bluegrass 10,000 Results - 2015
@maptastik
maptastik / README.md
Last active Aug 29, 2015
Map of 2015 Bluegrass 10,000 participants by hometown made using CartoDB and CartoDB.js
View README.md

This map was made using CartoDB and CartoDB.js. Data were extracted from Chronotrack and compiled as a CSV. Counts for each town were derived in Google Sheets. The locations were then geocoded and cleaned further in CartoDB.

@maptastik
maptastik / index.html
Last active Aug 29, 2015
My first Mapsense
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="http://d3js.org/topojson.v1.min.js" charset="utf-8"></script>
<script src="https://developer.mapsense.co/mapsense.js" charset="utf-8"></script>
<link type="text/css" href="https://developer.mapsense.co/mapsense.css" rel="stylesheet"/>
@maptastik
maptastik / README.md
Created Jul 10, 2015
Basic web project boilerplate
View README.md
@maptastik
maptastik / README.md
Last active Aug 29, 2015
My first ArcGIS API for JavaScript map
View README.md
@maptastik
maptastik / local-serve.bat
Created Jul 12, 2015
Run Python simple server
View local-serve.bat
ECHO OFF
ECHO Starting SimpleHTTPServer
python -m SimpleHTTPServer
@maptastik
maptastik / runs.geojson
Created Jul 13, 2015
Gist of runs in Lexington, 12/2013- 7/11/15
View runs.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@maptastik
maptastik / README.md
Last active Aug 29, 2015
Esri-Leaflet with feature service and clicky popup
View README.md
@maptastik
maptastik / README.md
Last active Aug 29, 2015
Querying a related table in a feature service using Esri-Leaflet & Esri-Leaflet-Related
View README.md

Just some experimentation with Esri-Leaflet. Basically, we have a feature service for our parcel data that is split into two layers: geometry and attribute data. The attribute data is a related table. Natively, Esri-Leaflet doesn't query data from a related table. Luckily Esri-Leaflet-Related exists. It's in beta and uses a release candidate build (I think that's the term) of Esri-Leaflet 1.0.0, but I was able to use it to pull data from the related attribute table and make it so that when the user hovers over a parcel (geometry), an info pane shows the parcel's address (related attribute table). When the user clicks, a table appears with more info about the parcel (related attribute table).

@maptastik
maptastik / error
Last active Aug 29, 2015
Troubleshooting errors while trying to install pip
View error
PS C:\Python27\ArcGIS10.2\Lib\site-packages> python get-pip.py
Traceback (most recent call last):
File "get-pip.py", line 20204, in <module>
main()
File "get-pip.py", line 152, in main
bootstrap(tmpdir=tmpdir)
File "get-pip.py", line 82, in bootstrap
import pip
File "c:\users\ryanco~1\appdata\local\temp\tmpbwqs3j\pip.zip\pip\__init__.py", line 13, in <module>
File "c:\users\ryanco~1\appdata\local\temp\tmpbwqs3j\pip.zip\pip\utils\__init__.py", line 22, in <module>
You can’t perform that action at this time.