Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/list/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在点周围绘制半径缓冲区,并在geopandas python中与其他位置列表执行相交?_Python_Buffer_Geospatial_Intersection_Geopandas - Fatal编程技术网

如何在点周围绘制半径缓冲区,并在geopandas python中与其他位置列表执行相交?

如何在点周围绘制半径缓冲区,并在geopandas python中与其他位置列表执行相交?,python,buffer,geospatial,intersection,geopandas,Python,Buffer,Geospatial,Intersection,Geopandas,我有两个点列表(纬度、经度)-位置和事件: locations = [[54.156014, 53.017209], [2.74284, 103.68141], [3.133688, 102.688424], [24.499918, 55.388891], [21.488382, 61.395062], [24.479778, 59.354986], [25.180161, 78.269545], [-31.5796783, -58.5812265]] events = [[-15.79415

我有两个点列表(纬度、经度)-位置和事件:

locations = [[54.156014, 53.017209], [2.74284, 103.68141], [3.133688, 102.688424], [24.499918, 55.388891], [21.488382, 61.395062], [24.479778, 59.354986], [25.180161, 78.269545], [-31.5796783, -58.5812265]]

events = [[-15.794157,  -47.882529],[33.319392, 44.347046],[26.225653, 50.535556],[50.447336, 30.536875],[50.447336, 30.536875],[50.442721, 30.52179],[50.442721, 30.52179],[-15.794157, -47.882529],[3.848032, 11.502075],[-12.97304, -38.502304],[26.226559, 50.54591],[-34.603684, -58.381559],[32.094771, 20.187911],[48.868472, 2.330211],[-30.032056, -51.208428],[32.887209, 13.191338],[13.767966, 100.534526],[-34.92849, 138.60074],[32.887209, 13.191338],[26.230536, 50.527792],[50.4501, 30.5234],[50.4501, 30.5234],[50.442721, 30.52179],[50.442721, 30.52179],[50.447137, 30.537357],[50.447137, 30.537357],[12.81063, 45.035019],[26.225653, 50.535556],[-12.97304, -38.502304],[26.226559, 50.54591],[35.675888, 139.744858],
[12.813674, 45.034161],[54.156014, 53.017210]]
我想检查哪些事件发生在距离位置的2公里半径缓冲区内

如果一个事件发生在多个缓冲区中,我希望将该事件附加到它发生在附近的多个位置

另外,我是geopandas的初学者,你能给我一个如何进行交叉的指导吗? 谢谢