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
Last active February 8, 2017 15:46
Loading external GeoJSON (Promises): Request data
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Starter map</title>
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" />
<style>
body {
margin: 0;
@maptastik
maptastik / index.html
Last active February 7, 2017 20:43
Loading external GeoJSON (Promises): Add jQuery
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Starter map</title>
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" />
<style>
body {
margin: 0;
@maptastik
maptastik / index.html
Created February 7, 2017 15:47
Loading external GeoJSON (Promise Method): Boilerplate
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Starter map</title>
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" />
<style>
body {
margin: 0;
@maptastik
maptastik / fences.geojson
Last active February 7, 2017 04:12
Public Housing Fences, Lexington, KY
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@maptastik
maptastik / kyCounties.geojson
Last active November 27, 2018 22:54
Kentucky Example Data
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@maptastik
maptastik / raleighPOI.geojson
Last active January 25, 2017 16:19
Points of Interest in Raleigh
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@maptastik
maptastik / index.html
Last active January 17, 2017 04:15
jQuery Geo - Single Marker
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jQuery Geo - Starter</title>
<style>
body {margin: 0;padding: 0;}
#map {
position: absolute;
@maptastik
maptastik / README.md
Created January 12, 2017 18:19
Export Data Driven Pages from ArcGIS in bulk as JPG and/or PDF

ddp_export.py

The purpose of this script is to bulk export data driven pages from ArcGIS. It generates output as JPG and/or PDF based on user input. This by inspired by an answer [the question about exporting data driven pages on GIS Stack Exchage] (http://gis.stackexchange.com/a/67520/27257).

To run this script:

  1. Open up cmd.exe (Command Prompt)
  2. Copy the location of where this script is located
  3. In the command prompt navigate to the directory containing this script: cd <path to directory>
  4. In the command prompt run the script: python ddp_export.py
  5. Follow the instructions.
@maptastik
maptastik / georgetown_ky_general.geojson
Last active December 1, 2018 16:21
Super-generalized outline of Georgetown, KY
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@maptastik
maptastik / index.html
Created December 2, 2016 16:44
jQuery Geo - Simple Map
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>jQuery Geo - Starter</title>
<style>
body {margin: 0;padding: 0;}
#map {
position: absolute;