File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Longitude and latitude calculations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Longitude and latitude calculations" Watch "Longitude and latitude calculations" New topic

Longitude and latitude calculations

Saurabh Pillai
Ranch Hand

Joined: Sep 12, 2008
Posts: 524
I have 2 pairs of long-lat. One is constant and other is dynamic. I need to find out when the dynamic one falls into the 15ft radius of first one.

How can I proceed?
Jeff Verdegan

Joined: Jan 03, 2004
Posts: 6109
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 642
How can I proceed?

Proceed 15o North and 35o east

no sarcasm meant, but I cannot think of any other answer to the kind of question you have asked... are you asking

1) how to write code i.e logic for this?
2) what datatypes should you use in java to hold long-lat?
3) Is there function in java to be used ?
4) something else?


All desirable things in life are either illegal, banned, expensive or married to someone else !!!
I agree. Here's the link:
subject: Longitude and latitude calculations
It's not a secret anymore!