Note that there are some explanatory texts on larger screens.

plurals
  1. POUsing a GeoPoint location and meters X/Y, how can a Longitude/Latitude be calculated?
    primarykey
    data
    text
    <p>I have a little project I've been playing with (Android, GPS, mapping APIs), and I need to figure how to find a longitude/latitude/GeoPoint from a given longitude/latitude/GeoPoint with only knowing the meters/km longitude and latitude. e.g. I want to figure out where a point is from me, that I know is +1000 meters along the longitude and +1000 along the latitude.</p> <p>It's a little different than the usual GeoPoint/distance questions you'll see, and it's not quite geo fencing radius related as the distance is X,Y meters/kms, and I don't have a bearing. (I could work out a bearing, but I don't have a suitable direct distance)</p> <p>Basically, if I could reverse GeoPoint.distanceTo() it would do the job for me.</p> <p><strong>Update</strong></p> <p>Just a little more background. I'm basically applying a node triangulation idea I had, but the algorithm requires that my inputs be in a map normalized form that's not the same as longitude and latitude. I create a map/grid where 0,0 (the bottom/left) is the left/west and bottom/south most longitude/latitude values from the nodes I'm working with. All the other node X/Y on the map are determined by finding their meters from the 0,0 node's longitude/latitude using GeoPoint.distanceTo(). (note that I find their X/Y by performing distanceTo twice for each node so I have the X and Y meters from 0,0, not a direct line to the node) That distance in meters is fed into the algorithm and new X/Y map points are produced.</p> <p>And so I need to figure out how to convert distance from a longitude/latitude into another, previously unknown, longitude/latitude.</p> <pre><code>double startPointLongitude = 23.459821; double startPointLatitude = 76.998200; double distanceLongitude = 100; // 100 meters along the longitude double distanceLatitude = 75; // 75 meters along the latitude </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload