Skip to content

Instantly share code, notes, and snippets.

View thanhleviet's full-sized avatar
🤗
Focusing

Thanh Lee thanhleviet

🤗
Focusing
View GitHub Profile
@thanhleviet
thanhleviet / nginx play
Created July 3, 2012 08:57 — forked from sim51/nginx play
My nginx configuration for opendata-map.org
server {
listen 80;
server_name www.opendata-map.org;
root /var/www/opendata-map.org;
access_log /var/log/nginx/opendata-map.access.log;
error_log /var/log/nginx/opendata-map.error.log debug;
# GEOSERVER PROXY & CACHE
location /geoserver {
proxy_pass http://127.0.0.1:8080/geoserver;
@thanhleviet
thanhleviet / nginx play
Created April 25, 2012 03:40 — forked from sim51/nginx play
My nginx configuration for opendata-map.org
server {
listen 80;
server_name www.opendata-map.org;
root /var/www/opendata-map.org;
access_log /var/log/nginx/opendata-map.access.log;
error_log /var/log/nginx/opendata-map.error.log debug;
# GEOSERVER PROXY & CACHE
location /geoserver {
proxy_pass http://127.0.0.1:8080/geoserver;
@thanhleviet
thanhleviet / __geo_interface__.rst
Created March 28, 2012 07:08 — forked from sgillies/geo_interface.rst
A Python Protocol for Geospatial Data

Author: Sean Gillies

Abstract

This document describes a GeoJSON-like protocol for geospatial vector data.

Introduction

@thanhleviet
thanhleviet / render.sh
Created February 20, 2012 15:24 — forked from onyxfish/render.sh
How to generate tiles from TileMill config (ie. bypass mbtiles)
/TileMill/bin/carto map.mml > map.xml
python render_tiles.py map.xml .tiles/ 42.05 -88 41.6 -87.5 11 16 2
@thanhleviet
thanhleviet / install-mapnik2.md
Created January 14, 2012 05:13 — forked from cspanring/install-mapnik2.md
Mapnik2 on Ubuntu 10.04 installation

Mapnik2 on Ubuntu 10.04 installation

http://trac.mapnik.org/wiki/UbuntuInstallation

sudo apt-get install -y g++ cpp \
python-dev libxml2 libxml2-dev \
libfreetype6 libfreetype6-dev \
libjpeg62 libjpeg62-dev \
libltdl7 libltdl-dev \
libpng12-0 libpng12-dev \