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
251 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
64 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
96 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 ...
1
vote
1answer
71 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
603 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
64 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
319 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
65 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
43 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
65 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
191 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
17 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
709 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
629 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 ...
2
votes
1answer
151 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
37 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
2answers
324 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 ...
2
votes
1answer
64 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
39 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
98 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
32 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
74 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
54 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
113 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 ...
1
vote
2answers
546 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
71 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
113 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
36 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
79 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
129 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
258 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
71 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 ...
2
votes
2answers
86 views

ST_Distance loop

I want to create a postgresql function which calculates the distances between random points who are stored in one table. For the Table: CREATE TABLE s_1( id bigserial primary key, the_geom geometry, ...
1
vote
1answer
160 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 ...
3
votes
1answer
48 views

using a linear solver to get a “centre of gravity” of a set of points

As a programmer, if I have a linear solver available. How can I formulate the following problem as a set of constrains / decisions / goals for the linear solver? I have a matrix of say 10*10, so 100 ...
1
vote
0answers
89 views

How to calculate multiple distances between set of points and vector grid in PostGIS?

My set contains the following input data: A set of points and a hexagonal (vector) grid. For each cell in the grid, I want to calculate the driving-distance to each point. I thought this would be a ...
1
vote
1answer
61 views

Create a line from an array and measure its length with PostGIS (ST_MakeLine, ST_Length)

do I understand it correctly that it is possible to create a line out of an array with the function ST_MakeLine()? I would like to create a line from several points (more than two) and then calculate ...
4
votes
1answer
52 views

PostGIS point distance from polygon not 0 when on edge

I have a pretty simple problem: SELECT * FROM ST_Distance(ST_GeographyFromText('POLYGON((70 -40,70 -39,71 -39,71 -40,70 -40))'), ST_GeographyFromText('POINT(70.48 -39)'), False) returns ...
3
votes
3answers
841 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: ...
3
votes
1answer
64 views

Divide line by length with QGIS [duplicate]

I'm a newbie using QGIS 2.12 and I'm trying to split a line in QGIS and place points every x meters. There is a tool in ArcGIS (divide by length add in). How to achieve this in QGIS?
0
votes
0answers
83 views

How to measure nearest neighbor in miles or kilometers between two point layers using QGIS?

I have tried to look for an answer to this question, but cannot find an adequate solution. I have two point layers. One is of locations by lat/longs of homes in Louisiana. The other is a layer of ...
1
vote
0answers
27 views

Measuring large distances when all layers are in decimal degrees using QGIS?

I just developed a distance matrix between various points across Canada in QGIS. The distances produced are in decimal degrees, and I would like to view them in metric. I am unsure how to do this.
1
vote
1answer
136 views

Find nearest road distance between two points for over 1000 points

I'm extremely new to QGIS and am learning the material on my own. I have two CSV files with latitudes and longitudes, one has school address information and the other has fast food restaurant ...
6
votes
1answer
781 views

Measuring Right of Way in ArcGIS Desktop?

I'm helping bring CAD people into ArcGIS so that everyone throughout the company is on the same page and there is one database for everything. Right now, one of the biggest hurdles is making sure all ...
2
votes
0answers
60 views

How to calculate shortest path from points in one layer to points in another layer via roads, in QGIS

I'm a new user of QGIS (and have experience using ArcGIS but zero programming skills) and I'm looking for a way to calculate the shortest path from addresses to subway stations via a network of roads. ...
2
votes
0answers
37 views

How can I measure the distance between many polygon features and either another polygon or a line in QGIS?

I often have to manually measure the distance between a single site and other sites around it, but obviously this can get long-winded and I feel like there must be a much more efficient way of doing ...
18
votes
6answers
25k 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 ...
1
vote
0answers
31 views

Extracting distances along a line from postcode a centroid to the nearest point (bus stop)

I'm looking to measure the distance from postcode centroids (point file) in a city to the nearest bus stop (point file) along the road network (line file). In Qgis I can calculate the distance but ...
5
votes
1answer
3k views

Calculating distance of points along route using ArcGIS Desktop? [closed]

I am struggling with the calculation of the distance between points along a stream (points are located 0-20m away from the stream) in ArcGIS 10. The points are simple xy-data in UTM. I created a ...