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
2answers
261 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
66 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
58 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
46 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
47 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
49 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
304 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
62 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
64 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
93 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
186 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
279 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
142 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
44 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
193 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
36 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 ...
7
votes
2answers
831 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
1k 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
52 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
22 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
88 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
43 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
24 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
46 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
55 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
153 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
60 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
403 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
375 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
65 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
282 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
13 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
110 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
44 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 ...
13
votes
5answers
15k 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
134 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
240 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: ...
0
votes
1answer
210 views

Distance between a Point and Linestring: PostGIS/GEOS vs. Boost

I am currently using the GEOS library through OGR and data from a PostGIS database to work with geospatial data. I now found myself in the need to use some of the algorithms Boost.Geometry and ...
1
vote
0answers
161 views

Trilateration using 3 x,y points and 3 distances, all in cm [closed]

I want to find out the position (x,y) of a given point, knowing the distance from 3 x,y points. Below you can view the x,y coordinates and their given distances in cm. B1x = 795 B1y = 332 B1d = ...
0
votes
0answers
36 views

Get latlong at a distance on a path

I have 2 decimal point in lat/lon. I want to divide the line drawn by lat/lon into parts each at a specified distance, lets say 'x' -- all except the last segment will be of length x -- and I need the ...
4
votes
3answers
2k views

Comparing two point shapefiles that contain lat/longs and compute distance using ArcGIS Desktop?

I have 2 sets of point shapefiles in ArcGIS Desktop (group A and B), each set has around 1000 entries that contain lat/long. What I want to do is compare Group A against Group B and figure out for ...
2
votes
1answer
96 views

am I setting up data from google geocoding correctly for ST_DWithin search?

Sorry to ask a basic question, but I have not been able to find this laid out entirely anywhere. I am mostly relying on this SO post: What Spatial Reference System do I store Google Map's Lat/Lng ...
7
votes
4answers
4k views

Geodjango- get the distance between 2 points

What I want to do is quite simple, I have 2 locations defined by gps coords, lat / long like returned by google maps: http://gmaps-samples.googlecode.com/svn/trunk/geocoder/singlegeocode.html I need ...
1
vote
1answer
316 views

postgis calculate distance between point & polygon/circle

By basic requirement is to find the nearby fences to a particular point(user lat long alt) within a N meters. I have list of polygon/circle in DB with 900913 srid ...
1
vote
0answers
62 views

Using the accCost() function in R: questions regarding the transition layer

I am trying to use the accCost() function from the gdistance package in R. I load my cost raster using the raster()function from the raster package. According to the documentation, I need first to ...
2
votes
0answers
157 views

Calculate Euclidean distance to raster WITHIN multiple polygons

I am using ArcGIS 10.1 on a Windows x64 system. I am working in a study area where I have 360 000 locations of about 50 territorial animals. I have a shapefile containing 125 sometimes overlapping ...