faf04875ca85ac75ad5d51addf7fba4d2bbf0b88,geometry/eolearn/geometry/transformations.py,RasterToVector,_vectorize_single_raster,#RasterToVector#Any#Any#Any#Any#,325

Before Change


        if timestamp is not None:
            series_dict["TIMESTAMP"] = GeoSeries([timestamp] * len(geo_list))

        vector_data = GeoDataFrame(series_dict, crs={"init": "epsg:{}".format(crs.value)})

        if not vector_data.geometry.is_valid.all():
            vector_data.geometry = vector_data.geometry.buffer(0)

After Change


        if timestamp is not None:
            series_dict["TIMESTAMP"] = GeoSeries([timestamp] * len(geo_list))

        vector_data = GeoDataFrame(series_dict, crs=to_gpd_crs(crs))

        if not vector_data.geometry.is_valid.all():
            vector_data.geometry = vector_data.geometry.buffer(0)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: sentinel-hub/eo-learn
Commit Name: faf04875ca85ac75ad5d51addf7fba4d2bbf0b88
Time: 2020-03-04
Author: matej.aleksandrov@sinergise.com
File Name: geometry/eolearn/geometry/transformations.py
Class Name: RasterToVector
Method Name: _vectorize_single_raster


Project Name: sentinel-hub/eo-learn
Commit Name: 7d146b7edb43776977e164cb382e5455fca88053
Time: 2020-03-04
Author: matej.aleksandrov@gmail.com
File Name: visualization/eolearn/visualization/eopatch_visualization.py
Class Name: EOPatchVisualization
Method Name: plot_vector


Project Name: sentinel-hub/eo-learn
Commit Name: 7d146b7edb43776977e164cb382e5455fca88053
Time: 2020-03-04
Author: matej.aleksandrov@gmail.com
File Name: visualization/eolearn/visualization/eopatch_visualization.py
Class Name: EOPatchVisualization
Method Name: plot_vector_timeless