Skip to main content
16 events
when toggle format what by license comment
Mar 25, 2022 at 19:01 comment added kevininhe Reading this helped me to understand better gene's answer regarding geopandas's join usage: geopandas.org/en/stable/docs/user_guide/…
Apr 8, 2019 at 5:59 comment added Aaron Bramson I get this error using Solution 4 :File "C:\WinPython\python-3.6.5.amd64\lib\site-packages\geopandas\tools\sjoin.py", line 43, in sjoin if left_df.crs != right_df.crs: AttributeError: 'MultiPolygon' object has no attribute 'crs'
Sep 4, 2017 at 15:04 comment added gene from Shapely (from shapely.geometry import shape,mapping, Point, Polygon, MultiPolygon)
Aug 31, 2017 at 23:45 comment added pstatix Further, where do you get the within() method from?
Aug 31, 2017 at 23:31 comment added pstatix Slightly old thread here, but how do you call multi = shape(polys.shapeRecords()[0].shape.__geo_interface__) in Solution 2? I cannot get a call to a shape() method from shapefile.py. I have even tried shapefile.Shape(); there is a class for it but it doesnt work.
Apr 13, 2017 at 12:33 history edited CommunityBot
replaced http://gis.stackexchange.com/ with https://gis.stackexchange.com/
Aug 27, 2016 at 16:55 history edited gene CC BY-SA 3.0
added 1079 characters in body
Aug 27, 2016 at 16:54 vote accept spartmar
Aug 27, 2016 at 16:11 history edited gene CC BY-SA 3.0
added 812 characters in body
Aug 27, 2016 at 14:18 history edited gene CC BY-SA 3.0
added 817 characters in body
Aug 27, 2016 at 13:46 history edited gene CC BY-SA 3.0
added 18 characters in body
Aug 27, 2016 at 13:11 history edited gene CC BY-SA 3.0
added 204 characters in body
Aug 27, 2016 at 12:52 history edited gene CC BY-SA 3.0
added 204 characters in body
Aug 27, 2016 at 12:34 history edited gene CC BY-SA 3.0
added 902 characters in body
Aug 27, 2016 at 11:28 history edited gene CC BY-SA 3.0
edited body
Aug 27, 2016 at 11:20 history answered gene CC BY-SA 3.0