# Tagged Questions

The measure of separation between two entities or locations that may or may not be connected, such as two points.

22 views

### calculate latitude and longitude from a point with distance and azimuth [on hold]

I'm working on a project where I have a starting latitude/longitude. I have calculated the azimuth and have a distance. I am trying to solve the ending point, but the math is comfortably beyond me ...
25 views

### Is there any difference between gdal_proximity.py and ArcGIS Euclidean Distance?

The gdal_proximity.py description says: The gdal_proximity.py script generates a raster proximity map indicating the distance from the center of each pixel to the center of the nearest pixel ...
54 views

### Finding loneliest place on earth? [on hold]

I would like to travel to the loneliest place on earth. I define it as being the farthest from any human settlement. The place has to be on the land and not in the sea. I tried to google, but couldn'...
14 views

### Remoteness Measurements or Accessibility Models in Rural Areas in Africa

I have a points shapefile (villages) that are located in remote areas in Africa. I need to give each village a measure of "remoteness." I dont just want to do a "as the crow flies" calculation from ...
19 views

While measuring out the distance from Memphis, TN to a place in Israel (6614.68 statute miles) I noticed a 6.37 miles discrepancy between Google Map Developers (www.mapdevelopers.com) and Google Earth ...
37 views

### How to get the nearest building to a point in Openstreetmap Python [on hold]

my goal is to get the distance to the nearest building from a point using Python and OpenStreetMap database. I already know the use of overpass API for obtaining the buildings around a certain point, ...
44 views

### Distance to coast in specific direction

I have a point layer and want to know the distance to the coastline (line or polygon layer) from each point in a series of directions (0, 10, 20, 30 degrees, etc). I have found this python script (...
67 views

### QGIS: calculate distance between points

I'm using QGIS 2.8. I need to calculate the distance between points depending on points ID (not nearest point). I have a CSV table including points ID and coordinates. Each point is referenced on 2 ...
32 views

### QGIS _Distance from point to polygon- doubt

I want to calculate the distance between a shp of points and a shp with a few polygons. I am using MMQGIS (Hub distances), a UTM coordinate system, and everything works fine, but I think it is giving ...
28 views

### Postgis meassuring distance between first and third points of a polygon

I am using ST_DumpPoints() function first to get the list of the different points in the polygon but after doing that, the first point is in one record and the third point is in another record and I ...
38k views

### Calculating Latitude/Longitude X miles from point?

I am wanting to find a latitude and longitude point given a bearing, a distance, and a starting latitude and longitude. This appears to be the opposite of this question (Distance between lat/long ...
56 views

### Computing distance between two points following network and doing it for 100.000 points?

My starting data : a collection of points which are buildings a collection of points which are electrical transformation plant a network of vectors which is the public electric network from an ...
200 views

### Get CartoDB query by distance to work

Has anyone tried this tutorial: Query by distance ? This is a copy of the final code which they use for the map: <html> <head> <link rel="stylesheet" href="http://libs.cartocdn.com/...
191 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 = geo_models.PointField(default=...
29 views

### Getting distance between two points in pixels using OpenLayers 3?

How can I create a circle feature that will have a constant radius in pixels even on zoom in and zoom out?
188 views

### Euclidean Distance Extent

I have a basemap w/ GPS points on it, and polygons of certain areas. The polygons fall well within the borders of the basemap. I am trying to generate a Euclidean Distance map of distance to these ...
182 views

### Calculate nearest feature with a barrier

I have three shapefiles: a) polyline with rivers and streams (also as polygon available to me), b) polylines of highways and roads and c) point file with locations in the riparian vegetation. I want ...
239 views

### How to measure distance between two coordinate pairs taken from NMEA file?

In order to measure momentary speed, first I need to measure the distance between two pairs of coordinates. That's where my lack of knowledge stops me. I have example data in NMEA format: \$GPGGA,...
149 views

### Given two lat/longs, how can I tell if they are within 1 mile of each other?

I'm trying to implement a very efficient check to see whether two points are within a mile of each other, or not. My current approach is to compute the Haversine distance, and then check to see if it'...
500 views

### Query all Object within n kilometer Radius with Hibernate Spatial?

I use hibernate spatial attach a geolocation to a car. My card domain class looks like this: import com.vividsolutions.jts.geom.Point class Card { String name Point location } My program is ...
20 views

### Stream network distance between specific paired points [duplicate]

I have a stream network dataset and am attempting to do a distance analysis between paired points located in two different layers. Ex. I have 500 points in layer A with given coordinates, and then 500 ...
42 views

### Finding distance between points in two different layers along route in ArcMap?

I need to find the distance between points in separate layers along a stream network. I have source sites for macro-invertebrates and sites where they are lacking. I need to find the distance between ...
58 views

### What's the difference between planar and Euclidean distance?

