Questions tagged [geographic-distance]

Geographical distance is the distance measured along the surface of the earth.

Geographical distance is the distance measured along the surface of the earth.

77 questions
0
votes
1 answer

Calculating distance between multiple points at the same time of the day

I have two dataframes, one with my boat GPS positions (5512 records) and one with fishing boats positions (35381 records). I want to calculate the distance between my boat and all other fishing boats that were present in the area at the same time of…
0
votes
1 answer

Algorithm to regroup geographic points

I'm creating an app using a map and I have to place points on it. The problem is that when the points are nearby, the user can't see the difference. So, I need to regroup the points. I receive JSONs like that: [{"id": "1", "x": 253, "y": 144},…
takesuma
  • 141
  • 9
0
votes
1 answer

Distance between points in two data frames

I'm new to python and I tried searching but could not find a solution. I have two dataframes with Cartesian coordinates. node x y value abc 645 714 8 def 187 754 11 location x y value ijk 621 744 1 lmn …
0
votes
1 answer

R extracting data values by location from list

I have 2 lists, each containing lat lon data, how do I find the closest point and extract data about that point? Converting to raster is not an option since the grid is irregular. Many thanks for a short solution! (More explanation of what I tried…
Anne
  • 23
  • 4
0
votes
2 answers

Converting Northing/Easting into Decimal Degrees in R

I'm trying to convert vectors that contain northing and easting data into decimal degrees using R. So far I have been able to the package rgdal to perform a projection, but I am running into a problem. The argument for the UTM zone must be a single…
SarahBingo
  • 23
  • 5
0
votes
0 answers

How to Check if Coordinates belongs to an geographical area in JAVA

I have coordinates , lets say coordinates point A { -73.93289103, 40.12354012}. And i have a geographical area which consists of 4 coordinates {-73.99863434, 40.7422142} {-73.99131012, 40.73348236} {-73.96737671, 40.76044846} {-73.87309265,…
user12657386
0
votes
1 answer

How can I get a startposition/location with LatLng. I do have a moving currentposition/location

I'm trying to get the distance in meters from the past startposition/location to the moving present currentposition/location. I do have the currentposition which works fine. But I can't get a startposition which should be fixed and saved while I…
elpaso
  • 11
  • 1
  • 5
0
votes
1 answer

Finding Closest Point to a Set of Points (in Lat/Long)

I am given a random set of points (not told how many) with a latitude and longitude and need to sort them. I will then be given another random point (lat/long) and need to find the point closest to it (from the set above). When I implement a linear…
0
votes
1 answer

Calculation of the Center of Montana Using R Centroid Function Issues

I'm trying to find the center of Montana using the R centroid function in the geosphere package. The lat/long coordinates are stored in a shape file stored in xx that when calculated yield a result near Bermuda. Any suggestions as to how to fix…
Rafael
  • 3,096
  • 1
  • 23
  • 61
0
votes
1 answer

how return distance dbgeography in meter?

in this example i need to limit search for seraching just places in arround of 10000 meters for example , this method is dosen't work for me . this is my code : using (GeolocationTestEntities context = new GeolocationTestEntities ()) { …
0
votes
1 answer

Get list of users within individual geographical range

A list of users with their location (long & lat) and a radius (in kilometers) is given in my firebase database, effectively defining individual "action circles", e.g. { "users": { "foo": { "lat": 11.2549387, "long": 17.3419559, …
0
votes
1 answer

Calculating distance between Geo points for large datasets

I'm building an online Symfony application, and as part of the developement process i've been tasked with sorting an amount of database records based on the distance from the logged user; said user can widen the search radius at will, up to the size…
JValker
  • 374
  • 2
  • 14
0
votes
1 answer

Use geographiclib to generate 3d points

Can geographiclib be used to convert (WGS84) latitude-longitude pairs to 3d/Cartesian/xyz points? If not, is there an alternative method for converting from one to the other without using a spherial approximation?
Richard
  • 56,349
  • 34
  • 180
  • 251
0
votes
1 answer

sql - calculating distance while executing a query

So here's the situation: I've got a table for customers and a table for stores, each has their address. When a customer is searching for a store I would like to get the stores sorted by their distance from his address. I get the distance between…
WhiteBlue
  • 313
  • 1
  • 2
  • 7
0
votes
1 answer

How to get latitude, longitude maximum and minimum from a center point

I have a Geopoint that is the current position of the user. I know its latitude and longitude. I would like to get a square perimeter 50km around the user position so I need to know what are the min & max latitude and the min&max longitude around…
Hubert Solecki
  • 2,611
  • 5
  • 31
  • 63