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

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 ...
10
votes
5answers
13k 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
81 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
50 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
18 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
33 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
26 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
185 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
52 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
69 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
25 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
68 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
43 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 ...
1
vote
3answers
103 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
36 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
101 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 ...
4
votes
3answers
9k 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
153 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
0answers
38 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 ...
3
votes
3answers
284 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 ...
1
vote
1answer
78 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
54 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
108 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
67 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
89 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
1answer
874 views

Radius of Curvature Python/Arc, how access x,y coordinates

I have a polyline in ArcMap 10 and I am able to script the length of the line in Python using this bit of code: #Calculate Radius of Curvature #try: # Import system modules import sys, string, os, ...
1
vote
0answers
35 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. ...
4
votes
2answers
4k views

How to use Distance Matrix tool in QGIS?

I have a point data set. Now there are cluster of points based on a field. So I take out one such cluster which has points with same field.I want to find distance between all the points in cluster and ...
8
votes
3answers
371 views

New to ArcGIS and want to compute distance between two points “as the fish swims”

We have a layer named Hydrography which is the water area for a given assignment. I have a station point and a target point. I need to compute the distance between those two points but inside of the ...
5
votes
1answer
856 views

Shortest distance from point to line (big dataset)

What is the best method to calculate the distance from the nearest road for a series of address points in QGIS, having a very big dataset? (QGIS 2.0.1, Win XP) I read the answers to previous similar ...
0
votes
1answer
45 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
94 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
385 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
100 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 ...
2
votes
3answers
1k views

Distance between a line layer and several other line features (arcGIS 9.3 Arcview Licence)

I have a "Drain" line layer (with 150 lines) that I need to calculate the distance from lines to all objects within 120m. I've tried doing a spatial join and its great but I need more than just the ...
1
vote
0answers
36 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
47 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?
3
votes
2answers
67 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 ...
1
vote
1answer
226 views

Calculate distance of points along a route QGIS

I have a line layer and a point layer, I need the distance between the first and the last point measured along the line. How can I do that using QGIS? Do I need to know linear reference? I don't ...
3
votes
1answer
102 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 ...
1
vote
1answer
115 views

Calculate distances between polygon centres in QGIS

Is there a practical way to calculate distances between polygon centroids in QGIS? I have a UK city region map divided into administrative units (1 ward = 1 polygon). I want to represent their ...
8
votes
4answers
8k views

How do I calculate the bounding box for given a distance and latitude/longitude

Hi need to be able to calculate a bounding box or circle for a Given WGS84 latitude and WGS84 longitude, and distance but have no Idea where to start! The distance from the start lat Lon would be 10KM ...
1
vote
1answer
36 views

How to select polygons by distance to a single polygon in another layer?

I have a shapefile A with a group of polygons, lakes. Now I want to select the polygons(lakes) that are within a specific distance to a polygon in a second shapefile, B, with the polygon a city. In ...
1
vote
2answers
48 views

Distance from one point to many polygons

I'm using ArcMap 10.1 and have a shape file of polygons of municipalities. I also have the coordinates of the centroids of the polygons (if I need to use them). I want a column in my attributes table ...
13
votes
4answers
5k views

How to cluster spatial data in R?

I am very new to R, so please bear with me : > I have bunch of data points with latitude and longitude. I want to use R to cluster them based on their distance. I have already taken a look at this ...
2
votes
1answer
3k views

How to find nearest point for each point in current layer?

I have a point layer and want to know the distance of nearest point of current layer for each point in the layer. I found some tools in ArcToolbox about it , but they need two layers for input and ...