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

Compute nearest points to other points using GRASS

I have a layer of address points and a layer of polling stations. My task is to determine the three closest polling stations to each address on the street network. I think that the answer is in ...
2
votes
2answers
85 views

Measuring distance between two points?

I have two shapefiles and I would like to know the distance between each point on File1 and each corresponding point on File2 (one to one relationship). I have been using the Ruler and manually ...
-1
votes
1answer
87 views

Cause of KeyError in Python Toolbox of ArcPy?

This question arises from Performing Point Distance analysis using Basic level license of ArcGIS for Desktop?. I basically copied and pasted PolyGeo's answer and formatted it into a python toolbox ...
1
vote
1answer
47 views

What does st_hausdorffdistance Actually Compare

Does st_hausdorffdistance just look at discreet points used to construct a line segment or does it compare two line segments as a continuous set of points? Also, the points used to construct my line ...
2
votes
1answer
35 views

Adding cost from line shapefile using ArcGIS Network Analyst?

I have a network dataset (a road network), and require a matrix of Cost Distances between many points, which works well. I have now added a line shapefile (representing rail lines). I wish to use it ...
1
vote
0answers
37 views

How can I find which point is furthest from something?

Here is an example of what I am looking to do: Which town in South Dakota is farthest from a Hospital? Which tool would I use to be able to do this?
1
vote
0answers
19 views

Needing to find parent zip code of a bunch of missing zip codes in the US

We're using MapPoint to export zip code / territory combinations. Unfortunately, the export doesn't include PO Box zip codes which mean that we're missing a lot of zip codes The PO Box zip codes are ...
1
vote
2answers
136 views

cross track distance to great cicle line and rhumb line

How to calculate cross track distance to great cicle line and rhumb line? For great circle line, I've tried this formula, but it is not accurate while the distance is less than 0.1nm. For rhumb ...
3
votes
0answers
30 views

QGIS Cross Section Profile Distance using Ellipsoid?

I am working with QGIS 1.8 and 2.6 and can't get any of the Cross Section Profile tools to provide the ellipsoid ("proper") distances. All the distances use geographic coordinates which are too ...
0
votes
0answers
74 views

How to create shape file and show in map using Python?

I have calculated distance between longitude and latitude by import .csv using python. Now I want to show this points or distance between points in map. So how can i do it by using only python? and ...
4
votes
2answers
396 views

Best formula for calculating short distances in UTM?

I'm fairly new at calculating distances with precision, but I wanted to know what is the best formula for calculating short distances in UTM coordinates. The distances that I'am calculating are all ...
2
votes
0answers
68 views

QGIS Problem in calculating the distance of points from line

I need to calculate the distance of villages ( villages as points) from a border. I have a shapefile containing the locations of villages and another one containing the border. On QGIS, I ran the ...
2
votes
2answers
70 views

Measuring distances between many points in ArcGIS for Desktop?

So I'm new to this, the answer is probably really simple. I have a point map of X Y data points (one for each participant) for a certain activity. I also have a shape file of zip codes, which I ...
2
votes
2answers
77 views

Flow Mapper wrong line length calculation

I'm finding some trouble with the length calculation in the Flow Mapper plugin. As you can see in the picture below the length of the 2 lines C001-C021 = 4233.7986... C001-C009 = 6069.3053... is ...
2
votes
1answer
69 views

Distance between consecutive points

I am wondering how I can get the distance between consecutive GPS locations in ArcMap 10 (i.e. the distance between consecutive GPS locations sent in during a wildlife telemetry study).
3
votes
1answer
219 views

How to measure distance between points based on elevation?

I need to be able to measure distances between points, however the distance need to be calculated in relations to elevation. The points are homes of storytellers from the 19th century and the places ...
0
votes
0answers
28 views

Distance Hexagons in CartoDB

I found this blog very interesting and the maps very cool. The code used to produce the hexagon distance maps is not working for me however. This is the code used (from github): select * from ( ...
3
votes
1answer
58 views

How can I find small distance between polylines?

I`m trying to find lines which have small distance between them and I am using ArcGIS 10 for this. I had tried to make points at the both ends of the lines and to detect the distance between points ...
4
votes
1answer
75 views

How to create a map colored by distance to nearest point in R

I'm new to GIS and R-- hope this question makes sense. I have a dataframe(geo07) containing two variables that record the long/lat values for about 6000 points (mat_long & mat_lat). These ...
2
votes
1answer
151 views

How to calculate which zip code is closer to which in USA using C#?

I'm not living in USA, and I'm doing a small project for a company based in USA. The point is that, there are businesses and each of them have their address and zip code. Then, I have a form where ...
1
vote
1answer
160 views

How to calculate the shortest geographical distance between a line and a point? [duplicate]

I'm trying to calculate the shortest distance between a line (described as a pair of [lat, long]s) and a point (lat, long) accurately. I've read many Wikipedia pages, but I'm new to the topic. I've ...
2
votes
2answers
67 views

Distance from centre point to other points using QGIS?

I have a question of something I actually thought was pretty simple...I have a few points around a centre point. Now I want to know the distance from each point to the centre point. Is it possible to ...
3
votes
1answer
103 views

PostGIS: Get closest point between geometry and Multipoint

I think my question is not that difficult for GIS professionals, but i didn't found an answer to my problem (even not in other questions). Problem: I have given two tables (table1,table2) with Points ...
1
vote
0answers
90 views

Finding areas with high POINT density from PostGIS table using Python

I have a PostGIS table with thousands of POINT objects and I want to find areas that have a high density of points. I have the DBSCAN clustering algorithm implemented in Python which does exactly ...
0
votes
0answers
26 views

Calculation size limit to creating distance matrix using QGIS?

I have a shapefile of postal code for a city (Montréal). I would like to calculate the distance between all postal code. I tried to run the distance matrix after converting all postal code to a ...
0
votes
1answer
137 views

The ratio Pixel distance to geographical distance?

I have had this problem for several days and I have no idea to solve it. The problem is that I am trying to find out the length and width of ships from a Bing map. I got the location point (lon, ...
2
votes
3answers
104 views

Find point close to points from postgis table

I have a postgis point table with a large list of cities. I need to find duplicates in it, but only if they are 10km close each other, which means that is the same city. For example, I have 5 points ...
3
votes
1answer
135 views

Performing Point Distance analysis using Basic level license of ArcGIS for Desktop?

I am using ArcView Version 10.1 and I need to perform a point distance analysis like: What is the distance from A to B-Z, B to A-Z, C to A-Z, etc? What are the steps that I take to do this?
2
votes
0answers
98 views

Calculating Distances between coordinates

I have perused through the other questions that are very similar to mine but am still having some trouble. I have 75 coordinates in WGS84 that I brought in from an Excel table. They are now on my ...
3
votes
2answers
164 views

Measuring Continuous Distance of GPS track in ArcGIS Desktop

I am looking for a way to quickly measure the distance covered of GPS tracks of foraging Seabirds. A tool that could give accumulative distance of point to point from the long and lat coordinates ...
3
votes
1answer
93 views

Calculating distances from points to the centre of cells

I am using QGIS 1.8.0 (using older version because I need the Qmarxan plugin which is not available for 2.4.0). I have a study area that has a vector laying of "planning units", or cells over the top ...
2
votes
0answers
31 views

How to calculate distance from point to polygon with a time frame?

Using the Near tool, I knew that I can just calculate the distance of each house to the nearest fire. However, I only want to keep fires that happened in the past 7 years for each house. For example, ...
2
votes
0answers
160 views

Create circles around a point on a map measuring the radius in hours

Disclaimer: I am not experienced in GIS and hope this question fits in this category. I was wondering whether it is somehow possible to create a circle* around a city, using Google Maps or the like, ...
4
votes
1answer
191 views

What is an efficient Algorithm to draw a straight line from points?

I have some cross section survey data, which is like this: X Y Z pt_dt 2970969.635 359725.0088 83.4242 1-x 2970968.278 359722.2182 83.2591 1-x 2970941.771 359670.127 83.0655 1-x 2970961.369 ...
3
votes
1answer
65 views

<#> doesn't give a useful distance [duplicate]

I'm new to postgresql/postgis and trying to measure a distance. So st_distance() may be the most accurate, it's the slowest too (as I've read). I read that one can use geometric (instead of ...
2
votes
3answers
171 views

How to measure correct distances in a project with OpenLayers background?

I have 3 lat/long points as follows: A = {35.257246,139.721256} B = {35.256541,139.721491} C = {35.256326,139.7203271} 1) Measurement result by Movable Type Scripts: By using the distance ...
5
votes
2answers
286 views

Is there a way to calculate closest distances to a point without using Near Analysis?

I frequently get asked to calculate distances from a specific point (A drilling well in the middle of the sea for example) to a number of Environmental layers (Protected Areas, Pipelines, Other wells ...
2
votes
1answer
46 views

Calculate distance for point to point based on value in field of first point

I am trying to figure out the best way to calculate the distance for each student from the school they attend. We have 2 shapefiles - the student locations with a field identifying the school they ...
-1
votes
1answer
38 views

Buffering algorithm [closed]

Does anyone know the algorithm of buffering? I had difficulty in drawing buffers. So I tried many values to acquire 1km buffer. I found value 0.008966 produces 1km buffer. Then I calculated inverse ...
1
vote
2answers
98 views

How to show average walking distance to closest point in census tract in ArcMap?

Given a map layer of point locations, and a second map layer of census tract polygons for the same area, how would you create a map layer that shows the average walking distance to the closest point ...
7
votes
1answer
287 views

How do I calculate Manhattan distance with PostGIS?

I am using the ST_Distance function to calculate the distance between two geometries (a train station and a building) Since I know that all buildings and all train stations are in Chicago, which has ...
6
votes
1answer
132 views

Statistics: Estimating U.S. population-weighted average temperature from 100+ daily airport station measurements

I have recently signed up for a developer's key for the Census API (http://www.census.gov/developers/) and will be using a Python wrapper class to access the Census database. My goal is to find the ...
1
vote
0answers
29 views

Scale on map requires correction coefficient. But why?

I am computing the distance of a map I am getting from ArcGIS' REST services by using a calculator as provided by this answer. In a nutshell, it uses a GeodeticCalculator for distance computation ...
3
votes
0answers
170 views

How to calculate the average distance among set of points as measure of closeness

I have three series (or tables) of points in PostGIS which I want to compare. I would like to know how "close" each series is when compared to the other two. In other words I would need some measure ...
1
vote
0answers
45 views

How to set a defined distance between nodes to digitize in qgis?

Using QGIS (by now I have the 2.4 version) I would like to set some parameter (I don't know if such exists) that would impose a definite or maximal distance between nodes when digitizing a polyline or ...
1
vote
1answer
180 views

Distance Between Two Points vs Length of Linestring

So I have two points that I want to calculate the distance between. If I use: SELECT ST_Distance_Spheroid(point_a, point_b, 'SPHEROID["GRS 1980",6378137,298.257222101]') / 1000 FROM ( ...
1
vote
1answer
131 views

GeographyFromText and ST_SetSRID+ST_MakePoint different results?

Why am I getting different results? SELECT ST_DISTANCE( ST_GeographyFromText('SRID=4326;POINT(13.401111 52.383343)'), --berlin ST_GeographyFromText('SRID=4326;POINT(9.997559 53.533778)') ...
0
votes
0answers
191 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 ...
2
votes
1answer
1k views

How to calculate pixels per meter ratio, according to Google or Bing map zoom level?

I have an image and detect two points in the image. I want to calculate the distance between these two points. I'm using Google map and Bing map. I have x,y pixel values for both two points zoom ...
1
vote
1answer
97 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 ...