Skip to content

Instantly share code, notes, and snippets.

Bill Morris wboykinm

Block or report user

Report or block wboykinm

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
wboykinm / .block
Created Jun 29, 2016
Satellite Projection
View .block
license: gpl-3.0

Playing around with the idea of snapping to a latlon grid, by rounding the latlon values of my mouse coordinates to 1 decimal place.

Not exactly sure how this will be useful, but it could be an interesting way to interact with a values binned to a grid on the globe.

Built with

forked from enjalot's block: geosnap

forked from anonymous's block: geosnap

View coloring-lidar.html
<title>Deckgl RGB PointCloud + Mapbox</title>
<script src="^7.0.0/dist.min.js"></script>
<script src=""></script>
<link rel="stylesheet" type="text/css" href="">
body {
background-color: #000000;
margin: 0;
wboykinm / geojson.php
Last active Oct 21, 2019
Sample PHP to Point GeoJSON
View geojson.php
* PHP GeoJSON Constructor, adpated from
# Connect to MySQL database
$conn = new PDO('mysql:host=localhost;dbname=mydatabase','myusername','mypassword');
# However the User's Query will be passed to the DB:
$sql = 'SELECT * from GDA_database WHERE user_query = whatever';
View us-states.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
wboykinm / footgun.sql
Last active Oct 4, 2019
Footgun - delete a whole mess of tables by wildcard, with cascade. Obviously this will blow up in your face at some point.
View footgun.sql
CREATE OR REPLACE FUNCTION footgun(IN _schema TEXT, IN _parttionbase TEXT)
LANGUAGE plpgsql
row record;
FOR row IN
wboykinm / index.html
Last active Sep 27, 2019
Old BTV Finder
View index.html
<!DOCTYPE html>
<title>Leaflet mobile example</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="" />
<!--[if lte IE 8]><link rel="stylesheet" href="" /><![endif]-->
wboykinm / .block
Last active Sep 13, 2019
Bivariate cartogram
View .block
license: mit
wboykinm / index.html
Created May 6, 2014
Passages - Moving a marker along a line
View index.html
<!DOCTYPE html>
<meta charset=utf-8 />
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<script src=''></script>
<script src='passages.js'></script>
View large_us_cities.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.