This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# stitch tile images together to form a large image | |
# see also https://github.com/ericfischer/tile-stitch | |
function usage($err= null) { | |
echo "php recolle.php 'http://TILES_SERVER/%z/%x/%y.png' z x1 y1 [+nx] [+ny]\n"; | |
if ($err) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php | |
<?php | |
// Report d'un commit d'un repertoire sur un autre | |
// le script fait le merge svn et prepare le log de comit dans log.txt | |
// mais ne fait pas le commit automatiquement car risque de conflits | |
// il faut le faire suivre de la commande comit manuelle si le diff est OK | |
// Syntaxe : | |
// cherry-pick.php -rNNNN source dest | |
// | |
// exemple d'utilisation : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
L.Wax = L.Class.extend({ | |
initialize: function (map) { | |
this.map = map; | |
var layers = map.options.layers || []; | |
var wax = false; | |
var self = this; | |
map.on('layeradd', function(e) { | |
if (e.layer.options.wax) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************************************** | |
* OSM2GEO - OSM to GeoJSON converter | |
* OSM to GeoJSON converter takes in a .osm XML file as input and produces | |
* corresponding GeoJSON object. | |
* | |
* AUTHOR: P.Arunmozhi <aruntheguy@gmail.com> | |
* DATE : 26 / Nov / 2011 | |
* LICENSE : WTFPL - Do What The Fuck You Want To Public License | |
* LICENSE URL: http://sam.zoy.org/wtfpl/ | |
* |