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

7
votes
2answers
441 views

How do I group near points with GPS positions?

I'm an IT person so I don't know too much about projections and so on, I hope you can help me. I have made an application for Android that collects a GPS position, so I have the latitude and the ...
1
vote
1answer
223 views

Rasterize vector with gdal

"I would like to calculate the Euclidian distance from a residence to a public service of interest e.g. the distance from a residence to a green space (as the crow flies) in QGIS. After browsing the ...
0
votes
1answer
346 views

QGIS, Euclidean distance analysis [duplicate]

i wanna generate euclodian distance map for my road data. I 'll use it for multi criteria analysis. I can get it by using Arcgis Euclodian Distance tool but i wanna generate it in QGIS environment. I ...
0
votes
1answer
107 views

How to find features within a distance? [duplicate]

I insert the values from lat/long into the points. Those users move around and send me new Lat/long and of course , I made an update of the position. I need to find people that are in a distance ...
2
votes
3answers
689 views

Calculate min distance between points in PostGIS

I have point layer in PostGIS database. Help please with query which add for each points in layer distance in attribute table between this point and another nearest point. Thanks! Update Calculate ...
1
vote
0answers
68 views

Allocate places according to distance

I've asked this over on Stack Overflow but thought that someone may have a GI point of view that may help: As an over-simplified example I have a list of events that have a maximum attendance: ...
4
votes
1answer
909 views

Calculate distance between X/Y coordinates by individual in R

In R, I'd like to calculate the straight-line distance between each capture of an animal in my dataset - no need to take into account the curvature of the earth. I have a dataset that looks like ...
8
votes
1answer
384 views

Calculating distance from points to different class in raster

I am looking for some advice on how to calculate the distance from a point to a different class of a raster. Specifically, I have observations (points) of animal use overlaid on land cover data. For ...
1
vote
0answers
396 views

Distance Matrix in QGIS

Can anyone help me with the distance matrix tool in QGIS? Is there a tutorial about it? It sometimes crashes when I use it and the values that it produces seem strange. I am a beginner in QGIS, so I ...
1
vote
2answers
205 views

Why is pgrouting driving distance skipping edges?

