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
18 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 ...
3
votes
2answers
114 views

Measure distances between specific features in QGIS for Desktop

I'm completely new using PyQGIS and developing plugins, and I would appreciate some orientation. Currently I have a layer with the X and Y coordinates of electric distribution poles, where each pole ...
0
votes
0answers
20 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 ...
1
vote
1answer
79 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 ...
11
votes
3answers
1k views

Finding most remote spot in Eastern United States?

I have this hunch that I could travel no more than 50 miles from the most remote spot in the Eastern United States (east of the Mississippi River), in the direction of the nearest road, and find a ...
1
vote
2answers
73 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 ...
8
votes
4answers
4k views

Geodjango- get the distance between 2 points

What I want to do is quite simple, I have 2 locations defined by gps coords, lat / long like returned by google maps: http://gmaps-samples.googlecode.com/svn/trunk/geocoder/singlegeocode.html I need ...
1
vote
1answer
633 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: ...
1
vote
0answers
42 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
55 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
65 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
2answers
62 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
93 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 ...
1
vote
1answer
45 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 ...
1
vote
1answer
93 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"? Thank you!
4
votes
1answer
344 views

Distance from waterways using SDC file?

I have an sdc file with water bodies, i.e. oceans-rivers-lakes. I want to combine it with a shapefile with the boundaries of countries all over the world and produce two measures: 1) The average ...
5
votes
3answers
134 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 ...
0
votes
1answer
52 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?
5
votes
2answers
305 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 ...
4
votes
3answers
192 views

How to find accurate latitudes and longitudes data for cities?

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 ...
1
vote
0answers
147 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 ...
3
votes
1answer
68 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 ...
1
vote
0answers
13 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
82 views

integrate elevation and Euclidean distance

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 ...
1
vote
2answers
1k views

Get the distance from a point on a polyline to polyline's from point

I have a polyline and a point on the polyline. I need to find the distance from the from point of the polyline to that point. ICurve.QueryPoint method does the opposite thing. It gives a point ...
0
votes
1answer
22 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
97 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 ...
3
votes
2answers
79 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 ...
1
vote
1answer
51 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) ...
4
votes
3answers
861 views

clustering points in postgresql to create contour map

UPDATE: To try to make this a little more simple, is it possible to create a query which selects a group of points such that each point in the group is at most X units away from at least one other ...
0
votes
0answers
32 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 ...
4
votes
2answers
9k 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, ...
1
vote
1answer
296 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 ...
2
votes
3answers
81 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 ...
4
votes
2answers
211 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, ...
0
votes
1answer
91 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 ...
1
vote
1answer
646 views

How to compute distances between points and polygon borders?

I have point data and polygon in vector format. For each point, I want the distance from the point to the border of the polygon. However, if the point is inside the polygon, I want negative distance ...
2
votes
2answers
189 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. ...
1
vote
0answers
47 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 ...
2
votes
2answers
276 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 ...
0
votes
2answers
106 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?
15
votes
6answers
6k views

What tools in Python are available for doing great circle distance + line creation?

I need to use Python to create a great circle distance -- both a number, and preferably some kind of 'curve' that I can use to draw in a client-side map. I don't care about the format of the curve -- ...
0
votes
3answers
90 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!
2
votes
1answer
35 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
1answer
93 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 ...
1
vote
1answer
199 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?
3
votes
3answers
757 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 ...
1
vote
1answer
5k views

Getting shortest distances between features on separate polygon layers using ArcGIS Desktop?

I have a county-level map for the state of North Carolina, U.S. I would like to compute the shortest distance of each county to any point along the border of Georgia. How would this be done? ...
0
votes
1answer
69 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 ...
1
vote
2answers
91 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 ...