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
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
207 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
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 ...
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 ...
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. ...
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
92 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
607 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 ...
39
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
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 ...
3
votes
1answer
132 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
54 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
29 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
128 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
119 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 ...
0
votes
1answer
158 views

Hex grid on 4326 globe (for use in leaflet)

Im looking for a way to evenly distribute a hexagon grid (x,y,z) on the 4326 globe. Knowing this is not mathematically possible im accepting the following limitations: Poles doesnt need coverage - ...
2
votes
0answers
159 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
169 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
58 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
169 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
176 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
431 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
523 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
374 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
190 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 ...
1
vote
1answer
2k views

How to calculate driving distance/time between two points

I am doing some analysis for our fire rescue department where we are comparing actual response times to fires vs predicted response times. The actual response time analysis is straight forward as I ...
0
votes
0answers
119 views

Calculating driving distances from a number of post codes to a number of services using QGIS

I am hoping to calculate the driving distance from a large number of post codes to their nearest service. I have used the RoadGraph plugin but this only calculates the distance and time from one ...
1
vote
1answer
46 views

Distance between point layers [closed]

I have a point layer with geographic boundaries of an area and another point layer with road network. I want to calculate the distance of each point of road network layer to the points of the ...
1
vote
1answer
230 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 ...
1
vote
0answers
45 views

distance() function in field calculator gives unexpected results

I have two layers both containing points - each point in the first layer has a corresponding point in the second layer (same primary key). One layer has CRS EPSG:27700 and the other layer has EPSG:...
3
votes
1answer
607 views

How to calculate the distance to multiple locations from each cell of my raster?

I'm working with Arcgis 10.1 and Python 2.7.2 How can I calculate the distance to multiple locations from each cell of my raster? I tried euclidean distance but it only provides the distance to ...
1
vote
1answer
102 views

Buffering line in ArcMap is creating smaller buffer than expected?

When I buffer a point (red dot on image) by 3 miles, it is 3 miles on all sides. When I buffer a line (blue line on image) by 3 miles, it is more like 2.67 miles on the sides parallel to the line. I ...
0
votes
1answer
575 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 ...
3
votes
3answers
341 views

How to convert points to lines?

I want to convert these points to lines, however they are not sorted sequentially along a line (by ID or FID), i.e. the converted lines zig-zag across the obvious trail of points. How can I join ...
10
votes
2answers
2k views

Calculate Distance between a Polygon and a Point Along a Path

I am very new to ArcGis and am trying to figure out how to do this. Basically, this is what I am trying to do: I have a map of Canada and in it I have polygons representing areas (each about the ...
1
vote
1answer
1k views

Distance of points to nearest polygon edge in ArcGIS 10.2

I have a point feature class that consists of a systematic grid of points across a landscape. I also have a shapefile consisting of several polygons. For each point in the feature class, I'd like to ...
2
votes
3answers
616 views

Using GDAL/C++ to calculate distance in meters

I'm using GDAL in C++, with WGS84. I want to calculate distance between two points in meters. The code snippet below tries to find the distance between 25N/75E and 25N/76E. The code, as is, returns 1....
0
votes
0answers
53 views

Generate Near Table (path distance)

I have a number of points and want to get path distance to all "wetland" polygons within 1km. This is very easy with eucDistance in Generate near table, is there a was to alter this to give path ...
0
votes
0answers
18 views

Distance corresponding to fractions of a minute of lat/long [duplicate]

My GPS is set to degrees minutes fractions of a minute. I am trying to determine the distance represented by a single increment on the Lat and Long of fractions of a minute. IE. traveling from N31....
1
vote
1answer
79 views

polygon vertex to vertex distance calculation in arcobjects

I have polygon with multipart (donuts) I want to calculate vertex to vertex distance. I tried to get outer ring vertex to vertex distance and it is working. Could you please tell me how to get inner ...
2
votes
2answers
122 views

Create buffer along shoreline near sample site

I want to look at the land use on the shoreline of a river relative to a specifc point on the river. I have created a point on the shoreline using the Near tool. Following this I am having trouble. I ...
5
votes
2answers
361 views

Calculating average raster to point distances within census tracts

I have some experience using ArcGIS, but mostly with the field calculator in the attribute table/spatial joins, so I apologize if I say something that doesn't make sense. To provide a bit of ...
1
vote
0answers
124 views

Merging rasters which overlap using ArcGIS for Desktop?

I need to merge two rasters which overlap, both indicate distance values. I need the output of the merge to result in the shorter/lower distance value. I am using ArcGIS 10.1. I hope it is more ...