The measure of separation between two entities or locations that may or may not be connected, such as two points.

learn more… | top users | synonyms

1
vote
0answers
37 views

Calculate distance in point collection algorithm

I've got collection of points which are sorted by x,y and distance between n and n+1 (array of objects [{x:0,y:0},{x:1,y:1}....] I would like to calculate distance between all points (point 1 distance ...
2
votes
0answers
101 views

FME - calculating distance to points along a line

I am new to FME, and trying to get my head around what should be pretty straightforward issues, but I find myself going around in circles Basically I want to determine the distance (chainage) to a ...
3
votes
2answers
114 views

Determining closest representation of polygon as collection of points+radii

Have a bit of a tough question, which I realize there may not be an easy solution to. Figured what better place to ask. I'm attempting to transform a polygon into a series of arbitrary points with ...
0
votes
3answers
131 views

Calculate distance using 2 sets of lat/long values in the same record

I have a point layer with over 90K records in it. For each record I have lat/long field for incident, and lat/long for engine location. Is there a way to find the distance between Incident point and ...
6
votes
3answers
4k views

Splitting lines automatically at specific distances using ArcGIS Desktop?

I have a set of polylines which I need to split at varying distances from their starting points. In general, I'm looking for a something similar to the SPLIT function within the editor tool. There ...
1
vote
1answer
330 views

Calculating distance between two sets of Decimal Degree coordinates?

I have coordinates in decimal degrees e.g: point A:Lat,Lng(5.317101667,-2.023303333) and point B:lat,lng(5.317093333,-2.023318333). The altitude in Meters at Point A is 11m and the altitude and Point ...
0
votes
0answers
34 views

Devising measure of vertical distance from spring line?

I am building a model (using Logistic Regression) to explore the relation between a binary categorical dependent variable (parcels agricultural production quality) and several predictors, among which ...
3
votes
1answer
117 views

Distance from rivers, taking into account terrain elevation

I am interested in building a raster of the distance from rivers in a territory under study. I have digitized the course of the rivers in ArcGis 10.1. I have used the 'Euclidean Distance' tool to ...
0
votes
0answers
19 views

Calculate distance between point and linestring, save the distance as table and represent that on QGIS? [duplicate]

I have loaded my data with osm2pgrouting and I have my network with ways (Linestring) and nodes (Point). The problem is : I have a database of doctors addresses (point) and I should calculate the ...
0
votes
0answers
39 views

Euclidean Distance Function performed on unprojected data

I am looking to perform a simple multi-criteria analysis on a data set comprised of two criterion: occurence of wildfires and road accessibility. First, the project CRS was enabled with "on the fly" ...
3
votes
1answer
112 views

Calculate distance between point and linestring and how to represent that on QGIS?

I have loaded my data with osm2pgrouting and I have my network with ways (Linestring) and nodes (Point). The problem is : I have a database of doctors addresses (point) and I should calculate the ...
4
votes
1answer
173 views

MMqgis (hub distance) error in distance

So I am trying to calculate the distance of several points to a coastline, using hub distance (mmqgis plugin) in Qgis Dufour 2.01. I am using the default coordinate system (WGS84) and I, already, ...
0
votes
2answers
115 views

Using grayed out distance/direction tool in ArcGIS for Desktop?

I have a set of five points (all with specific latitudes and longitudes) and I want to create a set of points which will be about 80 kms from the first set. I understand that I can use the ...
0
votes
1answer
64 views

Get CartoDB query by distance to work

Has anyone tried this tutorial: Query by distance ? This is a copy of the final code which they use for the map: <html> <head> <link rel="stylesheet" ...
1
vote
1answer
72 views

Calculating distance of polygons from coastline using ArcGIS for Desktop?

I have a series of polygons representing parcels of land. I would like to calculate the distance of each polygon from the coastline. I also have a polygon of the entire region of interest, i.e. an ...
1
vote
1answer
90 views

Distance Between Two Points Same Value Different Feature Classes

I have two point feature classes - one is the original data and one is the data after editing. I want to know how far each of the points moved in the editing process. How do I compare all of the ...
11
votes
5answers
12k views

Calculating Lat/Lng X miles from point

