[Tilesathome] Request (err, suggestion) for more t at h client simplification
Stefan Neufeind
openstreetmap at stefan-neufeind.de
Thu Aug 7 11:56:45 BST 2008
spaetz wrote:
> As the new tileserver expects each upload to be exactly one tileset (and i don't plan to change that in the near future as it makes processing on the server a heck more complicated), I would suggest that the t at h client can be much simplified by removing unneeded options. I had a look around the code, but I find it pretty obfuscated how and where the zipping and uploading happens. Or have you a clue how this function works, for example? :
> ....
> 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.
[...]
Regards,
Stefan
More information about the Tilesathome
mailing list