About 793,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. 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 ...

  4. geopandas - calculate overlapping areas - Stack Overflow

    Jun 20, 2020 · Here's an example to get the intersection of Manhattan and the Bronx. You could use pd.concat() before .overlay() if you want to combine boroughs.

  5. python - pip install geopandas on windows - Stack Overflow

    Jul 9, 2019 · I am relatively new to python and trying to install geopandas on python 3.7 using pip. For separate reasons, I would like to avoid using the anaconda distribution. Following this …

  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. 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 …

  9. Filtering GeoDataFrame rows with list of strings in GeoPandas

    Nov 18, 2021 · I want to filter GeoPandas GeoDataFrame rows by a list containing 4 'matches'; list_of_names = ['BE36_1000_1349', 'BE36_1000_1350', 'BE36_1000_1449', …

  10. python - Reading .KML with GeoPandas - Geographic Information …

    Nov 26, 2022 · This solved my problem. I can see all features in the dataframe. I just changed the driver from KML to LIBKML. gpd.io.file.fiona.drvsupport.supported_drivers['LIBKML'] = 'rw' …