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
156 views

Find the point distance along a streams polyline?

Working in ArcGIS. I am looking for a way to find the distance of a point along a streams polyline. I read Finding distance of point along polyline? and it seems to be similar to what I need...the ...
1
vote
0answers
19 views

How can I quantify whether locations of one 'type' are closer to one another compared to a second 'type'?

This might have an obvious answer but I'm new to GIS and can't seem to find the right technique... I've got GPS points for a bunch of households and have calculated the distance (in km) between each ...
2
votes
1answer
245 views

Measure distance between vertices of polylines in QGIS for Desktop

I have this dataset of coordinates of electric lines in the form of vector polylines as shown in the image below, and I need to measure the distance between the first and last vertex of each line and ...
0
votes
0answers
38 views

Calculate near distances using drive time distances

I know that you can calculate the drive time distance between two points on ArcGIS. But, is it possible to combine the generate near table tool with drive time distances? I have an input feature, a ...
3
votes
2answers
212 views

Measure distances between specific features in QGIS for Desktop

I'm completely new using PyQGIS and developing plugins. Currently I have a layer with the X and Y coordinates of electric distribution poles, where each pole is a feature. What I need to do is ...
1
vote
2answers
78 views

Distance between two points in a line feature

I have two layers, one with lines and the other with points. Layer one has all the points (A to J) as shown below and layer two has all the lines connecting these points. Is there an automated way (in ...
1
vote
1answer
2k views

Using Python to compute the distance between coordinates (lat/long) using haversine formula and print results within .csv

I have a .csv file with 3 columns. The first column is titled Distance and it is empty. The second and third columns are titled Longitude and Latitude which contain coordinates, for example: Distance,...
1
vote
0answers
43 views

Put Labels with distances on lines

this my first question in this forum and I don't have much experience on QGIS I have a layer with lines representing streets in the city and I have to show the distances of intersection points of ...
1
vote
0answers
60 views

Raster distance for statistical analysis

I am trying to some kind of hedonic analysis. I need to calculate driving forces for new urban areas. In order to do this, i have a raster with new urban area's and one with existing urban areas (...
0
votes
1answer
101 views

CartoDB distance measurement/best route along street network

I would like to find out how I can perform a distance measurement between 2 known points along a street network, similar to the way google maps gives directions and distances. Is this possible in ...
1
vote
1answer
139 views

What does v.distance calculate excactly?

As I am from an economics department, I am quite a beginner in QGIS. I read, that if I wanted to calculate the distance from a polygon to a point/line/other polygon, I should use the GRASS plugin "v....
1
vote
2answers
94 views

Computing the Vertical Nearest/Shortest Distance in ArcGIS

I have a shapefile containing around a hundred points (lat/longs). And, I have a shapefile that contains a polyline representing a river. The river is somewhat horizontal (runs east to west) but ...
1
vote
1answer
149 views

Finding distance up geometric network?

I have successfully been using the trace upstream in ArcGIS with 10,000+ points as flags to find what polygons are upstream (using a select of the polygons than intersect the upstream trace). Now I ...
0
votes
1answer
147 views

Select points within a buffer in QGIS

In my vector layer I want to select points within a buffer of 12 meters and with an exception (if 'Name' is not "James" than select). Is this possible with "select by expression"?
1
vote
1answer
64 views

How do I get the distances to every cell in GRASS?

I have an elevation raster map, a point, a raster map defining the viewshed from that point, and now I want to produce another raster map with the results of a function of the distance between the ...
2
votes
1answer
276 views

Calculate road distance between GPS points

I am working on tracking system that track location of vehicles on the map and tell their total distance from the beginning till today. I have device_id, timestamp and GPS location in the table like ...
0
votes
1answer
54 views

How can i calculate the distance to the nearest five neighbors for a polygon layer?

Data set (shape file) contains polygons. How can I calculate the distance to the nearest 5 polygons in the data set in QGIS?
7
votes
3answers
256 views

Calculating avg distance between two non-parallet lines?

I'm currently working on creating a data model that will allow the analyst to digitize two non-parallel lines of approximately the same length. Currently the methodology is to divide the lines into 11 ...
5
votes
2answers
561 views

Way to find minimum value from a group of values - QGIS?

I'm wondering if there is a way to find the minimum value of a group within QGIS? Basically I need to find the minimum distance of each unique value in a table of about 5000 records. I can do the ...
3
votes
3answers
259 views

How to find accurate latitudes and longitudes data for cities? [closed]

I want to put the coordinates of cities in a spatial db and then find cities from a given city at some given distance. I am hoping these functions would be readily available in a spatial db like ...
2
votes
0answers
336 views

Google maps distance based on the zoom level

I have used google maps for displaying some locations using markers, based on the user's current location. User's current location is the center point of the map. The default zoom level is 12. In ...
1
vote
0answers
16 views

measuring a distance on QGIS 2.2. in meters not degrees [duplicate]

Im using QGIS 2.2.0 and when I want to measure the distance on a map, the units are in degrees instead of meters. I have tried this : Right click on layer -> "Save as..." -> CRS: Selected CRS (WGS84) ...
3
votes
1answer
77 views

Find all points within 5m with same name on large dataset

I have a large dataset (500,000 rows) in cartoddb which contains data like this.(abbreviated for easier typing) cartodb_id | count | lat | long | name | the_geom 1 ...
3
votes
1answer
123 views

integrate elevation and Euclidean distance in ArcGIS for Desktop?

I have a number sequential GPS locations from marked animals - usually 4 to 5 locations per day for 1.5 years - and am trying to delineate seasons based on elevation and distance. From low ...
0
votes
1answer
23 views

Comparing distances between old and new Esri geocode locator points

I need to check the accuracy of the locators between Esri's Streetmap 14_2 and Streetmap 15_1. The two layers need one to one distances measured between points that have the same attributes i.e. same ...
1
vote
0answers
131 views

Calculating minimum distance using “Distance Matrix” in QGIS

First of all, I'm very rookie in using QGIS. I want to calculate minimum distance between points and a line in QGIS. I use "Distance Matrix", point shape file contains 1337 points data, and I made ...
1
vote
1answer
76 views

Extracting the closest Point to a Line within a Polygon using ArcGIS for Desktop

I have the following shapefiles: Polyline: Detailing a road network. Polygon: Containing approx. 2000 polygons enclosing sections of that road network. Point: Containing numerous (OS Addressbase) ...
3
votes
2answers
105 views

Construct curve of equal distance from two straight lines

Given two straight lines defined by two points each, I want to get the line which separates points nearer to line a from points nearer to line b. The attached PostGIS code is an example case, it finds ...
0
votes
0answers
44 views

Specifying time and distance attributes in ArcGIS Network Analyst?

My network is taking too long to complete a route. I continually get a completion time of about a month when in reality it should take about 6-8 hours to complete. I downlaoded a tiger/line shapefile ...
1
vote
1answer
549 views

Converting from kilometers to degrees distances?

We have geometries in a Postgis database with SRID WGS84 and we have found lookups directly in degrees to be much faster than in kilometres, because the database can skip the projections I would think....
0
votes
1answer
211 views

Calculate driving distance and time from 2 lat/lon points

I'm researching a way to calculate driving time and distance for 2 latitude and longitude points? I'm unable to use any 3rd party controls or maps. If possible it has to all be generated locally to ...
2
votes
3answers
98 views

Zonal average weighted by distance from point

I am using ArcGIS 10.2. I have a vector layer with points, which represent houses and a raster layer with values of 0 or 1, according to a certain threshold. In a buffer of 5 km around each of these ...
1
vote
0answers
61 views

Shortest Path Between Points for Airborne Travel

I work for an aerial surveying firm and have a point shapefile of every location we need to fly over to survey. There are approximately 500 features in this dataset. I would like to determine the ...
4
votes
2answers
277 views

Measuring distance to roads using raster data in ArcMap?

I am using ArcMap 10.1 on a Windows x64 system. I am trying to analyse the driving force of urban land use land cover changes. I have 7 raster files represents distance to roads, distance to river, ...
2
votes
2answers
445 views

How to calculate distance between points on a line in arcgis?

I created a series of points along a line (as a single feature point), in ArcGIS 10.1. I want to know the distance from one point to the next point along a line. I would also like to know the simple ...
2
votes
1answer
40 views

Adding separate distance files to calculate total distance in ArcGIS

I have two raster files: A raster of distance-to-outlet for a creek. Value = 0 at creek outlet (white), and the maximum value is at the beginning of the creek (black). A raster of Euclidean ...
2
votes
2answers
308 views

How to calculate the distance between a line and a point (using lat/lon coordinates)

In my Android app, I need to calculate the distance from a point (the device's location, which is a lat/lon coordinate) to a line (defined by two lat/lon coordinates), and get the result in meters. I'...
1
vote
1answer
307 views

Convert distance from meters to EPSG 3857

I need to convert distance from meters to units of EPSG 3857 in PostGIS. This is important for me to calculate a radius for ST_DWITHIN as I'm dealing with geometries. How can I do this?
1
vote
2answers
205 views

Maximum distance to polygon edge

I have a point feature class and a polygon feature class, and each point is located within one polygon. Is there a way to programmatically calculate the distance from each point to the farthest ...
2
votes
1answer
509 views

Query all Object within n kilometer Radius with Hibernate Spatial?

I use hibernate spatial attach a geolocation to a car. My card domain class looks like this: import com.vividsolutions.jts.geom.Point class Card { String name Point location } My program is ...
0
votes
1answer
268 views

Projection For Measuring Distances

Is it the case that when I use Arc GIS to compute nearest distance from a point to a poly-line/polygon, I need to project them both in an equidistant projection? Note: I am using the near tool. What ...
3
votes
1answer
118 views

After how much distance does the x,y coordinate system become noticeably distorted?

I'm working with maritime sensors that give information of moving objects it detects, in azimuth, range and elevation, and we convert it to x,y coordinates for our application to be able to process it....
0
votes
2answers
197 views

NNJoin, MMQGIS and Nearest Neighbor QGIS failed to measure shortest distance

I have two layers, one point and one line. I need the distance to the closest line from the point layer. Not NNJoin, MMQGIS nor the distance hub in QGIS provided accurate measures. Any ideas?
1
vote
1answer
118 views

CartoDB (PostGIS) near function (distance) points to polygons

I have a CartoDB map here: Link: https://dms2203.cartodb.com/viz/78db6c02-3148-11e5-a42f-0e018d66dc29/public_map I'm trying to find the distance of the points to the polygon. If the points are ...
1
vote
0answers
360 views

How to obtain an euclidean distance raster from a vector file in QGIS?

I'm trying to obtain a raster of Euclidean Distances from a vector layer I have of a river in Spain. I did it very easily with ArcMap using Euclidean Distance, but I don't know how to do it in QGIS. ...
0
votes
1answer
109 views

Calculating Distance and Time on a network without the use of ArcGIS Network Analyst

I'm trying to calculate a distance and time for walking commuters (about 30,000 records) on a street network (NYC Lion). I have a starting and ending address for each record that have been geocoded. ...
0
votes
1answer
244 views

How to measure distance between two coordinate pairs taken from NMEA file?

In order to measure momentary speed, first I need to measure the distance between two pairs of coordinates. That's where my lack of knowledge stops me. I have example data in NMEA format: $GPGGA,...
4
votes
1answer
91 views

How to find the distance from a point to a polygon, via another point, in R

I am trying to calculate the distances between a central point, and the edge of a polygon, along straight lines drawn between the central point and another set of points (where necessary extended ...
2
votes
0answers
68 views

QGIS: distance matrix different outputs

In one of my plugins I would like to use the distance geoprocessing algorithm. When running this algorithm from the menu Vector->Analysis Tools->Distance Matrix I get a different output than running ...
0
votes
1answer
84 views

Calculate distance between two coordinates along lines

I have a map with two layers: a map of the streets of Montevideo, and a map of shops with the lat long location. I would like to calculate the distance between each shop and the nearest one, along the ...