I generated a buffer using this question: Creating buffer circle x kilometers from point using Python?
I did an intersection with this buffer and a shapefile using:
intersection_origem = shp_geom.intersection(Polygon(buffer_origem))
Apparently nothing wrong with it, but I need just the not null values like it's from 2595 to 2597. Is there a "filter" that can do what I need?
I tried the code above but with no success:
for i in range(0,intersection_origem.length): if (intersection_origem[i] != ""): print(intersection_origem[i])