c43f66e850f43844ad10db14593b3519bf9c36aa,core/eolearn/core/visualizations.py,,plot_vector_timeless,#Any#Any#Any#Any#,428

Before Change


    :return: visalization
    :rtype: geoviews
    
    cartopy_crs = crs_to_cartopy(eopatch)
    data_gpd = eopatch[FeatureType.VECTOR_TIMELESS][feature_name]
    return gv.Polygons(data_gpd, crs=cartopy_crs, vdims=vdims).opts(alpha=alpha)

After Change


    :return: visalization
    :rtype: geoviews
    
    epsg_number = eopatch.bbox.crs.split(":")[1]
    data_gpd = eopatch[FeatureType.VECTOR_TIMELESS][feature_name]
    return gv.Polygons(data_gpd, crs=ccrs.epsg(epsg_number), vdims=vdims).opts(alpha=alpha)


def eopatch_da_to_rgb(eopatch_da, feature_name, crs, rgb, rgb_factor):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: sentinel-hub/eo-learn
Commit Name: c43f66e850f43844ad10db14593b3519bf9c36aa
Time: 2019-03-25
Author: andrej.burja@gmail.com
File Name: core/eolearn/core/visualizations.py
Class Name:
Method Name: plot_vector_timeless


Project Name: sentinel-hub/eo-learn
Commit Name: c43f66e850f43844ad10db14593b3519bf9c36aa
Time: 2019-03-25
Author: andrej.burja@gmail.com
File Name: core/eolearn/core/visualizations.py
Class Name:
Method Name: plot_data


Project Name: sentinel-hub/eo-learn
Commit Name: c43f66e850f43844ad10db14593b3519bf9c36aa
Time: 2019-03-25
Author: andrej.burja@gmail.com
File Name: core/eolearn/core/visualizations.py
Class Name:
Method Name: plot_raster