def delete_tile(filename, coord):
 db = _connect(filename)
 db.text_factory = bytes
 tile_row = (((2 ** coord.zoom) - 1) - coord.row)
 q = 'DELETE FROM tiles WHERE zoom_level=? AND tile_column=? AND tile_row=?'
 db.execute(q, (coord.zoom, coord.column, tile_row))

def delete_tile ( filename , coord ) : db = _connect ( filename ) db . text_factory = bytes tile_row = ( ( ( 2 ** coord . zoom ) - 1 ) - coord . row ) q = 'DELETE FROM tiles WHERE zoom_level=? AND tile_column=? AND tile_row=?' db . execute ( q , ( coord . zoom , coord . column , tile_row ) )
delete a tile by coordinate .