Skip to content
Snippets Groups Projects
Commit 4b574b7a authored by George Ge's avatar George Ge
Browse files

Merge branch 'bugfix-reprojection' into 'master'

fix bug in reprojection of timeseries input

See merge request espace-dev/sen2chain!38
parents 1bdcc550 983d650d
No related branches found
No related tags found
No related merge requests found
Pipeline #2630 passed
......@@ -93,7 +93,7 @@ class TimeSeries:
if reproject is True:
data = gpd.read_file(vectors_file)
new_vectorsfile = os.path.join(vectors_file[:-4], "_wgs84.shp")
new_vectorsfile = vectors_file[:-4]+"_wgs84.shp"
data.to_crs(epsg=4326).to_file(new_vectorsfile)
vectors_file = new_vectorsfile
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment