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

How to calculate the shortest path to pass on 7.000 UTM points?

Anyone can give me an advice how to calculate the shortest path with a lot of UTM points? In total I have 7000 points, but it can be grouping 100 or 500. I have knowledges about Java and Python for ...
2
votes
1answer
189 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
20 views

Euclidean distance outside a Polygon (ArcMap)

I got some university coursework to analyse the best potential areas for a residential development project and I'm currently doing multi-criteria evaluation. One of the shapefiles in the dataset given ...
1
vote
2answers
78 views

Calculate distance between a set of points: lat and long in QGIS or R

I have shapefiles containing the location of several individuals along several months. Positions were documented with a 30 minutes interval. Tables contain the following data fields: collar (ID), ...
0
votes
1answer
27 views

Euclidean Distance between two lines

I have two lines in ArcMap 10.2.2 and was wondering if it is possible to create a raster showing the Euclidean Distance between them. Like to map each cell on one line to its nearest cell on the other ...
0
votes
0answers
49 views

Given distance (in meters) what is the angle in geographic reference systems? [duplicate]

In QGIS and other systems sometimes I have a layer in geographic reference system (typically WGS84, EPSG:4326) and I'd like to calculate a buffer of say 5000m around a point. So, given a point ...
5
votes
1answer
783 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 ...
4
votes
1answer
414 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
13 views

'Find your nearest' type function with a large dataset

In a previous employment, I needed to display a "Distance to stockist" on our website. It would get your current co-ordinates (from a postcode or HTML5 geolocate) and then display a list of nearby ...
0
votes
2answers
32 views

Distance to, travel only on one surface

Looking to create a distance to wetland raster. However this travel distance must be through the water only. I have tried setting land to a high cost (e.g. 99) however doing so I have to set each ...
1
vote
0answers
36 views

Which projection should be chosen to model transmission lines across the USA?

I am looking at different options for high voltage power lines in the US. These power lines cross several states. Since in the end the distance is of importance, is the USA Contiguous Equidistant ...
1
vote
1answer
29 views

How do I interpret this proj4string and why doesn't changing units change its resuls?

I'm new to GIS - I have a background in statistics. I have the following proj4string: '+proj=lcc +lat_1=40.66666666666666 +lat_2=41.03333333333333 +lat_0=40.16666666666666 +lon_0=-74 +x_0=300000 ...
9
votes
1answer
285 views

Measuring distances between simultaneous points

I am working with GPS data and so I have UTM's with DATE/Time information. I have 2 groups of species (moose and wolves). I want to join the information from moose to wolves that match in time. So, ...
0
votes
2answers
28 views

Postgis: Query ST_DWithin in square instead of circle

The ST_DWithin query queries all geometries within a certain radius from another geometry (in my case a point). For performance optimization of my application I want to query in a square. So that the ...
2
votes
0answers
38 views

QGIS distance from point to line along a specific bearing

I've got a vector layer with points (representing customer locations) and another vector layer with a line (representing the coast line). I want to calculate a "smart" distance to coast. Specifically, ...
0
votes
1answer
94 views

Cost-Distance Tool not producing logical answer

I am working on creating a cost catchment based on Tobler's equation in ArcGIS10.1. I feel confident in my cost surface; it produces a raster where each cell equals the time in hours that it would ...
0
votes
2answers
371 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
1k views

How to measure minimum distance between objects in two layers using arcpy?

I am working on an alien species analysis looking at the spread of a species from the mainland to islands in an archipelago. I am doing the analysis using arcpy and I have succeeded in isolating risk ...
2
votes
3answers
408 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 ...
9
votes
1answer
1k views

Analysing movement using cost surfaces with ArcGIS Path Distance tool?

I would like to analyse hypothetical movement (on foot) in a landscape as based on energy expenditure, but I have run into some trouble that I am hoping that you could help me with. I have tried to do ...
1
vote
1answer
58 views

Cost Distance interpretation in ArcGIS 10.2

I am using the Cost Distance tool in ArcMap 10.2 to find the how far it is to walk to the closest area of green space along the road network in a town. I have a input raster of the location of the ...
1
vote
1answer
146 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
661 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 ...
4
votes
2answers
543 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 ...
1
vote
1answer
143 views

Zoom variable or pixel distance

I have query by distance working in a framework that generates a list of features within a fixed distance of a clicked feature. I would like to make the queried distance variable based on either: ...
2
votes
1answer
93 views

Geographic Heatmaps with Concentric Circles by Distance

I'm looking to generate a geographic heatmap (using 'ggmap') that overlays some dimension (to start, housing prices) over the lat/lon near a city center. Then I want to create circles of equi-distant ...
0
votes
0answers
35 views

Convert java.vividsolutions.jts.geom distance to meters

I am using com.vividsolutions.jts.geom to perform the distance calculations. I have a list of "LineString"s and a Point (Say A). I want to determine the The nearest LineString to the Point A. The ...
1
vote
0answers
20 views

