Changeset 711 for trunk


Ignore:
Timestamp:
Feb 6, 2010, 5:30:45 PM (10 years ago)
Author:
Nick Burch
Message:

Various little tweaks to scripts, plus a new script to output the corner details from osgb grid refs

Location:
trunk/npemap.org.uk/scripts/tile-processing
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/npemap.org.uk/scripts/tile-processing/rename-tiles.pl

    r635 r711  
    2828my $tl_n = shift;
    2929
     30# Warn unless we got suitable numbers
    3031unless($tl_n) {
    3132        print "Use:\n";
  • trunk/npemap.org.uk/scripts/tile-processing/upload.pl

    r635 r711  
    2424# Path to the scale directory on each server
    2525my %servers;
    26 $servers{dev} = "/usr/local/OSGB/";
    27 $servers{encore} = "/usr/local/maps/OSGB/";
     26#$servers{dev} = "/usr/local/OSGB/";
     27#$servers{encore} = "/usr/local/maps/OSGB/";
    2828$servers{urchin} = "/srv/www/tile.npemap.org.uk/html/";
    29 $servers{bitclean} = "/home/bitclean/public_html/";
    30 $servers{openstreetmap} = "/home/dsheldon/npetiles/";
     29#$servers{bitclean} = "/home/bitclean/public_html/";
     30#$servers{openstreetmap} = "/home/dsheldon/npetiles/";
    3131
    3232# Allow restricting to just one server
     
    8989
    9090# Fix permissions on urchin
    91 my $cmd = "ssh urchin 'cd $servers{urchin}$dir && chown -R .npemap ".join(" ",@args)."'";
     91my $cmd = "ssh urchin 'cd $servers{urchin}$remote_append$dir && chown -R .npemap ".join(" ",@args)."'";
    9292print $cmd."\n";
    9393`$cmd`;
Note: See TracChangeset for help on using the changeset viewer.