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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T07:22:23+00:00 2026-06-03T07:22:23+00:00

I know there are many threads about calculating from lat/long to metric systems. This

  • 0

I know there are many threads about calculating from lat/long to metric systems. This solves the first part of my problem.

The second (main part) of my problem is this:

  • I have google maps as map app.
  • I have a lat&long pair of a point
  • I have a a metric distance, lets say 30meters.
  • I need some point to do a sql query.

Why?

I have many records of POIs which can be located with this lat&long pair. I don’t want to get all the results (reason: better performance).

Is there a way to do something like:

select * from myTable where lat> .... and lat < ... and long > ... and long < ...?

Is this possible? And if its, how do I get these values in ... ?

Regards!

  • 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-03T07:22:24+00:00Added an answer on June 3, 2026 at 7:22 am

    Take a look at the article: Selecting points within a bounding circle

    and the SO question: SQL Query for Performing Radius Search based on Latitude Longitude

    These should get you started.

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

Sidebar

Related Questions

I know there are many threads that talk about this problem but I don't
I know that there are many different questions about this sort of topic on
NOTE: I know there are many questions that talked about that but I'm still
There are a ridiculous amount of threads about and ways of doing this, I
Folks, I know there have been lots of threads about forcing the download dialog
I know, I know. There are a million threads everywhere talking about problems with
I know there are many cases which are good cases to use multi-thread in
Firstly I know that there are many question and solutions to correct thread marshalling
I know there are many tutorials out there for getting started in C. However
I know there are many database design tool, database modeling tool. Example, ER-win ,

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.