# Tagged Questions

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

61 views

### Calculate distance between two points with QGIS 2.14.0

I don’t use QGIS that much. I have two shapefiles with the following information: List A: ID 1, xA, yA, ID 2, …. List B: ID 1, xB, yB, ID 2, …. x/y = lat/lon I want to calculate the ...
41 views

### Calculate Cumulative Distance (incorporating slope) of a Line Feature Using ArcGIS

In ArcMap, when creating a line feature class within a geodatabase, the length of each record is automatically derived upon creation. This length is based on a distance measurement for a planar ...
23 views

### Furthest point from polygon/point

I want to calculate distance between smaller dots (they represent towns, villages etc.) and these larger red dots (capital cities of admin. region). My goal is to show wich location is the furthest ...
28 views

### Longitude difference to Meters

I have been trying to find an effective method (be it an equation or table filled with values) that would be useful for converting differences in longitude values into a distance in kilometers. It ...
20 views

### Calculate distance between polygons on two separate layers using ArcGIS for Desktop?

For my purposes, I need to find for each polygon in one feature dataset (red polygons) the outemost (from edge to edge) polygon in the second feature datasets (green polygons). Paradoxically, seeking ...
32 views

### PostGis: Calculating distance in different methods, What's the difference?

What is the most efficient (or just "best practice") way to calculate distance between 2 points, assuming we are on 2D world without big circle etc. phenomenon (distances up to 300 meters). Method 1: ...
26 views

### ArcGIS Desktop 10.3: Time-variable minimum distance?

I'm currently running ArcGIS Desktop 10.3 and would like to build a new tool to determine the minimum distance between two point feature sets. The complexity comes from the fact that both datasets are ...
28 views

### Determining point distance along river in ArcGIS?

I have two sets of data: River networks -> line data Fish movement data -> points along the river Is there any way to calculate the distance between the points along the river distance, which is ...
15 views

### Interpreting results of ArcGIS Corridor tool?

The output of the Corridor tool of ArcGIS 10.1 (see picture below) is created using two inputs of the Cost Distance tool for two different sources - in this case habitat for giant pandas North of ...
61 views

### Calculating distance between latitude and longitude Python and CSV

