Skip to content

Instantly share code, notes, and snippets.

View mejackreed's full-sized avatar
🐧

Jack Reed mejackreed

🐧
View GitHub Profile
@mejackreed
mejackreed / LICENSE.txt
Last active May 2, 2017 17:33
Leaflet-IIIF inset of a missing image from a manuscript
MIT License
Copyright (c) 2016 Jack Reed
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="UTF-8"?>
<xml>
<records>
<record>
<database name="MASTER ENDNOTE 2015-10-02.enl" path="/Users/blalbrit/Downloads/BibData02October2015 3/MASTER ENDNOTE 2015-10-02.enl">MASTER ENDNOTE 2015-10-02.enl</database>
<source-app name="EndNote" version="18.0">EndNote</source-app>
<rec-number>4349</rec-number>
<foreign-keys>
<key app="EN" db-id="wdp2swwp12xva2ep20tvsaxnzadt55twszvd">4349</key>
</foreign-keys>
require 'nokogiri'
$druids_size = {
'A Declaration 1561' => 'dg156sv6886'# ,
# 'Abbott 1900' => 'sk095st1718',
# 'Abbott 1900' => 'wx717zj2675',
# 'Abdias 1560' => 'dw493fs0065',
# 'Abel 1955' => 'zx084gk1026',
# 'Aberth 1992' => 'md506kt8712',
# 'Aberth 1996' => 'yn324cn5860',

Title

Using GeoBlacklight for Geospatial Discovery

Organizers

  • Darren Hardy, Stanford University
  • Jack Reed, Stanford University
  • others?
@mejackreed
mejackreed / 30700296626_2b93f17333_o.jpg
Last active February 22, 2017 23:53
Some permissive images to be used for workshops
30700296626_2b93f17333_o.jpg
@mejackreed
mejackreed / app.js
Last active March 15, 2017 20:03
Creating an index map preview in GeoBlacklight
var map = L.map('map');
L.tileLayer('https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>, Tiles courtesy of <a href="http://hot.openstreetmap.org/" target="_blank">Humanitarian OpenStreetMap Team</a>'
}).addTo(map);
var template = '<div style="min-height: 340px;"><h2>{title}</h2><div><a href="{url}" target=_blank><img src="{thumbnail}" style="max-width: 300px;"/></a></div>'
function onEach(feature, layer) {
@mejackreed
mejackreed / LICENSE.txt
Last active February 8, 2017 19:35
Leaflet-IIIF Cropping, restoring from a crop
MIT License
Copyright (c) 2017 Jack Reed
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@mejackreed
mejackreed / default.jpg
Last active January 18, 2017 16:56
unhappy posterization
default.jpg
@mejackreed
mejackreed / LICENSE.txt
Last active February 29, 2020 23:27
Leaflet w/ static IIIF tile + Annotation
MIT License
Copyright (c) 2017 Jack Reed
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@mejackreed
mejackreed / 03802b60-bf07-4c60-bfa9-325d8ab27bf3.json
Last active January 4, 2017 21:30
A sampling of Data.Gov metadata converted to GeoBlacklight-Schema
{"dc_identifier_s":"03802b60-bf07-4c60-bfa9-325d8ab27bf3","dc_title_s":"2013 Vectorized Shoreline for Breton Island, Louisiana (Geographic, NAD83)","dc_rights_s":"Public","layer_geom_type_s":"dataset","dct_provenance_s":"U.S. Geological Survey, Department of the Interior","layer_slug_s":"2013-vectorized-shoreline-for-breton-island-louisiana-geographic-nad83","solr_geom":"ENVELOPE(-89.181425, -89.170450, 29.497212, 29.475592)","dc_subject_sm":["shoreline","usa","shoreline map","la","shoreline data","vectorization","lidar","coastal","mean high water","gulf of mexico","louisiana","breton island","2013"]}