All honour goes to http://www.blaicher.com/2013/01/accessing-an-encrypted-full-disc-image-lukslvm/
So I typically use a full disc encryption with LVM over LUKS. So assume you have got an image from your harddisk via
dd if=/dev/sda of=image.img
<Map background-image="../../data/images/pattern.png" srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over"> | |
<Parameters> | |
<Parameter name="sizes">1000,1000</Parameter> | |
<Parameter name="bbox">-20037508.3427892476320267,-8283343.6938826972618699,20037508.3427892439067364,18365151.3630704730749130</Parameter> | |
</Parameters> | |
<Style name="world"> | |
<Rule> | |
<PolygonSymbolizer fill="green"/> | |
</Rule> | |
</Style> |
All honour goes to http://www.blaicher.com/2013/01/accessing-an-encrypted-full-disc-image-lukslvm/
So I typically use a full disc encryption with LVM over LUKS. So assume you have got an image from your harddisk via
dd if=/dev/sda of=image.img
inkscape -z -e zvonice.png -w 128 zvonice.svg |
#include <memory> | |
#include <iostream> | |
#include <gdal/gdal_priv.h> | |
main() | |
{ | |
GDALAllRegister(); | |
const char * dem = "/home/talaj/dev/gdal-leak/world_aster2_srtmgl1_gmerc_38m_dfs40a.tif"; |
import mapnik | |
m=mapnik.Map(256,256) | |
mapnik.load_map(m, 'style.xml') | |
t = mapnik.create_mvt_merc(m, 75528, 47928, 17, style_level_filter=True, threading_mode=mapnik.threading_mode.async) | |
m.layers[-1].datasource.params()['max_size'] |
#include <tiffio.h> | |
#include <unistd.h> | |
#include <iostream> | |
#include <memory> | |
int main() | |
{ | |
const char * dem = "/home/tlj/sandbox/world_robin_611m_ocean_hss20.tif"; |
git rev-list --abbrev-commit --max-count=1 HEAD -- plugins/input/csv/ |
(defconstant EARTH_RADIUS 6378137.0) | |
(defconstant HALF_OF_EQUATOR (* PI EARTH_RADIUS)) | |
(defun tile-size (zoom) (/ (* 2 HALF_OF_EQUATOR) (expt 2 zoom))) | |
(defun tile-envelope (x y z) | |
(let ((size (tile-size z))) | |
(list | |
(+ (- HALF_OF_EQUATOR) (* x size)) | |
(- (+ HALF_OF_EQUATOR) (* (+ y 1) size)) |