Questions tagged [distance]
Distance is a numerical description of how far apart objects are.
distance
3,991
questions
0
votes
0
answers
27
views
GLMM with cumulative distances [migrated]
I have calculated the cumulative distances travelled for each individual. The objective is to represent the data in a graph with a tendency curve using the R package ggplot2. However, the data are too ...
0
votes
0
answers
20
views
QGIS - distance from point to point on a specific bearing e.g. north (0 degrees)
I am using QGIS and have a layer that is the country centroids, tectonic plate boundaries in both line and point form. This is what I have achieved so far - shortest distance from centroid to tectonic ...
0
votes
0
answers
22
views
Python Google Maps API KeyError: 'distance' when calculating distances between suppliers and destinations
I've been struggling with an issue while using the Google Maps API to calculate distances between multiple origin and destination points from .cvs coordinates data source files. This is my first time ...
0
votes
0
answers
22
views
Flutter Filter for nearest Place by latitude/longitude
I'm trying to code an app and I'm loading an Eventplace object from my server with the class. I want to use Isar as my offline database, but I don't know how to filter for the nearest eventplace by ...
0
votes
0
answers
19
views
create movement speed from x,y pixel coordinates
I have a dataset which is tracking a moving object. For each frame of the video (around 2,000 per video), it has an x pixel and a y pixel value (1920 x 1080p). I want to:
a) create a new column (xy) ...
0
votes
0
answers
25
views
How to Optimize Memory Usage for Python Library Implementing Discrete Fred Fréchet Algorithm?
I'm using a Python library that implements the discrete Fred Fréchet algorithm (https://pypi.org/project/Fred-Frechet/) to measure similarity between 2 curves (specifically, I'm interested in the ...
-3
votes
0
answers
27
views
Geospatial data - Get all users who are "x" kms away from a given point (Lat & Long)
I have a large database of users with their locations (Latitude & Longitude). I want to determine which users are "x" km from another reference point.
I have already tried the Uber H3 ...
0
votes
1
answer
52
views
How to calculate distance with telemetry data
I have telemetry data with a large number of detections for each individual (ID) at several stations. I want to calculate the total distance travelled by each ID in my study.
Each station is ...
1
vote
1
answer
59
views
How can I use 2 for loops together (one for each year and one for each day)?
I think I calculated correctly the average distance between three consecutive values when the condition (described in the code) is met. However, I did this calculation only for a single year and I don'...
0
votes
1
answer
53
views
Incorrect Result From st_difference
I am trying to generate a set of rings around a set of points in the sf package, and have run into an issue where for some reason st_difference returns the whole first geometry despite the two inputs ...
0
votes
0
answers
15
views
Measuring the distance between golfball and hole on the ground
I have a question regarding measuring a distance with code/an AI model. I'm new to coding and I would like to make a code which can detect the distance between a golfball and the hole on a picture. ...
-1
votes
1
answer
36
views
MySQL Distance from Point inside polygon to polygon boundary
I have a MySQL point inside a MySQL polygon. I need to know how close this point is to the boundary of the polygon. According to other related posts ST_DISTANCE only works with points outside of a ...
0
votes
1
answer
54
views
Calculate distances from points to nearest edges of polygons
I have this list of lat/long coordinates (from Google maps).
tpts <- data.frame(lat = c(40.91947468397188, 39.13618031492076,
44.54912813480803, 38.55433576050368,
...
1
vote
1
answer
30
views
GPS Distance calculate with noises
I have points array but there is some noises like this;
But the real direction is;
When i calculate all points with haversine formula i am getting wrong distance because noises took like %20-%30 ...
0
votes
1
answer
74
views
I need spatial polygons representing the land and sea in a world map and then convert them to a dataframe
I need a world map in R that can be transformed into polygons of land to be able to calculate distances through sea from one point to another and going around land/polygons. These polygons need to be ...