- world coastline as line
- zoom 0 - 8
- Copied is total z,x,y coordinates considered.
- Blank is total number of tiles considered fully transparent.
- Skipped is total z,x,y coordinates that are never requested from Mapnik at all.
--metatile=8
| // Named constants with unique integer values | |
| var C = {}; | |
| // Tokenizer States | |
| var START = C.START = 0x11; | |
| var TRUE1 = C.TRUE1 = 0x21; | |
| var TRUE2 = C.TRUE2 = 0x22; | |
| var TRUE3 = C.TRUE3 = 0x23; | |
| var FALSE1 = C.FALSE1 = 0x31; | |
| var FALSE2 = C.FALSE2 = 0x32; | |
| var FALSE3 = C.FALSE3 = 0x33; |
| From 2ba75d69db5a74d61ea4dde54c9e3b4d78d69210 Mon Sep 17 00:00:00 2001 | |
| From: Igor Zinkovsky <[email protected]> | |
| Date: Mon, 6 Feb 2012 22:53:39 -0800 | |
| Subject: [PATCH] enable 64bit windows build | |
| --- | |
| common.gypi | 17 +- | |
| deps/openssl/config/k8/openssl/opensslconf-posix.h | 278 +++++++++++++++++++ | |
| deps/openssl/config/k8/openssl/opensslconf-win32.h | 262 ++++++++++++++++++ | |
| deps/openssl/config/k8/openssl/opensslconf.h | 281 +------------------- |
| var child_process = require('child_process'); | |
| function startDeamon(child, args) { | |
| var newEnv = JSON.parse(JSON.stringify(process.env)); | |
| newEnv.deamonOptions = JSON.stringify({exec: child, args: args}); | |
| var deamonWatcher = child_process.fork(process.argv[1], ['deamon'], { |
| #!/bin/sh | |
| cd /tmp | |
| # dd if=/dev/urandom of=100mb-random-file bs=1024 count=$((100*1024)) | |
| rm 100mb-random-file | |
| echo "Downloading 100MB from w" | |
| time rsync --rsh=ssh --append --archive --no-group --human-readable --progress w:/tmp/100mb-random-file . | |
| echo "Uploading a 10MB file to w" |
| # On OSX, this Imposm file is found at: /Library/Python/2.7/site-packages/imposm/db/postgis.py. YMMV | |
| # Hack basically comments out all the elements relating to modifying the geometry_columns table. | |
| # In PostGIS 2.0 this is a view and handled transparently. | |
| # Copyright 2011 Omniscale (http://omniscale.com) | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # |
This is a quick summary of tweaks to make development on a Mac easier for Ubuntu users. These all worked on my Macbook Air with OSX 10.7 Lion.
If you have something to add here, please let me know! http://twitter.com/craigds
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <math.h> | |
| #include <float.h> | |
| int main | |
| (int argc | |
| ,char *ac []){int i, count = argc - 1; | |
| double * dvalues=malloc(01- 01+count* | |
| sizeof(double)+1); double mi=DBL_MAX,ran=.0,ma =DBL_MIN,mo;for(i= 00; argc>1 | |
| &&i<count;i=i+8-7) {double val = atof(ac[i+1]) ;if(23&&val<mi)mi= val;if(val |