syntax: x, y, z = get_cordination(uri, map, ext)
Retrive x/y/z from uri path. If client GET uri /example/9/3/1.png then example map, z =9, x=3 and y=1 and extension is png.
syntax: filename = osm.tile.xyz_to_metatile_filename(x, y, z)
Generate metatile filename from x/y/z cordination.
syntax: png, err = osm.tile.get_tile(tilepath, x, y, z)
Get chunk of png image data of x/y/z cordination from metatile tilepath.
syntax: ok = osm.tile.check_integrity_xyzm(x, y, z, minz, maxz)
Check whether x/y/z integrity. Tile x/y/z definition details are in https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames
syntax: ok = osm.tile.check_integrity_xyzm(x, y, z)
Same as check_integrity_xyzm() but don't check z range.
syntax: include = osm.tile.is_inside_region(region, x, y, z)
Check x/y/z cordination is located and inside of region. region should be get from 'osm.data'