I have a road network where I do a driving distance operation through pgrouting. This is my SQL: SELECT * FROM driving_distance('SELECT gid AS id,source,target, cost FROM ...
0
votes
3answers
300 views

Calculate 'Rectangle' Coordinates Given 2 Points and width [closed]

I want to create a rectangular polygon using two points as guides. So let's say a journey starts in Egypt and ends in London, my polygon should have 4 points: 10 miles further from London than Egypt ...
4
votes
2answers
950 views

Spatial distance analysis in QGIS

I'm quite new to QGIS and trying to figure out how to analyze the following problem. I have three layers: settlements point layer with 253 entries waste treatment facilities point layer with 24 ...
5
votes
1answer
561 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 ...
2
votes
1answer
278 views

How to Determine to world map size in pixel given this data?

How to Determine the world map size in pixels given this data? Map size of a particular area say, for example: Makati city, Philippines with bounds: Top-Right: 121.0281, 14.56497 Bottom-Left: ...
12
votes
3answers
414 views

How can I represent distance using the dashes or markers of a vector line?

I am a very basic user and dont know the lingo to get to the gist of my question so some background might help. Ive volunteered to create a pre-incident planning system for my rural fire department. ...
4
votes
1answer
126 views

API for time and distance between two addresses?

The Google TOS appears to limit the use of API for time and distance between two addresses to use in conjunction with a displayed map. Does anyone know of any other mapping data source that offers a ...
4
votes
1answer
551 views

Distance Matrix tool in QGIS. How to get result in metric? [closed]

I'm trying to calculate the distance between points in layer with distance matrix tool. And keep getting strange results no matter what. Like this MASTER ------------SLAVE ---------------- DISTANCE ...
5
votes
5answers
2k views

How to calculate distances in a point sequence?

I'm looking for help calculating the distance between a sequence of points that are in a single Shapefile in QGIS. Below is what my data look like and a blank distance column I've added to show how ...
1
vote
0answers
22 views

How to perform a join on simultaneous spatial and attribute criteria in PostGIS [duplicate]

Possible Duplicate: How to perform a join on simultaneous spatial and attribute criteria in ArcGIS? I have two point layers and want to perform a spatial join on nearest distance. I have a ...
2
votes
1answer
597 views

How to draw a polygon with preset length in OpenLayers?

For a project I am working on, I need to be able to put a polygon on a map using OpenLayers, based on a variable point that can be set by a user. The polygon is an isosceles triangle of which two legs ...
5
votes
1answer
2k views

OpenLayers measure tool - instant measurement

I need to use measure tool to measure distances (instant measurement!) in my application. Instant measurement example can be found here. But the main problem is that when I use instant measurement ...
2
votes
1answer
420 views

Getting points within a range from a postgres database?

ok so this is query i'm making which returns no result: SELECT building.gid FROM building WHERE ST_Dwithin(building.geom, ST_GeomFromText('POINT(long lat)',4326), 400) If I run this ...
4
votes
1answer
143 views

Tunnel distance approximation

Having two points (longitude, latitude) on earth, if I am sure their distance is under 100 km; how much error will I have using tunnel distance approximation? (Defined at here) Note: Currently I am ...
7
votes
2answers
129 views

Which SRS to use for global distance queries?

I have a database with a lot of points in WGS84. Now I am building an cache that performs NN and points in range queries using a KDtree. The point [sic] is that the search radius will be provided in ...
1
vote
1answer
208 views

Calulate distance between two points [closed]

If I have two coordinate points of (lat, lon), how would I calculate the distance between the two?
5
votes
3answers
999 views

Dissolving polygons by attribute and in a certain distance (ArcGIS)

in a FeatureClass I have a lot of polygons which contain attributes of different landuse-types. Now I am trying to dissolve those polygons of the same landuse-type, but only if the distance between ...
3
votes
2answers
175 views

Converting lat lon into co-ordinates (in ft of m)

I have a set of latitude and longitude of a series of points which specific the trajectory of a vehicle. If I consider the first point as the origin (0,0), is it possible to convert the trajectory ...
3
votes
0answers
217 views

calculate total Miles in a polygon using Google Map

I have an application that allows the users to create any custom polygon layer on top of google maps, i am interested to know if their is a way to select the road layer in this polygon and then ...
2
votes
3answers
907 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 ...
7
votes
1answer
663 views

Problem analysing movement using cost surfaces (involving ArcGIS's 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
2answers
236 views

Recovering Latitude and Longitude from Albers to Compute Distance

I have a shapefile of U.S. counties in USA Contiguous Albers Equal Area Conic. I want to do distance calculations. For example, distances from one county to another. I do not know how to interpret ...
1
vote
1answer
43 views

Obtaining coordinates when computing distance of a polygon to a line

I have a shapefile of a county. I am interested in computing its distance to a line, which I've been doing using Near. I want to know the coordinates on the line that produces the minimum distance. ...
1
vote
1answer
193 views

Distance of many polygons to a segmented line

I have a shapefile of U.S. counties. I also have a line segment. I want to compute the distance of each county to the line. I have also divided the line segment into 10 equal segments. I want to ...
3
votes
0answers
553 views

Performing a Multicriteria Analysis Using Distance Along a Road Network

There is the possibility that I will be working on a project which will look at thousands of properties in a region and measure their accessibility to different services (schools, parks, hospitals, ...
1
vote
2answers
275 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) ...
1
vote
1answer
480 views

USA Contiguous Albers Equal Area Conic

How do you convert from USA Contiguous Albers Equal Area Conic to meters? Or, to latitude and longitude? I am using ArcGIS 10.1, and within it, ArcMap. The shapefile I have reports the coordinates ...
1
vote
1answer
2k views

How to get the shortest distances between features on separate polygon layers?

Suppose I have a county-level map for the state of North Carolina, U.S. Suppose I would like to compute the shortest distance of each county to any point along the border of Georgia. How would this ...
2
votes
1answer
381 views

How to find the closest Edge from a Line

Currently I'm working on a basic 3D model viewer in MATLAB, which can import .OBJ files (modeled in e.g. Blender). The purpose of this viewer is to test different subdivision schemes (like ...
0
votes
1answer
110 views

If the Earth was flat, what unit of measurement would distances between geographic points be represented as?

A whole lot of abstraction- given two longitude/latitude points given from a GPS, I'm using the Pythagorean distance formula to find the distance between them. What unit of length would the distance ...
3
votes
1answer
283 views

How to make a minimal distance matrix for polygons using QGIS?

I have a set of polygons and I want to find minimal distances between the edge of each pair of them. It's similar task as in this question: How to find the minimum edge to edge distance of polygons? ...
1
vote
1answer
284 views

PgRouting Driving Distance crashing postgis server

I haven't used PgRouting much so I'm a little in the dark here. However, I am attempting a driving distance calculation like the one described by Underdark here. My SQL is identical, I have a ...
7
votes
5answers
2k views

Calculate distance in km to nearest points (given in lat/long) using ArcGIS

I have two point datasets in ArcGIS, both of which are given in WGS84 lat/lon co-ordinates and the points are spread across the whole world. I would like to find the nearest point in Dataset A to each ...
5
votes
2answers
4k views

How to calculate new point coordinates from distance and angle?

I want to calculate the coordinates of a new point. What I have: The source point coordinates, the distance (meters) and the angle For example: I want to create a point within 100 meters and 45 ...
3
votes
2answers
6k views

Find points within a distance using MySQL

I have a mySQL table with user name, latitude and longitude of the user. I would like to get a list of user who are inside the circle or square of a given latitude and longitude with given distance. ...
1
vote
0answers
112 views

Is there a ModestMaps or other flex library for finding the distance between 2 lat/lon coordinates?

I'm using ModestMaps in my Adobe Flex application. Is there a flex library method to calculate the distance between two of my lat/lon coordinates, or am I stuck coding the Haversine by hand? I've ...
2
votes
1answer
93 views

How to Improve a Distance Model

I am working on a distance model that creates distance rings around a given point and assigns those rings a probability. The point is in the center of a 25 x 25 km area, and the model fails to assign ...
1
vote
0answers
25 views

Translate geographical coordinate [duplicate]

Possible Duplicate: Calculating Lat/Lng X miles from point I would like to know how could I translate a geographical coordinate to an specific distance. So for example let's suppose I'm ...
0
votes
0answers
403 views

Implementing custom (Vincenty/Haversine formula) functions for MySQL vs Using PostGIS?

I currently am using MySQL for all of my relational data. I have hit a crossroads with geo calculations. Since, MySQL does not have good support for spatial functions, I am contemplating on using ...
4
votes
1answer
2k views

Distance calculation : Integrating incremental gps data

I am trying to build a GPS based odometer based on android. Currently , I am calculating incremental distance changes very frequently ( < 5 meter movement). The distance calculation in android is ...
3
votes
1answer
174 views

finding a location on a line using a point and a relative distance with arcgis js api

The problem I'm trying to solve is to find a point on a line given another point on the same line and a distance from the same point. I've been looking on the various RouteTask examples but they ...