Skip to content Skip to sidebar Skip to footer

Shapely Contains(point) Always Gives False

I started working on geopandas and shapely today and I am trying to use the contains method to check if a point lies inside a polygon of geological constituency data from here. My

Solution 1:

When you call janak.boundary.contains(cent_janak), you are asking if cent_janak lies on the boundary. The method you are looking for is simply janak.contains(cent_janak).


Post a Comment for "Shapely Contains(point) Always Gives False"