Skip to content

Instantly share code, notes, and snippets.

View lhcramer's full-sized avatar

Laurence Cramer lhcramer

View GitHub Profile
@lhcramer
lhcramer / User Content Archive.md
Created November 17, 2017 17:13
User Content Archiver

Workflow and Structure for Content Resource Archive

The purpose of this document is to outline the directory structure and workflow of archiving content uploaded to instances of mapstory in order to create an easily scriptable re-import method for major platform changes and data migration.

A successful implementation of this strategy will require:

  • Full outline of Data Model(s) for user-created content
  • Use of Standard formats for long-term interoperability
  • Stakeholder engagement to verify the completeness and validity of strategy.
@lhcramer
lhcramer / gaussian_elim.py
Created October 10, 2015 22:21 — forked from num3ric/gaussian_elim.py
Gaussian elimination using NumPy.
import numpy as np
def GENP(A, b):
'''
Gaussian elimination with no pivoting.
% input: A is an n x n nonsingular matrix
% b is an n x 1 vector
% output: x is the solution of Ax=b.
% post-condition: A and b have been modified.
'''

Author: Sean Gillies Version: 1.0

Abstract

This document describes a GeoJSON-like protocol for geo-spatial (GIS) vector data.

Introduction