Is there a difference between columnValue.Intersects(constant) and the inverse?

David Thielen 3,116 Reputation points
2024-03-26T16:25:29.5266667+00:00

Hi all;

To only return DB entries inside a polygon I can do:

	public static IQueryable
Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
716 questions
0 comments No comments
{count} votes

Accepted answer
  1. rbrundritt 18,061 Reputation points Microsoft Employee
    2024-03-26T20:03:06.93+00:00

    The order shouldn't matter for the STIntersects, but I would go with your column first to ensure that it picks up the spatial index.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.