I wanted a straight-line distance. When I was calculating near distance on Arc GIS, I was only given the option between planar and geodesic distance. But people in my field keep referring to my ...
14 views

### What is the relationship between the bearing the 'road' distance between two points?

Given the two points, we know how to calculate the shortest distance between them, and the bearing from one point, in order to reach the other point. Also, we know the loxodromic distance between ...
58 views

### inaccurate distance measurements in Python

I've tried several ways of measuring the distance between two points in my Django application and comparing the results to a reliable measurement. My numbers are way off. For example, I'm assuming the ...
37 views

### Tool to find the nearest points in one layer, ArcGIS

How can I find nearest points in the same layer in ArcMap? I would like to find points that are in the distance of less then 0,5m.
8k 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 ...
22 views

### Can I statistically smooth attributes spatially (using distance/surrounding polygons) in ArcGIS?

I have Census Areas with some of the Census attributes. Is it possible to take an attribute, for example, percentage of people in full time employment, and derive a spatially smoothed version of the ...
69 views

### How to select points with MINIMUM distance of 10 km from a vector line in a country?

Let's do it simple: I have a huge amount of points and some lines in my QGIS map. I want to do a selection just of those points that are minimum 10 km far from the line. Any idea? (I have no ...
405 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 +x_0='+numZona+'...
17 views

### How to solve “features were not reachable” warning message using v.net.distance in GRASS

I'm using GRASS 7.0.4 under Linuxmint 17.1 KDE. I need to build a raster with the shortest distance from every pixel to a city following a road. I have two shape files, the city (point) and the road (...
64 views

### Calculating distance between points of the same layer

I am using QGIS 2.13 and a layer with hundreds of points. I need to calculate the distance to the nearest point... in the same layer. I tried the distance matrix but I get 0m since the "closest" point ...
72 views

### Calculate distances between records in two tables

I need to identify the nearest 3 childminders (approx 500 records) to the nearest school (approx 120 records). Both the childminders and schools layers reside in PostGIS. Can anyone offer any ...
43 views

### How to find the distance between neighboring points in ArcGIS 10.3?

I have two shape files: one has point features indicating urban centers, the other is a polygon features file that has counties. Each county has one urban center. There are around 2800 counties. I ...
629 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 ...
122 views

### integrate elevation and Euclidean distance in ArcGIS for Desktop?

I have a number sequential GPS locations from marked animals - usually 4 to 5 locations per day for 1.5 years - and am trying to delineate seasons based on elevation and distance. From low ...
13 views

### Creating clusters based on nearest distance attribute in ArcMap using ModelBuilder

I am attempting to create a tool via modelbuilder that creates clustering for a polygon feature class based on the distance field attribute (between one polygon to another) that I have created using ...
31 views

### Why distance calculated via pixel size in GeoTiff (EPSG:3857) not equal to Google map or ::skyglyph distance?

I need to understand what's wrong with distance calculated via pixel size. I try to calculate vertical size of GeoTIFF with EPSG:3857. Vertical size in pixels is 4001 pixels and in map units is 2654....
15 views

### Wrong corners distance by geopy's Vincenty Distance formula

I try to calculate distances between corners in raster map. I use answer from this How to get raster corner coordinates using Python GDAL bindings? and make my code. But for some maps results is ...
218 views

### Find the area of a map (Xkm x Ykm) from the left & right longitude and latitude

How can the area of a map from OpenStreetMap be determined in the form of Xkm x Ykm, given the following information: Left Longitude = 103.554879 Right Longitude = 103.740497 Top Latitude ...
43 views

### ST_Distance between ST_Centroid and ST_Y

I'm trying to make a ST_Distance between a ST_Centroid and a ST_Y... But ST_Centroid is a geometry and ST_Y is a float. How can I make this? My query: SELECT ST_Distance(ST_Centroid(ST_Collect(...
200 views

### Calculate driving distance and time from 2 lat/lon points

I'm researching a way to calculate driving time and distance for 2 latitude and longitude points? I'm unable to use any 3rd party controls or maps. If possible it has to all be generated locally to ...
778 views

### How to access the road graph plugin in python?

I am developing a few scripts in Python for QGIS 1.8 to automate some geo-tasks and one of them would be to calculate the shortest distance from a hospital to each building in a town. I would like to ...
120 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 ...
1k 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 ...
29 views

### Calculating distances (differences?) between two regions?

I am building a machine learning system which predicts the location of tweets as a bounding box (using the google maps API among other things). Since the twitter API also supplies a bounding box, I am ...
49 views

### Getting distance from nearest stream and elevation to nearest stream?

I need to know if there are simple commands for this 2 points: the distance from the nearest stream, D [m], defined as the length of the path that hydrologically connects the location under exam to ...
20 views

### Distance between locations confilct?

Occasionally experimenting in arcmap with openstreetmaps basemap and in google maps i noticed something strange. I measure the distance of 2 locations in google maps (screenshot 1) and on another ...