I am wanting to find a latitude and longitude point given a bearing, a distance, and a starting latitude and longitude. This appears to be the opposite of this question (Distance between lat/long ...
0
votes
2answers
55 views

How to set a coordinate transformation GRID

Does anyone know how to set a coordinate transformation in qgis so I can measure the distances in meters or kilometers? If anyone has a clue, would be just great. Thanks!
0
votes
1answer
1k views

I nead to find the nearest places based on latitude/longitude points

I have a java aplication backed by a mysql database which contains events with locations (latitude/longitude), the location data is saved as POINT data type. I nead to find the nearest events in some ...
1
vote
1answer
157 views

Calculated distance doesn't match Google Earth

I have a google earth route that measures 190.1km in Google Earth. I then pulled down the .kml file, extracted the points and measured them using Vincenty's formula (ellipsoid earth) and got 190.2. ...
1
vote
2answers
246 views

Calculating distances between points two feature datasets

I will do my best to explain my problem. I have two feature datasets. One set has about 100 points that are "city centers." The other dataset has points for each census tract in each of these 100 ...
0
votes
0answers
23 views

Asp code for distance in SQL sever

I've looked around but I can't find the answer anywhere and im getting kinda frustrated now. I'm using sql server and what im trying to do is to find apartments within a 0.5km radious of a said ...
1
vote
2answers
46 views

Spherical law of cosine what does the 'a' represent?

I want to use the spherical law of cosine formula, θ = atan2( sin Δλ ⋅ cos φ2 , cos φ1 ⋅ sin φ2 − sin φ1 ⋅ cos φ2 ⋅ cos Δλ ), to calculate distances between coordinates, but, I cannot for the life ...
0
votes
1answer
101 views

Distance-direction computation of lines with exactly/more than two nodes?

A distance and direction tutorial provided as an Answer at How to add Direction and Distance to attribute table? uses: xat (0 ), xat (-1 ) and yat (0 ), yat (-1) for start and end points of lines; ...
1
vote
0answers
21 views

Find coordinate of point on the boundary of a circle given a latitude/longitude and radius [duplicate]

I understand how to use the haversine formula to compute the distance between two points on the earth. However, I would like to answer a similar, albeit different question. How can I compute the ...
1
vote
2answers
97 views

Calculating Distances between Field polygons via Road polygons using ArcGIS for Desktop?

I have two polygons layers, one (grey) is Roads, other (blue) is Fields. Can I calculate distances between Fields (by field unique ID number) using Roads layer as distance measurement? What tools or ...
0
votes
1answer
254 views

Calculate distance between two coordinates to use in variogram calculations in ordinary kriging

I need to calculate distance between two stations in a map in order to calculate empirical variogram in ordinary kriging to interpolate temperature data. Calculating distance in kriging using ...
1
vote
1answer
32 views

Is there a tool in arctoolbox for IDistanceOp.CostPathasPolyline?

Almost all the methods in IDistanceOp have a corresponding tool in the Distance Toolset Spatial Analyst Toolbox. However, I can't find anything in the toolbox for IDistanceOp.CostPathasPolyline. ...
0
votes
0answers
25 views

Find square with latitude and longitude for given lat and lng and distance [duplicate]

I have the coordinates of some point, lets say lat and lng, I want to find the latitude and longitude of top left and bottom right corners of the square, whose sides are located k kilometers from the ...
12
votes
5answers
15k views

Finding distance of point along polyline?

We need to find the distance of a series of point along a given polyline. We have a polyline dataset repsenting rivers in a catchment, broken up into river reaches (FID 1 through 35 for example). We ...
1
vote
1answer
403 views

Creating Longitude and Latitude Lines in Google Maps

I'm working on an independent high school project where i'm trying to build a simple differential equation model for diffusion. I'm trying to overlay the model on top of a map to visualize spread, so ...
0
votes
2answers
65 views

Joining two polygon layers based on distance?

I'm new to GIS so this question may be an obvious one. I have one polygon layer of urban land use and another polygon layer of swamps. How do I join the two layers so that I get a column in the ...
0
votes
0answers
23 views

avg distance within 2 geometry tables

I have 2 geometry tables: "f" with only one data and "s" with 100 data I want to find the avg distance of s to f these are the commands: CREATE TABLE f id int4 primary key not null , name ...
0
votes
0answers
68 views

Find nearby cities by a driving distance radius

I'm studying GIS services to solve one specific need: Given x/y coordinates of one city, I want a JSON result that lists only cities (not facilities) that are nearby the specified city, within a ...
1
vote
1answer
36 views

How can I calculate the nearest distance to a landscape element taking the direction into account (i.e. slope direction, prevailing winds)?

I am trying to build a layer of distance to relevant landscape elements in a watershed. To be relevant, a landscape element must be downstream with respect to the runoff direction.  Clearly, I want ...
0
votes
0answers
978 views

Is there a way to calculate driving time/driving duration with google maps api without considering the traffic situation?

I am currently using this VBA-Code, written by Jamie Bull, to calculate both, driving distance, as well as driving duration, between approx. 1.500 villages and a specific shopping center, using excel. ...
1
vote
0answers
97 views

QGIS distance measure

using QGIS 2.2 and trying to figure out a way to obtain a distance measure for the width of pavement. I have 2 shapefiles: one of points which are at 5m intervals along the pavement centreline and ...
0
votes
0answers
13 views

What happens if raster overlapping when I run cost distance?

I'm having problem with the cost distance tool in Arcmap. I need to use cost distance to find out the cost of having to move from a subway station to a green area. But the resulting cost distance ...
1
vote
0answers
114 views

Calculating closest distances in meters/kilometers given lat/long coordinates?

I am using ArcGIS 10.2 for Desktop. I have a shape file containing points worldwide with lat and long, and another world map polygon file whose Geographic Coordinate System is GCS_WGS_1984 and Datum ...
1
vote
1answer
26 views

nr of cells between cells

I want to do the following: I have a set of cells with the value 1, and a set of values with 2. I want to calculate for each cell [2] the distance - ideally number of cells - to the nearest cell 1. ...
1
vote
1answer
99 views

How to do point-to-point near analysis conditional on common attributes of the two layers in Arcgis 10.2 (advanced)

I am measuring the closest straight distance from cities of interest (in a layer) to their capital cities (in another layer). Basically, distance between a city and a capital city is calculated if ...
0
votes
0answers
70 views

Cost-Distance Tool not producing logical answer

I am working on creating a cost catchment based on Tobler's equation in ArcGIS10.1. I feel confident in my cost surface; it produces a raster where each cell equals the time in hours that it would ...
0
votes
0answers
25 views

How to measure water ties

I was using Arc Gis to measure water ties from the edge of buildings. It was so easy, I just had to click on a circle and it would show the distance on the bottom of the screen. I would measure from ...
1
vote
3answers
267 views

How to determine Distance between points using ArcGIS for Desktop?

I am trying to figure out the distance between points based on 1000+ points using ArcMap 10.2. I have transit stops and am trying to figure out how far from stop 1 to stop 2, stop 2 to stop 3, stop ...
0
votes
0answers
22 views

distance surface with qgis on a binary raster map [duplicate]

I'd like to make a distance surface from a binary map in QGIS. I've got road network in a raster format where value 1 means road, 0 means anything else. How can i reclassify the map which indicates ...
1
vote
0answers
39 views

How to determine distances of points from closest line? (Mapinfo or QGIS) [duplicate]

I have a set of points and a set of lines. I'd like to know distances of the points from the closest line... answering the question "how many points are within 500m to 1000m of one of the lines, how ...
1
vote
2answers
265 views

Find closest feature

How can I find the closest feature(coordinates) in a json file from a set lat lon using openlayers. Currently, I get the centroid point(lat,lon) from the selected polygon feature ok, but I Would also ...
6
votes
3answers
13k views

Find points within a distance using MySQL

I have a mySQL table with user name, latitude and longitude of the user. I would like to get a list of user who are inside the circle or square of a given latitude and longitude with given distance. ...
2
votes
1answer
737 views

Calculating distance scale factor by latitude for Mercator

This was really inconvenient topic to google out - so I'm asking for clarification, did I understood things correctly. I'm talking about measuring short distances in Mercator projection (3857). You ...
3
votes
3answers
400 views

Why is sum of st_length() of segments 20% too big?

I'm running a query to return the total length of some bike paths, from OpenStreetMap. Compared to the known actual length of these paths, they're all a bit too big - something like 10-30%. I know it ...