Added support for spanning lat/long tile boundaries

Signed-off-by: Richard Chapman <richardkchapman@gmail.com>