code: def get_filename(request, geometry):
          
          date_interval = parse_time_interval(request.time)
          geometry_string = geometry.wkt if isinstance(geometry, Geometry) else str(geometry)
  
          filename = '_'.join([
              str(request.service_type.value),
              request.layer,
              geometry_string,
              CRS.ogc_string(geometry.crs),
              '{}_{}'.format(date_interval[0], date_interval[1]),
              request.resolution,
              str(request.bins) if request.bins else '',
              request.histogram_type.value if request.histogram_type else ''
          ])
  
          filename = OgcImageService.filename_add_custom_url_params(filename, request)
  
          return OgcImageService.finalize_filename(filename, MimeType.JSON)
docs: Returns filename
  
          Returns the filename's location on disk where data is or is going to be stored.
          The files are stored in the folder specified by the user when initialising OGC-type
          of request. The name of the file has the following structure:
  
          {service_type}_{layer}_{geometry}_{crs}_{start_time}_{end_time}_{resolution}_{bins}_{histogram_type}_
          *{custom_url_params}.json
  
          :param request: FIS request
          :type request: FisRequest
          :param geometry: geometry object
          :type: BBox or Geometry
          :return: filename for this request
          :rtype: str