Skip to main content
8 events
when toggle format what by license comment
Oct 8, 2018 at 6:59 vote accept francois
Oct 5, 2018 at 15:45 answer added gene timeline score: 3
Oct 5, 2018 at 13:51 comment added Jon I recently had to solve this problem; I ended up using shapely's intersection() and area(). Geopandas stores the geometries as shapely geometry types, and you can access the geometries easily via geoms = geocad.geometry.values.
Oct 5, 2018 at 12:13 comment added francois No, indeed, but it is all I found to achieve the merged attributs. I tried a pd.dataframe().merge() method, but i got an error saying the selected polygon with merged dataframe had a wrong geometry.
Oct 5, 2018 at 9:05 history edited francois CC BY-SA 4.0
added 329 characters in body
Oct 5, 2018 at 8:03 comment added joris I don't think the sjoin call is doing much in your case, as geobuil and geocad (which you are joining) both only consist of a single geometry without any attributes. A small reproducible example would help.
Oct 5, 2018 at 7:55 history edited PolyGeo CC BY-SA 4.0
deleted 2 characters in body; edited title
Oct 5, 2018 at 7:52 history asked francois CC BY-SA 4.0