#NEWLINE# def get_coverage( self , tile_type_id ) : #NEWLINE# #INDENT# 'Given the coordinate reference system of the dataset and that of the\n        tile_type_id, return a list of tiles within the dataset footprint' #NEWLINE# tile_type_info = self . collection . datacube . tile_type_dict [ tile_type_id ] #NEWLINE# dataset_crs = self . mdd [ 'projection' ] #NEWLINE# dataset_geotransform = self . mdd [ 'geo_transform' ] #NEWLINE# pixels = dataset_crs . mdd [ 'x_pixels' ] #NEWLINE# lines = self . mdd [ 'y_pixels' ] #NEWLINE# tile_crs = tile_type_info [ 'crs' ] #NEWLINE# transformation = self . define_transformation ( dataset_crs , tile_crs ) #NEWLINE# dataset_bbox = self . get_bbox ( transformation , dataset_geotransform , pixels , lines ) #NEWLINE# cube_origin = ( tile_type_info [ 'x_origin' ] , tile_type_info [ 'y_origin' ] ) #NEWLINE# cube_tile_size = ( tile_type_info [ 'x_size' ] , tile_type_info [ 'y_size' ] ) #NEWLINE# coverage = self . get_touched_tiles ( dataset_bbox , cube_origin , cube_tile_size ) #NEWLINE# return coverage