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

3
votes
2answers
1k views

Postgis, get the points that are x meters near another point, in meters

I'm trying to find the points within a certain distance, in meters, from another point. I'm using the function ST_Buffer, but I don't get how to express the distance in meters. I'm trying with ...
1
vote
1answer
316 views

Haversine formula to calculate distance between real coordinates?

I need to calculate distance between two stations in a map in order to calculate empirical variogram in ordinary kriging to interpolate temperature data. Calculating distance in kriging using ...
2
votes
1answer
69 views

Need to get distance matrix for large set of points on-the-fly

I do not know much about GIS and I do not know much of the jargon. Hopefully you can help me a bit here because I am really unaware of the services and software available. My problem is as follows: ...
3
votes
1answer
206 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
1answer
2k 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 ...
16
votes
5answers
8k views

How to cluster spatial data in R?

I am very new to R, so please bear with me : > I have bunch of data points with latitude and longitude. I want to use R to cluster them based on their distance. I have already taken a look at this ...
1
vote
1answer
27 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 ...
1
vote
1answer
31 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
156 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
44 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
50 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 ...
0
votes
1answer
34 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
40 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
41 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
37 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
294 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
41 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
50 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, ...
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 ...
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
78 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
166 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
151 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
79 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
29 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
151 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
334 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
875 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
36 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
17 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
68 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 ...
3
votes
1answer
2k 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 ...
0
votes
1answer
37 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
21 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
45 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
46 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
150 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
47 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
301 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
273 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
51 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
169 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 ...
1
vote
1answer
11 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
101 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 ...
1
vote
0answers
43 views

QGis measure tool does not continue to measure within point symbol

We are using QGIS more and more, however, today a colleague noticed something strange when using the measure line tool. We have point features and different symbols of different sizes and colors are ...
39
votes
5answers
10k views

Why is the 'straight line' path across continent so curved?

This is the result of mapping the straight line path from a point in US to Poland using Distance Measurement Tool. Also, planes from Asia to US would travel almost over North Pole. Why is the path ...
13
votes
5answers
13k views

How to generate random locations nearby my location?

I am trying to create random locations nearby my location. What i want is to create random latitude/longitude pairs inside a 200 meters circle surrounding my location. This is the formula i came up ...
0
votes
0answers
73 views

How to choose data type and SRID, for coordinates from different sources, in a medium size zone

I'm developing an application. In the database I need to store coordinates for many places, in the north-east of Italy, but the area could expand in the future. This coordinates will come from some ...
1
vote
0answers
198 views

Finding and selecting locations in database near 10 km distance from path

In the Google Maps API, I have this Javascript. It is finding and showing user the shorter path between two cities. <!--////// \\\\\\\--> <style> #panel { position: ...