GeoPandas Set CRS on Points

后端 未结 3 1310
甜味超标
甜味超标 2020-12-28 15:43

Given the following GeoDataFrame:

h=pd.DataFrame({\'zip\':[19152,19047],
               \'Lat\':[40.058841,40.202162],
               \'Lon\':[-75.042164,-74         


        
3条回答
  •  盖世英雄少女心
    2020-12-28 16:41

    The format for Setting CRS in GeoPandas is now

    gdf.crs = "EPSG:4326"

    The earlier format is deprecated

    ref: https://geopandas.org/projections.html

提交回复
热议问题