Skip to content

Instantly share code, notes, and snippets.

@eliotjordan
eliotjordan / info.json
Created December 2, 2025 18:59
TileJSON.io - Aerial photography of New Orleans, May 2006 [map]Aerial photography of New Orleans, May 2006 [map]
{
"baseLayer": {
"tilejson": "2.2.0",
"name": "base",
"version": "1.0.0",
"scheme": "xyz",
"tiles": [
"https://a.tile.openstreetmap.org/{z}/{x}/{y}.png"
]
},
@eliotjordan
eliotjordan / info.json
Created December 2, 2025 18:58
TileJSON.io - Aerial photography of New Orleans, May 2006 [map]
{
"baseLayer": {
"tilejson": "2.2.0",
"name": "base",
"version": "1.0.0",
"scheme": "xyz",
"tiles": [
"https://a.tile.openstreetmap.org/{z}/{x}/{y}.png"
]
},
@eliotjordan
eliotjordan / gist:e2946fd93fc45eb90626eed9ab44bd21
Last active October 13, 2025 20:57
annoation-example.json
{
"type": "AnnotationPage",
"@context": "http://www.w3.org/ns/anno.jsonld",
"items": [
{
"id": "https://annotations.allmaps.org/maps/47499d84a5b2c6b2",
"type": "Annotation",
"@context": [
"http://iiif.io/api/extension/georef/1/context.json",
"http://iiif.io/api/presentation/3/context.json"
{
"@context": [
"http://www.w3.org/ns/anno.jsonld",
"http://iiif.io/api/presentation/3/context.json"
],
"type": "Manifest",
"id": "https://figgy.princeton.edu/concern/scanned_resources/480ef315-411f-4176-832b-956c3fa005a0/manifest",
"label": {
"eng": [
"[Concert, 2015, January 09-10] [sound recording]"
@eliotjordan
eliotjordan / info.json
Created August 26, 2022 18:46
TileJSON.io - Greece Raster
{
"baseLayer": {
"tilejson": "2.2.0",
"name": "base",
"version": "1.0.0",
"scheme": "xyz",
"tiles": [
"https://a.tile.openstreetmap.org/{z}/{x}/{y}.png"
]
},
@eliotjordan
eliotjordan / info.json
Created August 24, 2022 15:53
TileJSON.io - India and Pakistan 1:250,000
{
"baseLayer": {
"tilejson": "2.2.0",
"name": "base",
"version": "1.0.0",
"scheme": "xyz",
"tiles": [
"https://a.tile.openstreetmap.org/{z}/{x}/{y}.png"
]
},
@eliotjordan
eliotjordan / degrees2meters.js
Created April 12, 2022 01:38 — forked from onderaltintas/degrees2meters.js
javascript coordinate conversions between 900913(3857) - 4326(lat lon)
var degrees2meters = function(lon,lat) {
var x = lon * 20037508.34 / 180;
var y = Math.log(Math.tan((90 + lat) * Math.PI / 360)) / (Math.PI / 180);
y = y * 20037508.34 / 180;
return [x, y]
}
//test
lon= -77.035974
lat = 38.898717
@eliotjordan
eliotjordan / info.json
Created February 2, 2022 21:26
TileJSON.io - The Balkans [and] Turkey : G.S.G.S. no. 2097
{
"baseLayer": {
"tilejson": "2.2.0",
"name": "base",
"version": "1.0.0",
"scheme": "xyz",
"tiles": [
"https://a.tile.openstreetmap.org/{z}/{x}/{y}.png"
]
},
@eliotjordan
eliotjordan / info.json
Created January 28, 2022 19:06
TileJSON.io - Balkans
{
"baseLayer": {
"tilejson": "2.2.0",
"name": "base",
"version": "1.0.0",
"scheme": "xyz",
"tiles": [
"https://a.tile.openstreetmap.org/{z}/{x}/{y}.png"
]
},
@eliotjordan
eliotjordan / WMTSCapabilities.xml
Created December 14, 2021 19:14
WMTSCapabilities.xml - Example
<Capabilities xmlns="http://www.opengis.net/wmts/1.0" xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml" xsi:schemaLocation="http://www.opengis.net/wmts/1.0 http://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd" version="1.0.0">
<ows:ServiceIdentification>
<ows:Title>"Cloud Optimized GeoTIFF"</ows:Title>
<ows:ServiceType>OGC WMTS</ows:ServiceType>
<ows:ServiceTypeVersion>1.0.0</ows:ServiceTypeVersion>
</ows:ServiceIdentification>
<ows:OperationsMetadata>
<ows:Operation name="GetCapabilities">
<ows:DCP>
<ows:HTTP>