Skip to main content
10 events
when toggle format what by license comment
Jun 9, 2023 at 13:20 comment added Cullen.Molitor Yes, that is why I changed it to include geoms. Only using geometry it tells me it is not iterable.
Jun 8, 2023 at 7:07 comment added Kadir Şahbaz @Cullen.Molitor I didn't test but afaik geoms works if geometry type is multipolygon.
Jun 7, 2023 at 19:34 comment added Cullen.Molitor I changed for part in row.geometry: to for part in row.geometry.geoms: and this worked with geopandas '0.13.0'
Jul 16, 2019 at 14:31 vote accept Vilq
Jul 16, 2019 at 13:02 history edited Kadir Şahbaz CC BY-SA 4.0
added 120 characters in body
Jul 16, 2019 at 12:58 comment added Kadir Şahbaz @RutgerH Yes, just counting vertices of exterior ring, not interior's.
Jul 16, 2019 at 12:53 comment added RutgerH Note that this method fails to account for any interior rings.
Jul 16, 2019 at 12:52 vote accept Vilq
Jul 16, 2019 at 14:31
Jul 16, 2019 at 12:04 comment added Vilq Thanks! This method is excellent, especially the part when you are checking for multipolygons, cause (i've checked that) it may cause problems. It works quite fast as well. [SOLVED]
Jul 16, 2019 at 11:21 history answered Kadir Şahbaz CC BY-SA 4.0