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

3
votes
1answer
104 views

Shortest distance from polygon centroids to a line in QGIS

To get the distance of each polygon centroid from a line, I have tried the Distance to nearest hub algorithm from the Processing Toolbox. The distances I got from the algorithm did not seem correct, ...
1
vote
1answer
60 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
62 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 ...
0
votes
2answers
54 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
766 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
126 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
165 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 ...
1
vote
2answers
44 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 ...
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
74 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 ...
1
vote
1answer
31 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
1answer
74 views

Zoom variable or pixel distance

I have query by distance working in a framework that generates a list of features within a fixed distance of a clicked feature. I would like to make the queried distance variable based on either: ...
0
votes
0answers
24 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 ...
1
vote
1answer
375 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
0answers
21 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
2answers
59 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
53 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
33 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 ...
1
vote
1answer
133 views

Why do classic google maps and the modern google maps show different types of driving times?

As I am currently working on a project, where driving times are quit important, I've noticed that classic google maps and modern google maps show different types of car driving times. While the ...
0
votes
0answers
739 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
84 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
102 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
88 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
59 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
24 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 ...
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
3answers
173 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 ...
1
vote
0answers
38 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
189 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 ...
2
votes
1answer
486 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 ...
0
votes
1answer
63 views

calculate distance between points crossing the antimeridian

How can I calculate the distance between two points (lon/lat) if any of the points exceeds the antimeridian (+-180 longitude)? Im using the distVincentyEllipsoid {geosphere} to calculate the shortest ...
1
vote
2answers
217 views

Measure average distance between two lines with common endpoints

I have two shapefiles, each with a set of lines generated from start and end points. One shapefile has the straight lines generated from the XY To Line tool, while the other has lines generated from a ...
1
vote
1answer
103 views

How to convert distance into latitude + longitude [duplicate]

I have start point (latitude) I know direction, lets say strictly north, and I want to calculate latitude which is 100 meters above the start point. The same for longitude. I believe there should be ...
1
vote
1answer
71 views

Calculating distance between borders when one polygon inside another polygon?

I am brand new to ArcGIS and having some trouble. I would like to calculate the distances between the border of one polygon to another polygon. However, these polygons overlap. Thus when I use the ...
2
votes
1answer
176 views

Toblers's Hiking Equation and Slope Dilemma

I'm trying to use Toblers's Hiking equation to determine economical backgrounds of some hillforts. The equation is anisotropic which means that the speed of movement that it calculates differs whether ...
1
vote
1answer
85 views

ArcGIS spatial join - WITHIN A DISTANCE including distance

I am applying a spatial join in ArcGIS between points (target features) and lines (join features). I want to have a 1-to-many join, so I use the match option 'within a distance'. So far so good. The ...
4
votes
1answer
156 views

Calculating “travelled distance” of a GPS track without including “stops”

I have a set of GPS tracks from a cycling event and I want to correlate their distance along the route. Problem is: when a rider stops, generally by entering a covered place, GPS keeps logging (low ...
1
vote
0answers
37 views

Distance raster from one raster value (A) to another value (B) while ignoring similar values [closed]

I have two different patch types: A and B I want to get a distance raster from all A types to the closest Type B patch but I don't want the raster to calculate from A to A or B to B. Just A to B. ...
0
votes
1answer
57 views

coordinate pairs distances

I am new to GIS and have the following question. My shapefile has several coordinate pairs (x1, y1, x2, y2) and I would like to calculate the distances between the points within one go. Any ...
0
votes
1answer
135 views

Calculating distance between coordinates [duplicate]

I would like to calculate the distances between a list of coordinates (classic GPS coord.). From coordinate A to B from B to C from C to D and so on, and so forth. Is there any program, or website, ...
0
votes
1answer
29 views

Find Distance within each Raster contiguous cell block

I was asked to find for each Individual Contiguous Forest Block the distances INSIDE of each where it would be the farthest (aka the most isolated) from each forest cell block's respective edges. I ...
3
votes
2answers
1k views

Excel Distance Calculation

Is there a way (preferably in Excel) to calculate the distance (based on lat, lon) between two lists of points? My end goal would be, for example, to have a list of Starbucks and a list of McDonald's, ...
0
votes
1answer
139 views

Cut polylines at intersections in QGIS (or how many km road for each country)

I want to measure how many km a road stand on each country it intersect (i.e. how many km of the european road "E45" stand on Italy, Austria, Germany, and so on). I have a polyline-shapefile with the ...
1
vote
0answers
42 views

Is there any GRASS command to measure the distance between a point in rastermap and another in vector map?

I have a question about WinGRASS 6.4.3. Is there any GRASS script command to measure the distance between a point in rastermap and another in vector map? I have a raster map and a vector map. Raster ...
0
votes
1answer
66 views

Adding Distance (KM and Miles) to a Map using ArcGIS 10.1

Using ArcGIS 10.1, how do you add and show the distance in mile / km markings alongside the marked trails(KM and miles) while using the aforementioned 10.1?
2
votes
3answers
241 views

Draw line between points from multiple datasets

I have 2 point datasets and want a tool or script to draw a line between all points in one dataset to all the points in the 2nd dataset. Is it possible? I have tried ESRI "Point Distance" and ...
3
votes
2answers
80 views

Distance calculation PostGIS

I've got the following task to solve: I've got two tables; one contains buildings (houses) as points and the other contains train-stations (at_bhf_classified) as points. I need to find out the ...
3
votes
1answer
127 views

How to calculate distances between several points along network?

I have several points (bicycle share hubs), and I want to calculate the distance between each of them using a network. I want a CSV/XLS that has three headers: hub_id1, hub_id2, distance. I've ...