About 779,000 results
Open links in new tab
  1. python - Geopandas: how to read a csv and convert to a …

    Apr 9, 2020 · Geopandas seems to be unable to convert a geometry column from a pandas dataframe. Solution number 2. Try applying the shapely wkt.loads function on your column …

  2. How to get maps in GeoPandas after datasets are removed?

    Jun 25, 2023 · I have found very easy and useful to load world map from geopandas datasets, as probably many others, for example: import geopandas as gpd world = …

  3. Get Distance Between Two Points in GeoPandas - Stack Overflow

    Sep 3, 2020 · Your points are in a lon, lat coordinate system (EPSG:4326 or WGS 84). To calculate a distance in meters, you would need to either use the Great-circle distance or …

  4. How to find which points intersect with a polygon in geopandas?

    Since geopandas underwent many performance-enhancing changes recently, answers here are outdated. Geopandas 0.8 introduced many changes that makes handling large datasets a lot …

  5. geopandas - Writing ESRI File Geodatabase text fields with fixed …

    Dec 19, 2024 · So as you are using geopandas >=1.0 you need to specify you want to use the fiona io engine in your script using either gpd.options.io_engine = "fiona" to set it for the entire …

  6. python - Customize legend labels in Geopandas - Stack Overflow

    Oct 20, 2022 · I would like to customize the labels on the geopandas plot legend. fig, ax = plt.subplots(figsize = (8,5)) gdf.plot(column = "WF_CEREAL", ax = ax, …

  7. geopandas - How to create an accurate buffer of 5 miles around a ...

    Jul 10, 2018 · For example, I'm making maps in Michigan, so I'm using EPSG:3174 (which I believe is in meters, correct me if wrong). Given you've already converted your dataframe to a …

  8. python - Make a union of polygons in GeoPandas, or Shapely (into …

    The geopandas.overlay function gives me polygons for each individual union but I would like a single polygon. For context, I'm using this to combine two administrative areas together into a …

  9. Finding nearest point in other GeoDataFrame using GeoPandas

    import geopandas as gpd import numpy as np import pandas as pd from scipy.spatial import cKDTree from ...

  10. Create polygons from points with GeoPandas - Stack Overflow

    Feb 23, 2020 · I have a geopandas dataframe containing a list of shapely POINT geometries. There is another column with a list of ID's that specifies which unique polygon each point …