5 lines
255 B
Python
5 lines
255 B
Python
import geopandas
|
|
df = geopandas.read_file('original data/Sumter/RoadCenterlines_041125.shp.zip')
|
|
df = df.to_crs(4326) # Convert to WGS 84
|
|
exploded = df.explode()
|
|
exploded.to_file('original data/Sumter/RoadCenterlines_041125.geojson', driver='GeoJSON') |