Fix geopackage tiles example
Validate TileCursor constructor parameters