Implements #273 tile encoding

Also provides additional testing of the encode decode process and fixes a number of other bugs.

Merge request reports

Loading