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

2
votes
2answers
571 views

minimum distance from the shore (how to retrieve the “shore vertices”)

I am student of Statistics, this is my first time using GIS., I am sorry for the stupidity of the question but I browsed online and could not find a satisfactory answer. I have some spatial data in ...
4
votes
1answer
150 views

Identifying south facing mountain land, above an elevation, within a slope range, less than fixed distance from major roadways

This odd question comes from believing that such an analysis is plausible in a GIS system. Only, I don't how to accomplish the various discrete steps implied from the Title, nor where to get a topo ...
2
votes
1answer
117 views

GeoDjango and Google Maps

I try to calculate distance between two cities and I'm in big confusion because the results are wrong. I have a model in geodjango like this: class Address(geo_models.Model): coordinates = ...
1
vote
0answers
123 views

Calculate the distances between n geographical points

First of all, I'm sorry if my question is stupid, but I'm totally new to the world of GISs and geographic measurements. I would like to calculate the distances between N (an arbitrary number, but ...
2
votes
1answer
258 views

Finding and using data on population density files

I'm attempting to replicate this map for the state of Nevada in QGIS: source: http://www.bostonfed.org/commdev/c&b/2014/spring/map-distance-to-closest-snap-outlet.htm (A SNAP outlet is just a ...
1
vote
0answers
83 views

Finding census block with highest pop. value within the census tract

In QGIS, I'm trying to plot a centroid of only the census block with the highest population within each census tract. So there should only be one point per tract- that of the block with the greatest ...
2
votes
2answers
186 views

Is there an R equivalent of NEAR in ESRI ArcGIS?

I have 54 points in one data set A I have 300+ data points in a dataset B. I wish to find the distance for each point in dataset-set B, to points in dataset A. Nearest Neighbor packages appear to ...
4
votes
3answers
4k views

How do I determine the center point of several features in OpenLayers?

I have several polygons being drawn on a map, usually representing a country or province or state. Depending on some chosen data, different regions may be selected, so what I was hoping is that ...
2
votes
2answers
95 views

Calculating sum of distances between multiple points in ArcMap?

I am using ArcMap 10.2. I have two layers- one is around 2,000 geolocated ballot boxes while the other is around a dozen geolocated facilities. I would like to calculate the total distance between ...
0
votes
1answer
78 views

How to select all polygons where neighbor vertex points are below a distance threshold in arcmap

I have a shapefile with over 100k polygons (some of them have holes in them but apart from that they are simple polygons - no multipart). I want to loop through all of these polygons and select only ...
3
votes
1answer
91 views

Create Archimedean spiral with geographic coordinates

I don't know if this is the right place to ask but here it his. I want to create an Archimedean spiral based in some location. Lets say I have this set of geographic coordinates (48.860770, ...
2
votes
0answers
150 views

Get Distance between two point on linestring using mysql Spatial

I have a linestring and two point on this linestrin according to my picture i want distance between two point as base of linestring please hellp me
0
votes
2answers
92 views

Finding point on road network at specifc distance from a specific point

I have road network in a geodatabase. At a certain junction in network (Point A), I want to figure out Point B which is X kilometers away from Point A in certain direction. Summary: Point A: fixed ...
5
votes
2answers
8k views

How to calculate new point coordinates from distance and angle using ArcGIS SDK for iOS?

I want to calculate the coordinates of a new point. What I have: The source point coordinates, the distance (meters) and the angle For example: I want to create a point within 100 meters and 45 ...
2
votes
1answer
274 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 ...
1
vote
3answers
361 views

Why is pgrouting driving distance skipping edges?

I have a road network where I do a driving distance operation through pgrouting. This is my SQL: SELECT * FROM driving_distance('SELECT gid AS id,source,target, cost FROM ...
1
vote
1answer
174 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 ...
7
votes
1answer
1k views

What is difference between ST_DWithin and ST_Distance for proximity search in PostGIS?

I have records stored in a table with latitude/longitude coordinates stored in a geometry field. I want to find all records nearby a user supplied reference point. Note "nearby" probably means less ...
0
votes
0answers
28 views

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

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

ERROR 000989 Issue with Python Script and Field Calculating distance between two long lat points

very new to scripting and I have been struggling with my script for a while. I'm not sure why it doesn't work in field calculator. I am trying to calculate a list of distance between two long lat ...
2
votes
2answers
161 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
316 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
28 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
58 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
46 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
85 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
89 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
4k 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
105 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
5k 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.
-2
votes
1answer
130 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
90 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
59 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
73 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?
0
votes
1answer
766 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
34 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
49 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 ...
5
votes
2answers
1k 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
83 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
145 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
421 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, ...
2
votes
2answers
86 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
4k 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 ...
3
votes
4answers
4k 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
162 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).
4
votes
1answer
436 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
45 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
64 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
112 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 ...