[Tilesathome] improving the client

Matthias Julius lists at julius-net.net
Tue Jan 6 17:54:53 GMT 2009


xbenschix at googlemail.com writes:

> hi everyone,
>
> i get in touch with osm just a half year ago. i began to map my area.
> 3 weeks ago, i joined the tah-force :) to render tiles on my
> homeserver. works pretty well out-of-the-box on my debian.
>
> i searched for a possibility to show the time when i render tiles.
> the only thing i found was a wiki entry for a requested feature.
>
> i just tried to implement it by myself. i'm very new to perl, i just
> coded php and rails.
>
> here is the code:
>
>  my ($s, $i, $h, $d, $m, $y) = (localtime)[0..7];
>    ++$m;
>    $y += 1900;
>    my $toprint = sprintf("[#%d %3d%% %s][%4d-%02d-%02d %02d:%02d:%02d] %s%s ",
>                          $progressJobs, $progressPercent+.5,
> $currentSubTask, $y, $m, $d, $h, $i, $s, $msg, ($newline) ? "" :
> "...");
>
> i hope somebody can review it?

I was hesitating to implement something like that because it takes up
a lot of space.

Does anybody else want this, or just the time?

Matthias




More information about the Tilesathome mailing list