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
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
51 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 ...
11
votes
6answers
6k views

Which tools and methods can be used to create isochrones?

I'd like to get an idea for what's involved in creating isochrones for a series of sites, with a reasonable degree of accuracy to the estimates. A general outline would be great, though my scenario ...
3
votes
3answers
751 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
192 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 ...
16
votes
9answers
21k views

Calculating Lat/Lng X miles from point

I am wanting to find a latitude and longitude point given a bearing, a distance, and a starting latitude and longitude. This appears to be the opposite of this question (Distance between lat/long ...
1
vote
2answers
4k views

How to find nearest point for each point in current layer using ArcGIS Desktop?

I have a point layer and want to know the distance of nearest point of current layer for each point in the layer. I found some tools in ArcToolbox about it , but they need two layers for input and ...
29
votes
2answers
3k 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
32 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
87 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
35 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
2k 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
30 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 ...
2
votes
1answer
62 views

How to draw contour lines with exact distance?

I am not a professional GIS user so am desperately trying to draw contours with exact distances around my samples (points). I have 67 samples and I would like to draw contours around these points. ...
21
votes
6answers
18k views

Trilateration using 3 latitude and longitude points, and 3 distances

I want to find out an unknown target location (latitude and longitude co-ordinates). There are 3 known points (latitude and longitude co-ordinate pairs) and for each point a distance in kilometers to ...
1
vote
0answers
27 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
50 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
31 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
76 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
111 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
0answers
13 views

Obtain minor distance given am array of points

I have built a query to obtain the minor distance given a point. SELECT name, city, region, Distance(GeometryFromText('POINT(-56.237076563852 ...
0
votes
0answers
37 views

Distance sampling bearing new coordinates

I am working on population density of white tailed deer in Peru, using distance sampling. I am stuck trying to find a way to calculate the deer coordinates. I have the observer coordinates who travel ...
0
votes
1answer
69 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
169 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
39 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
80 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
71 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
173 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 ...
5
votes
2answers
2k 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
334 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
100 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
46 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
934 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
51 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
40 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
160 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 ...
0
votes
1answer
72 views

How to delimit point distances in ArcGIS for Desktop per thiessen polgyon

I have 2 shapefiles. The first set contains xy pair for 1100 hospital locations. The second pair contains xy of villages about 7000 that are served by the hospitals. This means each hospital serves ...
1
vote
0answers
31 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 ...
3
votes
1answer
419 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
62 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
199 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
193 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 ...
9
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
127 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 ...
0
votes
3answers
161 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 ...
0
votes
0answers
29 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
17 views

QGIS modal value within distance

I have a vector layer with several values associated to each polygon. I then have a point vector layer. I want to get the mode of each value for polygons within 500 km of each point. I'm not sure how ...
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 ...
1
vote
1answer
34 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 ...