Good afternoon,
I have a question: how to set CRS to shapefile in python?
Using gdal.Polygonize(), I converted raster to vector (shapefile) and then I put it in QGIS, shapefile is without CRS.
how to set CRS to shapefile in python?
Use GeoDataFrame.to_crs
GeoDataFrame.to_crs
gpf.to_crs('EPSG:4326')