Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8292725
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T13:34:50+00:00 2026-06-08T13:34:50+00:00

I have multiple polygons in a table ( ImageId int, Quality float, Border geometry

  • 0

I have multiple polygons in a table (ImageId int, Quality float, Border geometry).

How can I find all intersects of polygons using T-SQL functions with more high performance? Is there are any function which help to find intersections without iteration and without comparison each polygon with each Or any sample how to do it. Can anyone help me?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T13:34:55+00:00Added an answer on June 8, 2026 at 1:34 pm

    I’m not somewhere that I can test this right now, but if spatial aggregates work like other aggregates (i.e. string + string), let’s try this:

    declare @intersection geometry;
    select top 1 @intersection = border
    from #polygons;
    
    select @intersection = border.STIntersects(@intersection)
    from #polygons;
    
    select @intersection.STIsEmpty();
    

    If I’ve done my work correctly, @intersection should contain the intersection of all of the polygons in the table.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have multiple websites run on single database. My question related table Structure is
I have multiple domains on my server. I want to redirect all of them
I have multiple table rows that has a set of radio buttons on each
I have multiple elements with the same class clickable, i'm binding all these classes
I have multiple oracle connection so i have to fire the transactions on all
I have multiple css files in a directory (style0.css, style1.css etc..) How can I
Im trying to find an algorithm for drawing a common outline between multiple polygons.
I have multiple consumer threads waiting on a CountDownLatch of size 1 using await()
I have multiple listviews, all of them with scrollbars. Everything works great, tested in
I have a mouseover function on multiple polygons but when I mouseover the polygon

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.