Skip to content

Instantly share code, notes, and snippets.

View mpiannucci's full-sized avatar

Matthew Iannucci mpiannucci

View GitHub Profile
{
"format": "image/png",
"filename": "fractional-scale-test.png",
"frames": [
{
"maptime": "2020-08-30T12:00:00Z",
"title": "2020-08-30T12:00:00Z",
"overlays": [
{
"type": "tile",
@mpiannucci
mpiannucci / polygonize.js
Last active March 4, 2022 21:20
D3 polygonize
import { contours } from 'd3-contour';
import * as GeoTIFF from 'geotiff';
import * as fs from 'fs';
const minLng = -95.9791062729049;
const minLat = 29.468568269199807;
const maxLng = -94.87582655116825;
const maxLat = 30.377703838800894;
let vals = undefined;
@mpiannucci
mpiannucci / dbofs.ipynb
Last active March 6, 2023 20:22
NODD Kerchunk
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mpiannucci
mpiannucci / index.css
Last active December 15, 2022 17:52
Client Side Contouring WMS Data with d3
.fill-window {
height: 100%;
position: absolute;
left: 0;
width: 100%;
overflow: hidden;
}
body {
margin: 0px;
}
@mpiannucci
mpiannucci / README.md
Created November 20, 2023 20:36
XPublish demo

Create virtual environment

python3 -m venv env/

Activate virtual environment

source env/bin/activate