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

Calculating areas outside a point

I have a university assignment that requires me to find an optimum location for a land fill site. There are various parameters I need to map. I have managed to map all the ones within a distance of ...
4
votes
1answer
227 views

Calculating Distances between coordinates

I have 75 coordinates in WGS84 that I brought in from an Excel table. They are now on my imagery basemap spanning across about a half mile on either side of a dirt road in Prescott National Forest in ...
5
votes
1answer
997 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 ...
5
votes
1answer
58 views

How to group 10k points into closest pairs?

I was first faced with a problem of grouping 1000 pairs into unique pairs to minimise the total distance - since this was a small number I solved it using linear optimisation: Part 1 - Basic/Naive ...
3
votes
1answer
31 views

Vincenty or (Project + Euclidean) for accurate distances

I posted a similar question on stackoverflow, however was directed here for more help. If my main goal was to calculate distances such that my error was minimised to the nearest metre assuming that ...
5
votes
6answers
16k views

For every point, distance to nearest polygon of type X?

In ArcGIS how might one calculate as an attribute value the distance to the nearest polygon of type X? Say we have a point layer of wildlife observations and we want to know how far each of them is ...
3
votes
3answers
274 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 ...
1
vote
1answer
25 views

QGIS: Distance Matrix tool omitting some points in output table. (qGIS 2.10.1-Pisa)

I have used the Analysis Tools -> Distance matrix to merge two datasets by the closest points. But in my output csv file, some of my points are left out. In the original datasets, none of these points ...
2
votes
1answer
25 views

Hive GIS ST_GeodesicLengthWGS84 not returning expected distance

I am trying to find the distance between two points (in meters and not degrees) using GIS Tools for Hadoop by ESRI. The ST_Length provides distance in degrees and hence I used the ...
5
votes
3answers
612 views

Network distance computations using GRASS

I'm an ArcGIS user who's interested in learning to use GRASS. Can anyone point out resources that will help me in learning how to obtain network distances between (1) residential locations (points) ...
2
votes
1answer
364 views

Finding distance between consecutive points using ArcGIS Desktop?

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).
1
vote
2answers
176 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 ...
2
votes
0answers
48 views

Why this pyqgis code cause crash dump in QGIS?

In ArcGIS there is gp.EucDirection to calculate Euclidean allocation, distance, and direction around a point, Is there equivalent function in pyqgis or gdal? I wrote a script with help of gene and ...
0
votes
1answer
52 views

PostGIS Get the POINT that is x meters away from a fixed point on the route (LINESTRING)

We have a route network stored in the routes table (LINESTRINGs). Basically every sedment (between two vertexes) is inserted as a separate row in this table. Among that we have a locations table ...
5
votes
1answer
388 views

How to calculate the average distance among set of points as measure of closeness

I have three series (or tables) of points in PostGIS which I want to compare. I would like to know how "close" each series is when compared to the other two. In other words I would need some measure ...
1
vote
1answer
29 views

GeoDjango - save two Point fields, one for geography and one for geometry

Most of the explanations I've read for geography and geometry seem to suggest that one must only use either geometry or geography, and that the only way to use both is to cast/convert between one and ...
4
votes
2answers
593 views

Distance Calculation Output Does Not Identify Input Points?

I'm using ArcMap 10 to do distance calculations between a large set of points, using the point distance calculator. The output table generated gives me distances correctly, but the output categories ...
1
vote
1answer
41 views

Finding distance to closest road (polygon to line) in ArcGIS for Desktop?

For my project I need to find the distance to the nearest road from forest polygons. I'm trying to do a weighted overlay analysis (eventually) for a habitat selection project so I think I need to end ...
1
vote
2answers
88 views

Calculate the distance between two coordinates (WGS84) in ETRS89

I have an Excel-file with coordinates (WGS84). From these coordinates I create a line (shp) and transform it (ETRS89). After the transformation I calculate the distance from point to point. I do this ...
0
votes
1answer
22 views

Perpendicular Distance Markers on Polyline in MapInfo?

I have added chainage to a creek polyline in MapInfo v11.0.3 using the 1999 version of "Distance Marker" by Meridian. It looks poor as it does not have the functionality to create the markers ...
0
votes
0answers
35 views

How to create a shapefile from Excel file including coordinates of points and distances between them in ArcGIS?

I wanted to use network analyst in ArcGIS and I have coordinates of points in the network. However, I could not find a shapefile including road information between these points so far (length of links ...
2
votes
1answer
43 views

Getting point from known points to specific distance of polyline using ArcObjects?

I want to know the coordinates of a polyline from specific point and distance. I have attached image to clear the specification. say, I have a points B(2,3). I want to know the coordinates of A and C ...
3
votes
1answer
185 views

Finding distance within which set percentage of features fall using ArcGIS Desktop?

Is there a tool that tells how many features there are within a set distance in ArcView? asked about finding the number of features within a certain distance of another feature in ArcView. I have ...
0
votes
0answers
15 views

Scaling distance by area

For each administrative unit, I calculate the median distance between businesses. However, for larger unit, this distance is naturally bigger (and does not paints a fair picture of, say, the effort by ...
3
votes
3answers
663 views

Why is geography faster than geometry for distance calculations?

Intuitively, I thought geometry would be faster than geography distance calculations, but this says otherwise: ...
6
votes
1answer
558 views

How can I make a PostGIS ST_Distance_sphere query more efficient?

Within PostgreSQL/PostGIS I have written a 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 ...
1
vote
0answers
31 views

Get distances between boundaries from an SpatialPolygon and raster pixels

I am trying to calculate the distance from several pixels of a raster to a boundary of some polygons in R as it is showed in the image. I have two problems: How to correctly define a boundary from ...
1
vote
2answers
639 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 ...
2
votes
1answer
43 views

GeoDjango, distance filter based on database column

I have a geodjango model with fields coverage = 10 * 1609.344 reference_point = Point(-72,45) #or some other lat lng class ServiceArea (geo_models.Model): center = ...
1
vote
1answer
28 views

Calculate point location with direction and range

I have a latitude and longitude coordinate pair and I want to find another point location (returning lat and long) but only have the angle/direction and distance from the first point. How can I find ...
1
vote
1answer
214 views

How to calculate accurate distances in Openlayers 3?

I'm calculating distance in OpenLayers 3 (3.9.0). I've got a function included in my project for measuring line/area features, basically lifted from the OpenLayers Examples. I'm using ...
1
vote
2answers
232 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 ...
1
vote
1answer
308 views

How to convert distance in meters(EPSG:28406) to EPSG:900913 with OpenLayers?

For point I use OpenLayers and transform(): numZona = Math.ceil(parseFloat(lon)/6)); Proj4js.defs["EPSG:28406"] = '+proj=tmerc +lat_0=0 +lon_0='(parseInt(numZona)*6-3)+' +k=1.000000 ...
2
votes
1answer
57 views

Measure shortest distance around polygon

How do I measure the shortest distance between two points (1 and 2) with respect to a polygon? So the shortest way around the polygon from 1 to 2.
1
vote
2answers
31 views

How to create for each point feature an Euclidian Distance raster in ArcGIS

I need some comment on how to create an Euclidian distance raster for a point dataset of about 100 features in ArcGIS. I need to create a raster for each single point. My question is, if there is a ...
1
vote
0answers
18 views

Google Maps Distance Matrix API - Queries per second?

I'm pretty familiar with Google's Distance Matrix API, but I'm unsure about one aspect of the Usage Limitations. The documentation states that you have access to 100 elements per query (element = ...
1
vote
1answer
16 views

Is it possible to use ArcGIS to define a boundary around a self-constructed 3D feature?

I am creating a 3D rendering of a future building and would like to know the distance from which this building would be visible from. Is it possible to use ArcGIS to define a boundary that delineates ...
3
votes
1answer
48 views

What is the real distance between positions?

I'm trying to figure out what gives me the most accurate distance between positions: Measuring distance directly (using Geod.inv)? Measuring distance in 2D (after transforming to a known projected ...
1
vote
1answer
26 views

GeoDjango and PostGIS distance query efficiency concerns [closed]

For example, if I want a query that says "show me all houses within 50km from here and order them from nearest to furthest", these are the questions and concerns I have: Assuming we are using EC2 ...
7
votes
2answers
70 views

Creating a point on edge of closest polygon

My project is looking at a grid in the ocean. I want to capture each ocean point's distance to the nearest coastline as a weight, and then use buffer to capture the sum of nightlight data within a 1 ...
0
votes
2answers
181 views

Distance between points along polyline ArcGIS for Desktop?

I'm using ArcGIS 10.3 (Desktop), and I'm trying to measure the distance between points following a path determined by a set of polylines. Hand measurement is not a viable option-- there are ~7500 ...
0
votes
0answers
31 views

Extend line to specific distance or a line

I want to extend my polyline to a given distance. How can I do this. I have attached image to clear my specification. I am using .net in ArcMap . I am also using python in the image, I want to ...
3
votes
1answer
74 views

Distance in meters between two geographic coordinates

I want to determine the distance in meters between two geographic coordinates. The points are: Lat (deg) Lon (deg) A: -33.3930906 -70.5452765 B: -33.3993212 -70.5468767 So if i calc the ...
0
votes
2answers
22 views

Points proximity to polygons in ArcGIS for Desktop?

I have a point feature class with 1725 records (spread out over NYC) and a polygon feature class with 13 records (also spread out over NYC). What tools or processes can I use to figure out what ...
4
votes
1answer
62 views

Buffer from Point or Polygon with Information from Raster

The intent of this work is to define a buffer around a point or polygon based on information from a raster. For instance if a polygon representing a city and the raster defines how long it takes to ...
0
votes
0answers
46 views

Select points greater than a certain distance from related points based on shared foreign key id

I have a PostGIS-enabled PostrgeSQL db, using QGIS, with data using EPSG:4326, and projected as EPSG:29903. I have a table with points with pk point_id and a table with images with fk point_id. I want ...
2
votes
2answers
69 views

Average value of polygons within a set distance from a point

I have two vector layers: one polygon and one point layer. The polygon layer has a value from 1 to 10. I am trying to find the average value for all polygons within or partly within a 1-mile radius of ...
2
votes
2answers
85 views

How to calculate the distance to the nearest water source?

I have a polygon hydro layer of my study area and am trying to calculate the distance to nearest water bodies from my site. Since my site are 2km*2km grids I am not sure how to calculate it? Whether ...
2
votes
1answer
200 views

Calculate road distance between GPS points

I am working on tracking system that track location of vehicles on the map and tell their total distance from the beginning till today. I have device_id, timestamp and GPS location in the table like ...
4
votes
2answers
58 views

Get the 2 points immediately before and after a given point in PostGIS

In the picture below: The given point is C, I would like to select A and B, but not Z (which is closer to C than B but it's not immediately after in the LineString). Note that C is always ON the line ...