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 6930597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:28:04+00:00 2026-05-27T11:28:04+00:00

We are working on one map solution. Here user has drawn one polygon on

  • 0

We are working on one map solution.
Here user has drawn one polygon on the map and for a given point we need to find if point is residing in or out of the polygon.

We are using one SQL technique as per http://www.sql-statements.com/point-in-polygon.html to do this task till now but during the time we found out that its not worked for some areas.

Does anyone has the proper solution on this? We can also try the solution in C# if its working fine

Thank you.

  • 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-05-27T11:28:05+00:00Added an answer on May 27, 2026 at 11:28 am

    If you are using SQL Server 2008 then you can use STIntersection (geography Data Type) – SQL Server will do everything for you.

    I’d recommend SQL Server 2008 in this case because it provides native support for geographical data. Before you use it “STIntersect giving incorrect result for geography Datatype” might be worth of reading. Example from that site:

    declare @point geometry
    declare @polygon geometry
    set @point =  geometry::STGeomFromText('POINT (-88.22 41.50000001)', 4326)
    set @polygon = geometry::STGeomFromText('POLYGON ((-88.2 41.5, -88.2 41.6, -88.3 41.6, -88.3 41.5, -88.2 41.5))', 4326)--124
    Select @point.STIntersection(@polygon).ToString()
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working with one legacy application written in VB5, and I need to give
I need to store data in memory where I map one or more key
I am working on the map application and as per requirement i need to
I'm working on a web application that will be a hosted, multi-user solution when
This question is messy, i dont need a working solution, i need some psuedo
I've been working on getting one of our web maps to print out in
I'm still working on a good solution to my One-Of-A-Type Container Problem -- and
I am working on one real estate website which is Using RETS service to
I'm working on one of those projects where there are a million better ways
Right now I am working on one Real Estate Website, In that website I

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.