I have a GeoJSON file with different geometries(polygons). I'd like to find if my polygon intersects with any of the file's geometry. I am not going to paste the file here as it is a long one, but can be found here: https://flightplan.romatsa.ro/init/static/zone_restrictionate_uav.json
Here is what I have done, but it returns false when it should return true:
import geopandas
from shapely.geometry import Polygon
df = geopandas.read_file("geometries.json")
lat_point_list = [46.384215727080694, 46.42583525049556, 46.40743997749065]
lon_point_list = [24.66499565544466, 24.699163210220682, 24.706980760567422]
polygon_geom = Polygon(zip(lat_point_list, lon_point_list))
df1 = geopandas.GeoSeries({'geometry': polygon_geom}).set_crs(4326)
for geo in df["geometry"]:
ctr = geopandas.GeoSeries({'geometry': geo}).set_crs(4326)
if ctr.intersects(df1)[0]:
print(ctr)
What am I doing wrong?