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
1answer
78 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
1k 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
45 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
13k 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
572 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....
2
votes
3answers
99 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
286 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, ...
1
vote
1answer
1k 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
346 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
0answers
66 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
465 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
207 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?
16
votes
6answers
7k 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
107 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
41 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 ...
3
votes
1answer
121 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....
1
vote
1answer
320 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
924 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 "...
2
votes
1answer
7k 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
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 ...
1
vote
2answers
233 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 ...
1
vote
1answer
123 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 ...
0
votes
1answer
283 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 ...
1
vote
0answers
399 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
113 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. ...
1
vote
0answers
167 views

How to set the length of a line using openlayers [duplicate]

I'm trying edit a polygon by changing the length of some lines by code. Found this method to calculate based on the bearing. But I didn't find anything on how to calculate the bearing, before I start ...
4
votes
1answer
97 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 ...
3
votes
3answers
1k views

QGIS spatial join, calculating distance from polygon to point layer

I am trying to perform a kind of 'spatial join' in Arcgis, joining to a polygon layer atributes of the closest feature of a point layer, as well as distance. But 'spatial query' doesn't offer an ...
3
votes
1answer
646 views

QGIS distance from points to nearest line

How can I get the distances from each point at a shapefile to the nearest line from another? I've tried to follow the directions from Measuring the distance between lines and points in QGIS and ...
40
votes
2answers
5k views

How accurate is approximating the Earth as a sphere?

What level of error do I encounter when approximating the earth as a sphere? Specifically, when dealing with the location of points and, for example, the great circle distances between them. Are ...
2
votes
0answers
70 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 ...
3
votes
1answer
137 views

Problem with distance in QGIS

I start a new project with base on OpenLayers plugin but if I check the distance on QGIS with distance tool (I choose a straight road) I view 5.466m on QGIS and 4.300m on google (by walking). How is ...
1
vote
1answer
56 views

Distance regression in ArcGIS

I have layer of point data of aid projects in Tanzania between 2000 and 2012, and a layer of point data for 42 villages where a survey was conducted in 2003, 2006,2009, and 2013. Within the survey ...
5
votes
3answers
3k views

Dissolving polygons by attribute within certain distance using ArcGIS Desktop?

In a FeatureClass I have a lot of polygons which contain attributes of different landuse-types. Now I am trying to dissolve those polygons of the same landuse-type, but only if the distance between ...
1
vote
1answer
33 views

Search radius for some intermediate distance

ArcMap on my laptop runs very slowly. So it can take a long time for a near table to run. Is it possible to use a search radius for some intermediate distance? For example, the search radius only ...
1
vote
0answers
30 views

Calculating the distance between a set of UTM coordinates [duplicate]

I would like to calculate the distance between several GPS points, these data are projected into UTM Zone 30. I am using Postgresql 9.3 but I am happy to see results with any software or website such ...
1
vote
1answer
130 views

How to measure the distance between multiple points and multiple polygons?

I'm trying to find a quick and accuarate way to measure the distance between 3 survey sites and all the designated sites within 10km. The survey sites are on a point vector layer and the designated ...
1
vote
0answers
127 views

CartoDB: Calculating distance between points in two tables and including the name of the second point in infowindow

I am plotting community gardens in CartoDB and want to show the nearest subway entrance in the infowindow. I have two tables with the location of the gardens and the subway stations. I am able to get ...
2
votes
0answers
162 views

coordinate system for calculating distance at the nation scale

I want to use ArcGIS 10.1 to calculate the straight (euclidean) distances from zip codes to their nearest city centers in about 300 U.S. metropolitan areas. I have two point shpfiles: one includes the ...
0
votes
1answer
173 views

nearest point distance in Arc Map

How do you calculate the nearest distance from one XY coordinate to another XY. I'm using Arc Map 10 I went into Arc tool box -> proximity -> then I only have 2 buffering options. But under buffer ...
0
votes
1answer
2k views

Convert length in decimal degrees to feet

I've got attributes for a length that the Near tool calculated, and it gave them to me in decimal degrees. I need them in feet. Is it possible to do this with the Calculate Field tool? I tried ...
1
vote
0answers
11 views

Set of intersection points in trilateration / multilateration [duplicate]

Like in this post I will get a set of points (3 or more) with latitude, longitude and distance (in KM) information to find out the target location. A distance could be about 500 KM. The circles (...
2
votes
1answer
59 views

How to create a raster of equidistant points with distance in meters using QGIS?

I need a set of equidistant points (like a raster) each in a 1km distance to the next over a certain area, in my case Germany. I know the feature "regular points" in QGIS where I can do just that but ...
0
votes
1answer
173 views

How do I measure the distance between two points within a country arcmap

I have two shapefiles with points distributed over the whole world. I would like to measure the distance (like the crow flies in km) from each point in shapefile 1 to the closest point from shapefile ...
0
votes
0answers
180 views

Calculating offset distances perpendicular to parallel lines in shapeile with results written to table using ArcGIS for Desktop?

I have a line shapefile with sets of parallel lines (or sticks on the map) representing the map view of horizontal gas wells that were drilled. I'm looking for tool or Python script to measure the ...
1
vote
0answers
450 views

Why Haversine formula and Web Mercator give different length between two latlng points?

I am calculating the distance between two points given by latlng. However, Google Maps (i.e., web mercator projection) gives me a longer distance than Haversine formula. Which is the most accurate ...
7
votes
2answers
5k views

What's the difference between vincenty and great circle distance calculations?

Python's geopy package features two distance measurements techniques: Great Circle and Vincenty's formulae. >>> from geopy.distance import great_circle >>> from geopy.distance ...
0
votes
0answers
530 views

How to calculate distance between point feature to multiple polyline features in ArcGIS

I have a GPS track which is basically a point layer. I have different route networks such as - train, tram and bus routes. I want to calculate the distance between each point to nearest features ...
1
vote
1answer
389 views

How to calculate the distance to the nearest coastline from site locations?

I want to calculate the distance to the nearest coastline from my site locations (point shapefile), and possibly the max distance as well. I am using ArcGIS 10.2 and I already have a shapefile of the ...
0
votes
0answers
201 views

Distance Measure appears to be wrong in ArcGIS Desktop?

The distances in my shapefile are completely wrong. I got this shapefile online. Does anyone knows what's going on? I attached two pictures. The shapefile is projected as ...