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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:44:47+00:00 2026-05-19T03:44:47+00:00

Okay, here’s my problem. The system I’m working with uses objects called Areas to

  • 0

Okay, here’s my problem. The system I’m working with uses objects called Areas to represent a 920×920 metre area on a map. The only reference given for the Area, however, is the latitude and longitude for the top-left corner of the grid square.

What I need to do is work out whether the user’s current GPS location falls within a specific area, so I’m writing a function that checks if this is the case, and if so returns data from that area object.

Where I’m struggling is actually working out the best way to do the location checking, when all I have to go on is the user’s exact lat/long and a known lat/long for the top left of the grid square…what would be the best way to approach this problem?

Many thanks for any help.

  • 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-19T03:44:47+00:00Added an answer on May 19, 2026 at 3:44 am

    Step #1: Port these calculations (or the equivalent) to Java and use them to determine how many degrees of latitude or longitude 920 meters is given your coordinates

    Step #2: Use the values from Step #1 to determine the latitude/longitude coordinates of the lower-right corner of your square

    Step #3: See if the user’s longitude is between the left and right values, and if the user’s latitude is between the top and bottom values

    Just be careful as you get to the key inflection points (0 degrees latitude, +/-180 degrees latitude, etc.).

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

Sidebar

Related Questions

Okay so im working on this php image upload system but for some reason
Okay, here's the situation. I have two NSManagedObjects called Store and Aisle . There
Okay, here is my situation: I'm looking for the best design approach. I'm working
Okay here's the program I have typed up(stdio.h is included also): /* function main
Okay, here's the scenario. I have a utility that processes tons of records, and
Okay here is the scenario! I have a Person object which has an Address
Okay here is what I'm, trying to do I want to escape the period
Okay here is a softball beginner WPF question. By default the background of the
Okay here's the damned thing: - (void)setMinimumNumberOfSides:(NSNumber *)newMinimumNumberOfSides { if (newMinimumNumberOfSides != minimumNumberOfSides) {
Okay here is a puzzle I come across a lot of times- Given a

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.