Skip to content

Instantly share code, notes, and snippets.

View maning's full-sized avatar

Maning Sambale maning

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@maning
maning / import_palsar.sh
Created July 9, 2015 09:06
Import PALSAR 25m data to GRASS GIS
#!/bin/sh -x
#
############################################################################
#
# MODULE: import_palsar.sh
# AUTHOR(S): Maning Sambale - http://www.essc.org.ph
# PURPOSE: Import PALSAR 25m data to GRASS GIS
#
#
# COPYRIGHT: (C) 2013 Maning Sambale, ESSC
@maning
maning / forest_fraction_riitters.sh
Last active August 29, 2015 14:24
Old forest fragmentation scripts
#!/bin/sh -x
############################################################################
#
# MODULE: r.forestfrag
#
# AUTHOR(S): Emmanuel Sambale [hidden email] [hidden email]
#
# PURPOSE: Creates forest fragmentation index map from a raster vegetation file
# The index map was based on Riitters, K., J. Wickham, R. O'Neill, B. Jones,
# and E. Smith. 2000. Global-scale patterns of forest fragmentation. Conservation
@maning
maning / export.py
Created January 12, 2012 01:54 — forked from rosskarchner/export.py
extract tiles from an mbtiles file
import sqlite3, os
conn = sqlite3.connect('Mills1860.mbtiles')
results=conn.execute('select * from tiles').fetchall()
for result in results:
zoom, column, row, png= result
try:
os.makedirs('%s/%s/' % (zoom, row))
@maning
maning / wfs2postgis.sh
Created September 27, 2012 01:28 — forked from walkermatt/wfs2postgis.sh
WFS to PostGIS
# Example of downloading all data from a GeoServer WFS server
# and loading it into a PostGIS database. Use with caution
# as you could put a lot of load on someone's server if they
# host a lot of data which might make them sad.
# In response to: http://underdark.wordpress.com/2012/09/26/wfs-to-postgis-in-3-steps/
BASEURL="http://data.wien.gv.at/daten/geoserver/ows?service=WFS&version=1.1.0"
for LAYERNAME in `wget -qO- $BASEURL"&request=GetCapabilities" | xpath -q -e "//FeatureType/Name/text()"` ; do
PARTS=(${LAYERNAME//:/ })

Tasking Manager status

No new projects created. Please continue working on the 2 active projects:

Please focus on Manzanillo where it was reported to have greater damage among the coastal settlements.

Damage reports

  • 39 highways and 10 bridges affected, all in the corridor between Manzanillo and Guadalajara. Source: Public Infrastructure and Works Secretary, informador.com.mx