Calculating position in SRTM grid

I'm actually trying to calculate a grid point position in a SRTM grid by row and column count. So I got a position by lat/lon, then calculating the row and column in my hgt-file (this post helped me) ...
2
votes
2answers
110 views

QGIS equivalent for ArcMap join for purpose of distances from points to polygon?

It is relatively easy to calculate distances from points to a polygon in ArcMap by doing a join and selecting the option for creating a field containing the minimum distance information. i.e. it ...
1
vote
1answer
31 views

Assign points with varying radii to central meeting locations

I have a set of points in a city, each with a maximum distance radius of 0.5 - 1.5 miles. From this set of points, I'd like to create a small number of 'meeting points', i.e. locations that are ...
5
votes
2answers
182 views

PostGIS nearest point with ST_Distance

I need to obtain on each element on one table the closest point of another table. The first table contains traffic signs and the second one the Entrance Halls of the town. The thing is that I can't ...
3
votes
2answers
744 views

Calculating the distance between points and multiple lines?

I have a point shapefile of about 100 points and a polyline shapefile of about 200 lines and I am interested in finding the distance between every point and each individual polyline. My polyline ...
1
vote
1answer
32 views

ESRI Javascript API pan parameters

Using the ESRI javasript API, is there a way to set the distance the map will move when panning? When I fire the map.panUp(), for example, it pans, but about twice as far as I would like it to.
0
votes
0answers
15 views

How to relate the zoom level with the real distance in the map?

Let's have this situation: in the frontend I have selected a zoom level in the map. Now, the application must invoke an external API method to search the available items in the current bounding box, ...
0
votes
0answers
57 views

Calculating distances in Geographic Coordinate System using ArcGIS for Desktop?

I work in a Geographic Coordinate System and using the "Generate Near Table" tool in ArcGIS 10.2 for Desktop. I want to calculate the distances that each feature of the point layer has to the closest ...
2
votes
1answer
1k views

Calculating distance scale factor by latitude for Mercator

This was really inconvenient topic to google out - so I'm asking for clarification, did I understood things correctly. I'm talking about measuring short distances in Mercator projection (3857). You ...
11
votes
6answers
5k 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 ...
0
votes
1answer
36 views

Distance between coordinates

I placed some cones on a sports playing field and estimated their locations using latitude/longitude coordinates. An example pair of estimated latitude/longitude coordinates is 54.96975, -1.51407. On ...
2
votes
0answers
20 views

Creating a distance overlay that is computed by the distance of points/lines and recalculated on zooming

I created a fictional map and visualized it with d3. Now I would like to show a scale/rule so that the user can see which distance (kilometers,meters) he is currently using. I was thinking about ...
0
votes
1answer
40 views

Calculating distance between many users of a handful of facilities, a small hangup

I am trying to calculate distance between thousands of people and a handful of facilities. I know the ArcGIS ROUTENAME issue has been addressed many times in forums. I have scoured them and am hung ...
1
vote
1answer
43 views

A bit of help using Google maps

I have 1000 or so points on a map, (I have GPS coordinates. I would like to use google maps to find the shortest distance using roads, between pairs of points. I would like to measure all pairs within ...
3
votes
1answer
147 views

Method to compute and visualize the closest set of facilities from OSM data

I want to use OSM to extract a set of facilities e.g. school, park, hospital inside a given region. from that, transform the area in grid and for each cell in a grid compute its score mixing the ...
0
votes
1answer
36 views

Calculating distance between previous and current addresses for large file

Hoping to get help with this. I'm a fairly new QGIS user and trying to solve the following problem: Let's say I have a large dataset (5000+ records) of customer addresses, previous and current, and I ...
3
votes
2answers
211 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 ...
8
votes
3answers
221 views

Calculating all distances from single points to multiple polygons

I have two layers: a point layer defining properties (95 objects), and a polygon layer defining plots of land associated with the properties (211 objects). Each point relates to one or more polygons. ...
0
votes
2answers
43 views

distance between paired points in separate shapefiles (paired by attribute data)

I have a point layer with site_code attribute data. I have another layer of points in different locations but with the same site_code data. How can I find the linear distance between points that are ...
2
votes
0answers
81 views

GeoTools - Find distance in meters between point and path in lat/lon

I need to find distance in meters between some point with given latitude and longitude and line (on Earth) defined by several points with lat/lon coordinates. I read this questions: first second ...
3
votes
3answers
7k 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
10 views

How to set a polyline length as per a given Image

I have an image of a map representing the road networks. I have converted these road networks into a shapefile with only polylines. I want to set a distance to this road network. For e.g I know from ...
1
vote
3answers
92 views

Computing distance from points to coastline

I have a shapefile with the nodes of a grid I have applied, for the purposes of interpolation, and I want to compute the euclidean distance that each grid node (it is a point vector) has to the ...