I have a GeoDataFrame consisting polygons. How can I convert each polygon into a list of coordinates? Is there any attribute, method or function in GeoPandas to do this?
[GIS] How to convert GeoSeries polygons to lists of coordinates
geodataframegeopandasgeoseries
Related Question
- [GIS] Convert contours to polygons maintaining attributes using Python
- Combine Multiple Polygons into a Single Polygon with Holes Using Python
- python – Converting Shapely Coordinate Sequence to GeoDataFrame
- GeoPandas – How to Convert MULTIPOLYGON XY Geometry to Latitude and Longitude
- GeoPandas – Can Lists Be Accepted as Property Values?
Best Answer
A very effective, very fast solution would be to build a function and then use apply instead of a list comprehension