On Thu, Aug 07, 2008 at 12:56:45PM +0200, Stefan Neufeind wrote:
> > sub compressAndUpload
> > {
> > my $error=0;
> > $error=compress(1) + 2 * upload(1) + 4 * compress(2) + 8 * upload(2);
> > return $error;
> > }
> > ....
>
> Well, looks like they add up boolean values and form a bit-mask for
> errors imho.
I can see that. But this is the main workhorse that zips the tilesets and
uploads them to the server. Haven't you noticed? :-P
A bit too much magic for my taste. Anyway, that's just an example for parts I
had difficulties with.
spaetz
_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/tilesathome