Skip to content

Instantly share code, notes, and snippets.

View geohacker's full-sized avatar

Sajjad Anwar geohacker

View GitHub Profile
@geohacker
geohacker / permalinks-sample.md
Last active May 5, 2016 10:04
permalinks-sample
@geohacker
geohacker / blr-transit-blog.md
Last active February 13, 2016 14:57
Bangalore transit blog datameet

Open Bangalore has been pioneering making several data sets open - including the network of Bangalore Metropolitan Transport Corporation. The BMTC operates over 2000 routes in Bangalore and is the only practical public transit system in the city. Some of us at DataMeet took to time understand this network better by performing some basic analysis.

Longest route

BMTC is known for its many long routes. Route 600 is the longest, making a roundtrip around the city, covering 117 km in about 5 hours. There are 5 trips a day, and these buses are packed throughout.

View the map full screen

Frequency

@geohacker
geohacker / ohm-id.md
Created October 29, 2014 14:11
OpenHistoricalMap Wishlist for iD
  1. Filter features based on date.
@geohacker
geohacker / bio.md
Last active August 29, 2015 13:57
Short Bio.

Sajjad Anwar is a hacktivist and programmer based in Bangalore. He works in the research and design of data infrastructure, analytics and infographics. He hearts maps and often makes one. He is found working with other technologists, social activists and, researchers in education, human rights and policy making. Along with two others, he runs the geohackers.in collective. Find him on twitter.

Download Photo.

@geohacker
geohacker / georeferencing101.md
Last active December 19, 2025 19:00
Georeferencing 101 - Images to Spatial Data.

Outline

  1. What is Georeferencing? And Why?
  2. Ground Control Points.
  3. Tools. 1. GIMP 2. Inkscape 3. QGIS
  4. Raster data.
  5. Process
@geohacker
geohacker / string.md
Last active August 29, 2015 13:56
String Matching Jugaad.

Add this to ~/.profile -

export LANGUAGE="en_US.UTF-8"
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
  1. Run source ~/.profile
  2. sudo su postgres psql
  3. update pg_database set datistemplate=false where datname='template1';
@geohacker
geohacker / homibhabha.md
Last active January 2, 2016 16:19
Outline for the session at Homi Bhabha Center, Bombay.
  1. Basic intro to web development: 15 mins

  2. What happens with an HTTP request

  3. 10 minute history of web standards / HTML. first page on the internet * Markup language + CSS + Javascript * Browser wars, html 4.0, etc. * From pages to apps - HTML 5 / Web Apps 1.0

  4. Evolution of Javascript: 10 mins

  5. from "DHTML" tor jQuery to complex web apps and 10,000 javascript frame-works.

@geohacker
geohacker / map.geojson
Created September 3, 2013 08:48
via:geojson.io
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.