Skip to content

Instantly share code, notes, and snippets.

View jonahadkins's full-sized avatar
🌎
hi!

Jonah Adkins jonahadkins

🌎
hi!
View GitHub Profile
@jgravois
jgravois / .block
Last active January 1, 2022 06:33
Esri OSM vector tiles in mapbox-gl-js
license: apache-2.0
@zross
zross / non-gis-y-webmapping.md
Last active February 8, 2019 18:01
Web mapping applications with multiple layers

Suggestions from Twitter for more "elegant" web mapping applications

Specifically I'm looking for web mapping applications that include multiple layers and don't look like an ArcGIS clone -- perhaps something that looks like it was designed by a designer rather than a GIS tech :) This is a list of responses from Twitter, many of which do look GIS-y so more suggestions are welcome...

@wboykinm
wboykinm / compile_zillow_neighborhoods.sh
Last active July 9, 2020 18:40
Quickly compile all of Zillow's neighborhood geodata into a single national file
# Data courtesy of Zillow, attribution required: https://www.zillow.com/howto/api/neighborhood-boundaries.htm
# Requires GDAL/OGR: http://www.gdal.org/
STATES=("AL" "AK" "AZ" "AR" "CA" "CO" "CT" "DC" "DE" "FL" "GA" "HI" "ID" "IL" "IN" "IA" "KS" "KY" "LA" "ME" "MD" "MA" "MI" "MN" "MS" "MO" "MT" "NE" "NV" "NH" "NJ" "NM" "NY" "NC" "ND" "OH" "OK" "OR" "PA" "RI" "SC" "SD" "TN" "TX" "UT" "VT" "VA" "WA" "WV" "WI")
rm -rf zillow_neighborhoods.*
for s in "${STATES[@]}"; do
echo "Processing $s"
wget -c https://www.zillowstatic.com/static/shp/ZillowNeighborhoods-$s.zip -O $s.zip
unzip $s.zip
@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.
@wknowles
wknowles / creating-coastal-vignettes-for-web-mapping.md
Last active December 31, 2017 17:27
a guide to creating coastal vignettes for use in web maps. Using Natural Earth data, GDAL and QGIS.

Creating coastal vignettes for web mapping.

Summary

To start with I downloaded Natural Earth 1:50m land shapefile. This was then reprojected to Web Mercator / EPSG:3857. I ran a series of buffers on the reprojected shapefile within QGIS. These were then combined, exported to Mapbox and styled. The final map turned out like this:

coastal vignetts

View the full web map on Mapbox.

@mvexel
mvexel / maproulette-tutorial.md
Last active December 2, 2016 15:34
maproulette-tutorial.md

MapRoulette Challenge Tutorial (ßeta)

This tutorial is for MapRoulette 1 which is no longer active. Please see the MapRoulette 2 wiki for up to date documentation.

You have played MapRoulette. You have seen some of the fun challenges. If you are reading this, you are probably thinking: 'I have a great idea for the next MapRoulette challenge!'

maproulette

Great! That is exactly what I am here to explain step by step. So let's get started!

@mapmeld
mapmeld / mapboxgl.md
Last active March 4, 2019 15:12
Getting Started with MapBoxGL

Getting Started

I recently made my first map with MapBox's new WebGL+JavaScript API. There aren't many examples of how to do this yet, even on MapBox's API page, so I'll document my own experience here.

The Van Gogh Map

My map is made of several textures taken from Van Gogh paintings. The long-term goal is to allow a user to select which artworks they want to take textures from, but for now there is just one setting.

Why are we changing maps?

@afair
afair / tmux.cheat
Last active June 3, 2024 23:26
Tmux Quick Reference & Cheat sheet - 2 column format for less scrolling!
========================================== ==========================================
TMUX COMMAND WINDOW (TAB)
========================================== ==========================================
List tmux ls List ^b w
New new -s <session> Create ^b c
Attach att -t <session> Rename ^b , <name>
Rename rename-session -t <old> <new> Last ^b l (lower-L)
Kill kill-session -t <session> Close ^b &
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active November 15, 2024 09:51
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname