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
0answers
3 views

PostGis: find distance if closer than X. For huge sets

I have two tables (that can have different geometry: point, line, polygons, ecc...) and I have to find distances: for all features in table A, for all features in table B, if feature is closer ...
1
vote
0answers
25 views

Visualisation of “dominant” point in each location

I had an idea for a kind of visualisation, and I'd like to know if it's been done before, what it's called etc. Basically it would visualise a single numerical quantity that varies greatly, at ...
2
votes
2answers
57 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
vote
2answers
54 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 ...
0
votes
0answers
27 views

Finding Cooks Distance on ArcGIS

is there a way to find Cooks distance on ArcGis or do I have to use SPSS?
1
vote
1answer
492 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 ...
1
vote
1answer
132 views

How to set the length of a line using openlayers

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 ...
1
vote
1answer
34 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 ...
1
vote
1answer
34 views

Creating random location within a network from a given location and a given distance

For a habitat selection study, I am trying to identify availability. My species lives along waterbodies and I could assess distances moved between two consecutive locations using the network analyst ...
1
vote
2answers
45 views

Calculate nearest feature with a barrier

I have three shapefiles: a) polyline with rivers and streams (also as polygon available to me), b) polylines of highways and roads and c) point file with locations in the riparian vegetation. I want ...
2
votes
1answer
32 views

Identifying the side of a point from the closest polyline in ArcMap 10.0

I have a set of polylines (a network of streams and rivers) with information on the left and right side of the streams on riparian structure. I also have locations (points) of either side of the ...
2
votes
1answer
48 views

Calculate Height Data From Three Known Points

What's the best way to calculate "height" (snowfall, actually) data from three surrounding locations? For this example, I'm looking to arrive at a "close enough" snowfall value at point A by ...
7
votes
5answers
3k views

Calculate distance in km to nearest points (given in lat/long) using ArcGIS DEsktop and/or R?

I have two point datasets in ArcGIS, both of which are given in WGS84 lat/lon co-ordinates and the points are spread across the whole world. I would like to find the nearest point in Dataset A to each ...
0
votes
0answers
48 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 ...
2
votes
3answers
3k views

How to calculate how long an arc second is for a given long/lat?

I am wondering what area is covered by a dataset which is one arc second wide.
-1
votes
1answer
43 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
30 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
18 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
30 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?
4
votes
1answer
361 views

How can I make a Postgres/PostGIS ST_Distance_sphere query more efficient?

Within Postgres/PostGIS I have written an SQL query to get the closest distance for each element within a point coordinate table from a polyline table. The query comes back and works correctly, but ...
0
votes
1answer
570 views

Specifying a rectangle as two latitude/longitude pairs, one for center and one for size

I am trying to make sense of the Google S2 library for spherical math (it works like this). I need to get a rectangle for searching for nearby entities in a database, based on a point and a distance ...
1
vote
0answers
11 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 ...
3
votes
0answers
18 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 ...
4
votes
2answers
179 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
1answer
318 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 ...
2
votes
1answer
204 views

using PostGIS to calculate distance of a route over a large area

I'm new to PostGIS and looking to measure the distance of the Pacific Crest Trail which spans western North America from Canada to Mexico. I have a data set containing the lat lon and dates from GPX ...
2
votes
0answers
57 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
39 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 ...
3
votes
1answer
140 views

Shortest distance from polygon centroids to a line in QGIS

To get the distance of each polygon centroid from a line, I have tried the Distance to nearest hub algorithm from the Processing Toolbox. The distances I got from the algorithm did not seem correct, ...
4
votes
2answers
396 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 ...
2
votes
2answers
66 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 ...
5
votes
5answers
3k views

How to calculate distances in a point sequence?

I'm looking for help calculating the distance between a sequence of points that are in a single Shapefile in QGIS. Below is what my data look like and a blank distance column I've added to show how ...
5
votes
1answer
678 views

Calculating distance in WGS84 (MySQL and Geoserver)

Here is the environment in which I work: An application using geo-referenced data Database MySQL 5.5, storing georeferenced points A Geoserver server, connected to the MySQL database Here is the ...
1
vote
2answers
254 views

Measure average distance between two lines with common endpoints

I have two shapefiles, each with a set of lines generated from start and end points. One shapefile has the straight lines generated from the XY To Line tool, while the other has lines generated from a ...
3
votes
3answers
5k views

Calculating the minimum distance between points and polygons in QGIS

I have two vector layers: one point and one polygon and I want to calculate the minimum distance of each point from the polygons (ie the distance from the closest point of the closest polygon). Is ...
1
vote
1answer
140 views

Why do classic google maps and the modern google maps show different types of driving times?

As I am currently working on a project, where driving times are quit important, I've noticed that classic google maps and modern google maps show different types of car driving times. While the ...
2
votes
3answers
289 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 ...
0
votes
4answers
1k views

Return all results within a 30km radius of a specific lat/long point?

I have a table with a column the_geom which contains data similar to: ...
2
votes
1answer
48 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).
2
votes
1answer
116 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
17 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
47 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
56 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 ...
3
votes
3answers
310 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 ...
0
votes
1answer
73 views

calculate distance between points crossing the antimeridian

How can I calculate the distance between two points (lon/lat) if any of the points exceeds the antimeridian (+-180 longitude)? Im using the distVincentyEllipsoid {geosphere} to calculate the shortest ...
6
votes
2answers
2k views

QGIS calculate distance of point along a line

I have a polyline (movement path) and points recorded along the line. I would like to calculate for each point the distance along the line in Quantum GIS. I hope for a result which will add a new ...
3
votes
4answers
1k views

Calculate min distance between points in PostGIS

I have point layer in PostGIS database. Help please with query which add for each points in layer distance in attribute table between this point and another nearest point. Thanks! Update Calculate ...
2
votes
1answer
56 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 ...
2
votes
1answer
554 views

Create raster distance around a single point feature class

Okay, so I'm relatively new to ArcMap and I'm trying to use the Fuzzy membership for suitability test. I have a single point feature class that I want to use for this analysis. I know that in order to ...
3
votes
1answer
1k views

WGS point to WGS line segment (great circle) distance

How would I go about resolving this in C#? I have a line segment (great circle distance) defined by two Lon-Lat pairs (call them points A and B). A third point somewhere on the Earth sphere. The ...