Here are the changes I made. Tilemaker is useful as a command line utility, but the tiling code is now encapsulated in a class that can be imported and reused when command line usage is not desired. I decided to make it a class since there are several results from the tiling transformation that need to be tracked - zoom levels, new size, etc and this type of instance data seemed to warrant a class. I'm using it in a CGI call.
Anyway, this is more of an experiment to see if git/branching/sending pull request works. If so, I'll continue to send changes.
Here are the changes I made. Tilemaker is useful as a command line utility, but the tiling code is now encapsulated in a class that can be imported and reused when command line usage is not desired. I decided to make it a class since there are several results from the tiling transformation that need to be tracked - zoom levels, new size, etc and this type of instance data seemed to warrant a class. I'm using it in a CGI call.
Anyway, this is more of an experiment to see if git/branching/sending pull request works. If so, I'll continue to send changes.