sql server - TSQL - Geography: Which polygon? -
using sql server, when result of 1 expression @multipolygon.stintersects(@points)
, indicating point within 1 of polygons comprising multi-polygon
is there way of finding out polygon inside many within multi-polygon contains point?
try splitting single multi-polygon row many, single-polygon rows in query , doing intersect, return matching rows.
i haven't done myself, link might https://social.msdn.microsoft.com/forums/sqlserver/en-us/d99cef8e-d345-44ee-87e1-f9d4df851c35/multipolygon-results-split-into-polygons?forum=sqlspatial
Comments
Post a Comment