Skip to content

Instantly share code, notes, and snippets.

View brendan-ward's full-sized avatar

Brendan Ward brendan-ward

View GitHub Profile
@brendancol
brendancol / rasterio_datashader_polygons.py
Last active December 17, 2020 21:43
Datashader + Rasterio for Polygon shading (40K Polygons, 81M Vertices)
from __future__ import division
from functools import partial
import pyproj
from shapely.ops import transform
import numpy as np
from rasterio import features
from affine import Affine
import fiona
package main
import (
"log"
"net/http"
"os"
)
var port = "8080"
var root = "."