Skip to content

Instantly share code, notes, and snippets.

View neogeomat's full-sized avatar

amritkarma neogeomat

  • Survey Department, Nepal
  • Bhaktapur, Nepal
View GitHub Profile
@migurski
migurski / merge-geojsons.py
Created September 21, 2012 03:43
Merge multiple GeoJSON files into one
from json import load, JSONEncoder
from optparse import OptionParser
from re import compile
float_pat = compile(r'^-?\d+\.\d+(e-?\d+)?$')
charfloat_pat = compile(r'^[\[,\,]-?\d+\.\d+(e-?\d+)?$')
parser = OptionParser(usage="""%prog [options]
Group multiple GeoJSON files into one output file.
@nrenner
nrenner / 62428.geojson
Last active March 24, 2023 11:40
Inverse fill area (GeoJSON)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

I've rendered out two map layers with pre-typhoon Landsat 8 imagery. This is very low resolution (15 m) but may help fill in major highways and rivers for areas that still lack better coverage. They include clouds because I found that splicing them together can introduce seam artifacts that could be mistaken for roads.

The layer templates are: