Add this to ~/.profile -
export LANGUAGE="en_US.UTF-8"
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
- Run
source ~/.profile
sudo su postgres psql
update pg_database set datistemplate=false where datname='template1';
Add this to ~/.profile -
export LANGUAGE="en_US.UTF-8"
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
source ~/.profile
sudo su postgres psql
update pg_database set datistemplate=false where datname='template1';
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.
High quality maps is critical to field work. Experienced mappers may validate existing data to fix serious errors and invalidate an area for further work.
Task Briefing
Review the work of existing mappers using the HOT Task Manager. Our priority is routing and we will focus on Road network tasks 1,2,3,6. Pick and unreviewed area and throughly examine the area for the following issues:
Incomplete Task If there are numeruous roads missing and requires a lot more work to improve the quality, /invalidate this task/ so that others can continue to improve it. Add a comment clearly describing the reason for invalidating. Get @geohacker or @planemad to look before you mark it invalid.
Isolated Segments
var map = new L.Map('map'); | |
var cloudmadeUrl = 'http://{s}.tile.cloudmade.com/API-KEY/997/256/{z}/{x}/{y}.png', | |
cloudmadeAttrib = 'Map data © 2011 OpenStreetMap contributors, Imagery © 2011 CloudMade', | |
cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18, attribution: cloudmadeAttrib}); |
var map = new L.Map('map'); | |
var mapquestUrl = 'http://{s}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png', | |
subDomains = ['otile1','otile2','otile3','otile4'], | |
mapquestAttrib = 'Data, imagery and map information provided by <a href="http://open.mapquest.co.uk" target="_blank">MapQuest</a>, | |
<a href="http://www.openstreetmap.org/" target="_blank">OpenStreetMap</a> and contributors. | |
var mapquest = new L.TileLayer(mapquestUrl, {maxZoom: 18, attribution: mapquestAttrib, subdomains: subDomains}); |
<html> | |
<head> | |
<title>Bar Chart</title> | |
<script type="text/javascript" src="http://github.com/mbostock/d3/raw/v1.8.2/d3.js"></script> | |
<style type="text/css"> | |
body { | |
font: 10px sans-serif; | |
} |
{"features":[{"id":"V.Jayalakshmi","properties":{"Name":"V.Jayalakshmi","Number of sessions":1,"State":"Tamil Nadu","City ":"Sathyamangalam","geo_longitude":77.276,"geo_latitude":11.5845},"type":"Feature","geometry":{"type":"Point","coordinates":[77.276,11.5845]}},{"id":"Shailendra Singh","properties":{"Name":"Shailendra Singh","Number of sessions":1,"State":"New Delhi","City ":"New Delhi","geo_longitude":77.2159562,"geo_latitude":28.6138967},"type":"Feature","geometry":{"type":"Point","coordinates":[77.2159562,28.6138967]}},{"id":"R.S. Mathur","properties":{"Name":"R.S. Mathur","Number of sessions":1,"State":"New Delhi","City ":"New Delhi","geo_longitude":77.2159562,"geo_latitude":28.6138967},"type":"Feature","geometry":{"type":"Point","coordinates":[77.2159562,28.6138967]}},{"id":"Chandan Borthakur","properties":{"Name":"Chandan Borthakur","Number of sessions":1,"State":"Assam","City ":"Gohpur","geo_longitude":93.6323048,"geo_latitude":26.8879397},"type":"Feature","geometry":{"type":"Point","coordinates":[9 |