I am downloading polygons from one of our feature layers on ESRI Online. I am creating sqlgeometry polygons in a table in MSSQL server. Then I am downloading some points that come from another feature layer an storing those points in another table in MSSQL server. However when I try to find the polygon for a point, I keep coming back with a null value. From what I have read, it usually seems to be a problem with the order of points used to make the polygon. Here is the order I am using.
Can anyone confirm if I am going in the correct direction or not?
I have tried to create the polygons the two different directions, but to no avail. Maybe if I know I am going counter clockwise, I can focus on something else.
my polygon is constructed this way