Convertir SHP a Geojson Python
import geopandas as gpd
gdf = gpd.read_file('filename.shp')
json = gpd.GeoSeries([gdf.geometry.iloc[0]]).__geo_interface__
ANEREL
import geopandas as gpd
gdf = gpd.read_file('filename.shp')
json = gpd.GeoSeries([gdf.geometry.iloc[0]]).__geo_interface__