Skip to content

Instantly share code, notes, and snippets.

@maptastik
Created April 3, 2019 02:25
Show Gist options
  • Save maptastik/0f657b86d7b893c5d7130e487f80d486 to your computer and use it in GitHub Desktop.
Save maptastik/0f657b86d7b893c5d7130e487f80d486 to your computer and use it in GitHub Desktop.
Creating and working with multiple geometry columns in a single GeoDataFrame
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@coolzhao
Copy link

Thanks for the introduction. After the experiment, I found that you can leave the original "geometry" column name unchanged, and just set_geometry to another column, and the gdf.geometry will be changed accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment