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

0
votes
0answers
25 views

Calculating offset distances perpendicular to parallel lines in shapeile with results written to table using ArcGIS for Desktop?

I have a line shapefile with sets of parallel lines (or sticks on the map) representing the map view of horizontal gas wells that were drilled. I'm looking for tool or Python script to measure the ...
1
vote
0answers
57 views

Why Haversine formula and Web Mercator give different length between two latlng points?

I am calculating the distance between two points given by latlng. However, Google Maps (i.e., web mercator projection) gives me a longer distance than Haversine formula. Which is the most accurate ...
2
votes
1answer
42 views

How to compute distances between points and polygon borders?

I have point data and polygon in vector format. For each point, I want the distance from the point to the border of the polygon. However, if the point is inside the polygon, I want negative distance ...
1
vote
1answer
45 views

How to calculate the distance to the nearest coastline from site locations?

I want to calculate the distance to the nearest coastline from my site locations (point shapefile), and possibly the max distance as well. I am using ArcGIS 10.2 and I already have a shapefile of the ...
0
votes
0answers
32 views

Distance Measure appears to be wrong in ArcGIS Desktop?

The distances in my shapefile are completely wrong. I got this shapefile online. Does anyone knows what's going on? I attached two pictures. The shapefile is projected as ...
0
votes
0answers
24 views

Calculating driving distances from a number of post codes to a number of services using QGIS

I am hoping to calculate the driving distance from a large number of post codes to their nearest service. I have used the RoadGraph plugin but this only calculates the distance and time from one ...
1
vote
1answer
34 views

Distance between point layers [on hold]

I have a point layer with geographic boundaries of an area and another point layer with road network. I want to calculate the distance of each point of road network layer to the points of the ...
0
votes
1answer
58 views

How to delimit point distances in ArcGIS for Desktop per thiessen polgyon

I have 2 shapefiles. The first set contains xy pair for 1100 hospital locations. The second pair contains xy of villages about 7000 that are served by the hospitals. This means each hospital serves ...
1
vote
0answers
20 views

distance() function in field calculator gives unexpected results

I have two layers both containing points - each point in the first layer has a corresponding point in the second layer (same primary key). One layer has CRS EPSG:27700 and the other layer has ...
3
votes
3answers
130 views

How to convert points to lines?

I want to convert these points to lines, however they are not sorted sequentially along a line (by ID or FID), i.e. the converted lines zig-zag across the obvious trail of points. How can I join ...
1
vote
1answer
47 views

Buffering line in ArcMap is creating smaller buffer than expected?

When I buffer a point (red dot on image) by 3 miles, it is 3 miles on all sides. When I buffer a line (blue line on image) by 3 miles, it is more like 2.67 miles on the sides parallel to the line. I ...
0
votes
0answers
22 views

Generate Near Table (path distance)

I have a number of points and want to get path distance to all "wetland" polygons within 1km. This is very easy with eucDistance in Generate near table, is there a was to alter this to give path ...
0
votes
0answers
16 views

QGIS modal value within distance

I have a vector layer with several values associated to each polygon. I then have a point vector layer. I want to get the mode of each value for polygons within 500 km of each point. I'm not sure how ...
0
votes
3answers
54 views

Using GDAL/C++ to calculate distance in meters

I'm using GDAL in C++, with WGS84. I want to calculate distance between two points in meters. The code snippet below tries to find the distance between 25N/75E and 25N/76E. The code, as is, returns ...
0
votes
0answers
18 views

Distance corresponding to fractions of a minute of lat/long [duplicate]

My GPS is set to degrees minutes fractions of a minute. I am trying to determine the distance represented by a single increment on the Lat and Long of fractions of a minute. IE. traveling from ...
1
vote
1answer
51 views

Distance of points to nearest polygon edge in ArcGIS 10.2

I have a point feature class that consists of a systematic grid of points across a landscape. I also have a shapefile consisting of several polygons. For each point in the feature class, I'd like to ...
1
vote
1answer
16 views

polygon vertex to vertex distance calculation in arcobjects

I have polygon with multipart (donuts) I want to calculate vertex to vertex distance. I tried to get outer ring vertex to vertex distance and it is working. Could you please tell me how to get inner ...
2
votes
2answers
51 views

Create buffer along shoreline near sample site

I want to look at the land use on the shoreline of a river relative to a specifc point on the river. I have created a point on the shoreline using the Near tool. Following this I am having trouble. I ...
0
votes
0answers
36 views

How to create an attribute table from a Euclidean Distance Raster?

I am trying to create an attribute table from an Euclidean Distance Raster. I get the following error: "error 000423: Only single band integer dataset is a valid input". The ED Raster has actually the ...
4
votes
2answers
90 views

Calculating average raster to point distances within census tracts

I have some experience using ArcGIS, but mostly with the field calculator in the attribute table/spatial joins, so I apologize if I say something that doesn't make sense. To provide a bit of ...
1
vote
1answer
29 views

Distance to object, taking into account size of object

I have a number of polygon features on the edge of a lake feature. I also have sample points throughout the lake feature. I am looking to add some sort of indicator for these points as to how ...
1
vote
1answer
32 views

SQLite db with FDO geometries: how to assign ID of point in layer A to closest point in Layer B with SpatiaLite?

How can I assign ID of point in layer A to closest point in Layer B with SpatiaLite (find nearest neighbors for each point in A)? For each point stored in table fdo_fc1 I would like to select one, ...
1
vote
1answer
51 views

How do I generate a distance table using 2 different point files and a line file?

I have two point datasets, one containing multiple transit stops and the other containing multiple schools. I also have a street line dataset. I need to generate a table that gives me the shortest ...
1
vote
1answer
51 views

Postgis ST_Distance query returning inaccurate results

I am using the following query to retrieve records from a postgresql DB @services = Service.select("*, ST_Distance(services.lon_lat, ST_GeomFromText('POINT (lat lon)', 4326)) as ...
1
vote
0answers
46 views

How to calculate the average point spacing for a layer of points in QGIS?

I have a set of points and want to calculate the average point spacing for further analysis. ArcMap has the 3D Analyst Point File Information for this but I'm searching for an alternative in QGIS. ...
1
vote
1answer
72 views

QGIS Azimuth and Distance plugin length issue

Relative newbie to QGIS and trying to figure out exactly what I'm doing wrong. A couple days ago I had azimuth and distance working perfectly. I was using it in a different project with different ...
0
votes
0answers
75 views

Merging rasters which overlap using ArcGIS for Desktop?

I need to merge two rasters which overlap, both indicate distance values. I need the output of the merge to result in the shorter/lower distance value. I am using ArcGIS 10.1. I hope it is more ...
2
votes
1answer
86 views

Calculate longitude length in miles

Suppose I have geographic coordinates of "Saratoga, California, USA" as Latitude: 37°15.8298′ N Longitude: 122° 1.3806′ W I know from here that in case of latitude 1° ≈ 69 miles and that ...
2
votes
1answer
51 views

Calculating Distances Between Geometry Columns of Differing SRIDs

I am attempting a relatively simple task but have been running into trouble. I have two tables, one which has lat and lon points which were geocoded using google (SRID 3857) and another table which ...
3
votes
1answer
81 views

Proof of part of haversine formula?

I'm trying to study how to find the distance between two points if their latitudes and longitudes are given. I have a question about the proof of part of the haversine formula given at Math Forum. ...
2
votes
1answer
70 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: ...
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
36 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
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 ...
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 ...
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, ...
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 ...
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 ...
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) ...
5
votes
2answers
339 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 ...
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 ...
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, ...
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
1answer
38 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 ...