def get_geo_ref_points(root):
    """
    Returns dictionary of bounding coordinates from given xml
    """
    nrows = int(root.findall(
        './*/Tile_Geocoding/Size[@resolution="10"]/NROWS')[0].text)
    ncols = int(root.findall(
        './*/Tile_Geocoding/Size[@resolution="10"]/NCOLS')[0].text)
    ulx = int(root.findall(
        './*/Tile_Geocoding/Geoposition[@resolution="10"]/ULX')[0].text)
    uly = int(root.findall(
        './*/Tile_Geocoding/Geoposition[@resolution="10"]/ULY')[0].text)
    xdim = int(root.findall(
        './*/Tile_Geocoding/Geoposition[@resolution="10"]/XDIM')[0].text)
    ydim = int(root.findall(
        './*/Tile_Geocoding/Geoposition[@resolution="10"]/YDIM')[0].text)
    return {'ul': {'x': ulx, 'y': uly}, 'ur': {'x': ulx + ncols * abs(xdim),
        'y': uly}, 'll': {'x': ulx, 'y': uly - nrows * abs(ydim)}, 'lr': {
        'x': ulx + ncols * abs(xdim), 'y': uly - nrows * abs(ydim)}}