I wanting to compare the distance between two sets of lat/long and I need help inputting my lat/long fields into the Haversine formula. I am able to print my two sets of lat/longs (print floats1, ...
53 views

### Split multiple polylines by distance in ArcGIS

Is there a method to split thousands of polylines by employing a tool like the "Editor" - "Split" method and using distance, in ArcGIS? When I utilize the "split" - "distance" tool (fig1), it ...
20 views

### Problem with r.grow.distance on GRASS

I would like to use r.grow.distance on a raster map. I rasterised a shapefile (about 50 cities in a region) and we can see them on the raster map. Yet, when I launch r.grow.distance, I have a ...
35 views

### Creating a table that stores Distances and other column

I am looking to run a query to calculate the distance from a polygon to other features (will use this query on point, polygon, and line features) within 2 miles and create a table that will display ...
48 views

### R or ArcGis: average per polygon of the shortest distance to a river from each point in that polygon

All the shapefiles necessary can be found here. These are shapefiles of lakes, and rivers. Downloading one shapefile as an example should be enough to get me on the right track. The nuts file can be ...
15 views

### distance and altitude difference betweeen two rasters

I have to different raster, both in 30 arcsec and WGS1984. One raster contents selected landcover and the other raster is a DGM. For each landcover cell I need the shortest distance in km to the ...
27 views

### Perform closest facility analysis with Euclidean distance (without network analyst)

Is there anyway to use the closest facility analysis tool from Network analyst without actually having a network (streets) layer which means without using the network analyst? Because I want to find ...
15 views

### Calculating distances of lines in R

I drew some lines in a GIS application in this projection: +proj=longlat+ellps=WGS84 +datum=WGS84 - is there a name for this projection? I imported my lines into R and to prepare for calculating ...
37 views

### distance between two points on different direction [closed]

I want to measure the distance between two points on the horizon and vertical axis. Is any function on GIS can achieve this?
46 views

### Is there any difference between gdal_proximity.py and ArcGIS Euclidean Distance?

The gdal_proximity.py description says: The gdal_proximity.py script generates a raster proximity map indicating the distance from the center of each pixel to the center of the nearest pixel ...
57 views

### Finding loneliest place on earth? [closed]

I would like to travel to the loneliest place on earth. I define it as being the farthest from any human settlement. The place has to be on the land and not in the sea. I tried to google, but couldn'...
22 views

While measuring out the distance from Memphis, TN to a place in Israel (6614.68 statute miles) I noticed a 6.37 miles discrepancy between Google Map Developers (www.mapdevelopers.com) and Google Earth ...
16 views

### Remoteness Measurements or Accessibility Models in Rural Areas in Africa

I have a points shapefile (villages) that are located in remote areas in Africa. I need to give each village a measure of "remoteness." I dont just want to do a "as the crow flies" calculation from ...
46 views

### Distance to coast in specific direction

I have a point layer and want to know the distance to the coastline (line or polygon layer) from each point in a series of directions (0, 10, 20, 30 degrees, etc). I have found this python script (...
81 views

### QGIS: calculate distance between points

I'm using QGIS 2.8. I need to calculate the distance between points depending on points ID (not nearest point). I have a CSV table including points ID and coordinates. Each point is referenced on 2 ...
36 views

### QGIS _Distance from point to polygon- doubt

I want to calculate the distance between a shp of points and a shp with a few polygons. I am using MMQGIS (Hub distances), a UTM coordinate system, and everything works fine, but I think it is giving ...
30 views

### Postgis meassuring distance between first and third points of a polygon

I am using ST_DumpPoints() function first to get the list of the different points in the polygon but after doing that, the first point is in one record and the third point is in another record and I ...
64 views

### Computing distance between two points following network and doing it for 100.000 points?

My starting data : a collection of points which are buildings a collection of points which are electrical transformation plant a network of vectors which is the public electric network from an ...
22 views

### Stream network distance between specific paired points [duplicate]

I have a stream network dataset and am attempting to do a distance analysis between paired points located in two different layers. Ex. I have 500 points in layer A with given coordinates, and then 500 ...
64 views

### What's the difference between planar and Euclidean distance?

I wanted a straight-line distance. When I was calculating near distance on Arc GIS, I was only given the option between planar and geodesic distance. But people in my field keep referring to my ...
15 views

### What is the relationship between the bearing the 'road' distance between two points?

Given the two points, we know how to calculate the shortest distance between them, and the bearing from one point, in order to reach the other point. Also, we know the loxodromic distance between ...
62 views

### How can I create a circle feature that will have a constant radius in pixels even on zoom in and zoom out? [closed]

Creating SVG icons have also solve it with much greater flexibility: var svgXmlCircle = '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" ' + 'xmlns:xlink="http://www.w3....
66 views

### inaccurate distance measurements in Python

I've tried several ways of measuring the distance between two points in my Django application and comparing the results to a reliable measurement. My numbers are way off. For example, I'm assuming the ...
40 views

### Tool to find the nearest points in one layer, ArcGIS

How can I find nearest points in the same layer in ArcMap? I would like to find points that are in the distance of less then 0,5m.
25 views

### Can I statistically smooth attributes spatially (using distance/surrounding polygons) in ArcGIS?

I have Census Areas with some of the Census attributes. Is it possible to take an attribute, for example, percentage of people in full time employment, and derive a spatially smoothed version of the ...
74 views

### How to select points with MINIMUM distance of 10 km from a vector line in a country?

Let's do it simple: I have a huge amount of points and some lines in my QGIS map. I want to do a selection just of those points that are minimum 10 km far from the line. Any idea? (I have no ...
71 views

### Calculating distance between points of the same layer

I am using QGIS 2.13 and a layer with hundreds of points. I need to calculate the distance to the nearest point... in the same layer. I tried the distance matrix but I get 0m since the "closest" point ...
74 views

### Calculate distances between records in two tables

I need to identify the nearest 3 childminders (approx 500 records) to the nearest school (approx 120 records). Both the childminders and schools layers reside in PostGIS. Can anyone offer any ...
46 views

### How to find the distance between neighboring points in ArcGIS 10.3?

I have two shape files: one has point features indicating urban centers, the other is a polygon features file that has counties. Each county has one urban center. There are around 2800 counties. I ...
16 views

### Creating clusters based on nearest distance attribute in ArcMap using ModelBuilder

I am attempting to create a tool via modelbuilder that creates clustering for a polygon feature class based on the distance field attribute (between one polygon to another) that I have created using ...
17 views

### Wrong corners distance by geopy's Vincenty Distance formula

I try to calculate distances between corners in raster map. I use answer from this How to get raster corner coordinates using Python GDAL bindings? and make my code. But for some maps results is ...
21 views

### How to solve “features were not reachable” warning message using v.net.distance in GRASS

I'm using GRASS 7.0.4 under Linuxmint 17.1 KDE. I need to build a raster with the shortest distance from every pixel to a city following a road. I have two shape files, the city (point) and the road (...
37 views

### Why distance calculated via pixel size in GeoTiff (EPSG:3857) not equal to Google map or ::skyglyph distance?

I need to understand what's wrong with distance calculated via pixel size. I try to calculate vertical size of GeoTIFF with EPSG:3857. Vertical size in pixels is 4001 pixels and in map units is 2654....
50 views

### ST_Distance between ST_Centroid and ST_Y

I'm trying to make a ST_Distance between a ST_Centroid and a ST_Y... But ST_Centroid is a geometry and ST_Y is a float. How can I make this? My query: SELECT ST_Distance(ST_Centroid(ST_Collect(...
56 views

### Getting distance from nearest stream and elevation to nearest stream?

I need to know if there are simple commands for this 2 points: the distance from the nearest stream, D [m], defined as the length of the path that hydrologically connects the location under exam to ...
21 views

### Distance between locations confilct?

Occasionally experimenting in arcmap with openstreetmaps basemap and in google maps i noticed something strange. I measure the distance of 2 locations in google maps (screenshot 1) and on another ...
16 views

### QGIS distance matrix projection and alternative output format [closed]

I have around 200 thousand cities around the globe and are in a point shapefile with equidistant conic projection. I use ArcGIS and QGIS but have two problems: When I use distance matrix tool, it ...
56 views

### Distance Matrix of two datasets

I have two datasets of the same adresses, one geocoded with Google, the other with Nominatim. Now I want to compare address1 of dataset1 with address1 of dataset2, then address2 of dataset2 with ...
47 views

### Finding distance between points in two different layers along route in ArcMap?

I need to find the distance between points in separate layers along a stream network. I have source sites for macro-invertebrates and sites where they are lacking. I need to find the distance between ...