Attached image shows the LineString or rather LineRing and a polygon. I expect them to intersect but they don not as per shapely intersects我有两个我期望相交的几何图形。但他们没有。一个是线串(形成一个环)和另一个完全在线串内的小方形多边形。它不会触及任何线路点
我有几点,我想检查它们是否包含在一个多边形。多边形和点以纬度和经度表示。 以下是重现我的方案和谷歌地图打印屏幕的代码,它看起来像多边形,多边形内/外的点根据Shapely。 import pyproj
from shapely.geometry import Polygon, Point
from shapely.ops import transform
from functools imp
我有匀称的多边形 myList = [[<shapely.geometry.polygon.Polygon object at 0x110e09d90>], [<shapely.geometry.polygon.Polygon object at 0x110e09f90>], [<shapely.geometry.polygon.Polygon object at 0x110ec9150>]]