Questions tagged [proximity]

Use for questions about vector features and their proximity or nearness to other features.

Filter by
Sorted by
Tagged with
1
vote
2answers
749 views

ArcMap Near Tool doesn't find nearest feature for some input points on the line

Using ArcMap's near tool, I have 'projected' the vertices of a trail onto a corresponding line (river), in order to find the closest point on the river to each trail vertex. However, as you can see ...
2
votes
1answer
1k views

Joining points with nearest polygon using QGIS

I have a points layer and polygons layer with attributes I want to join for each point. Not all points are exactly within a polygon, so I'm looking for a way to join attributes based on nearest ...
2
votes
0answers
45 views

Compare 2 layers for like point features

I am looking for a plugin for QGIS that can compare 2 layers and tell me which point features are not common to both and which features are separated by a distance of say plus 1 foot. I am working ...
1
vote
1answer
1k views

Units for radius in nn2() in RANN package

I am using the nn2() function within the RANN package to find nearest neighbors, within a specific radius, of points identified by latitudes and longitudes. What unit is that radius measured in? I ...
2
votes
2answers
295 views

Determining which field is returned as NEAR_FID by ArcGIS Near tool?

I have a point layer and a polygon layer (both containing hundreds of records) and I want to know how far those points are from a nearest polygon feature, I've used the Near tool and it returns two ...
1
vote
0answers
40 views

Generate near tables from one layer to all in mxd

I am looking to create a script where user can choose a layer, then find all the layers within a set distance of it. I have set up a script to iterate through the mxd but I keep getting an error for ...
1
vote
1answer
54 views

Using less parameters for Python script tool?

I am looking to create a user-input script for finding surrounding features of a given point. However, the parameters for it are very sensitive and I would like for it not to have to be such a process ...
2
votes
1answer
44 views

Setting method in Near Analysis using ArcPy?

Created a script for Near Analysis, but my distance field, whenever calculated produces values from the Geographic Coordinate System that my features were produced through. I read that if you set the ...
3
votes
3answers
2k views

Measuring minimum distance between objects in two layers using ArcPy? [closed]

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 ...
1
vote
0answers
86 views

QGIS-bin.exe stops working when trying to run NN-Join

I am trying to calculate nearest neighbor using the NN-Join add-in. This has worked well until now, but after I updated my data it only partly works. I have a point layer, and I have three other ...
0
votes
0answers
36 views

Creating layer depicting area closest to specific polygons in ArcMap?

I have a set of oddly shaped and vastly different sized polygons spread across a large area. There are three 'hub' polygons in this feature dataset. I need to figure out which of the hub polygons is ...
2
votes
1answer
433 views

Creating line between polygon and nearest raster cell?

I need to create a line between polygons (centroid) and the nearest cell of a raster dataset. The polygon and raster do not intersect. Each polygon has a UID. One cell can be linked to many polygons, ...
9
votes
2answers
477 views

Finding a pole of inaccessibility relative to multiple points without using rasters

I want to find a 'point of inaccessibility' from a series of points, representing towns and villages in Scotland. Using FOSS GIS tools (QGIS, SAGA, GRASS, Postgres/PostGIS ... ). This is the point ...
2
votes
0answers
53 views

Near Analysis takes much longer in ArcPy? [duplicate]

I have a feature class of about 12 points, a feature class of hundreds of roads, and need to find the nearest road to each point. So the obvious solution (Near tool) takes about 20 seconds, and the ...
1
vote
1answer
238 views

Calculate nearest town for 2900 lot centroids

I have 16 town point shapefiles. I have a layer of 2900 centroids for lots. I need to determine the nearest town for each of the centroids. The option I came up with is to Split by Attribute by ...
1
vote
1answer
101 views

Counting Nearby Points in ArcMap

I have two point layers, A and B. For every point in layer A, I want to count how many points from layer B lie within a 1-mile radius, and store that count in a new column of layer A's attribute table....
2
votes
3answers
3k views

Alternate of Near Distance Tool of ArcGIS 10.1

I have basic license level of ArcGIS 10.1, and near distance tool is not available with it. Can anyone please suggest of another similar purpose tool, under basic license, to get distance of one ...
-1
votes
1answer
753 views

Calculating average distance of many points using ArcGIS Desktop? [closed]

I have 30 points showing locations of petrol filling stations. I want to know the average distance of all the filling station to each other. What tool can I use in ArcGIS Desktop?
3
votes
1answer
1k views

Batch processing near feature distance in ArcGIS Desktop?

I have 2000+ point shape files. These are all GPS tracks. I want to calculate the distance from each point to the nearest feature (road, train line, restaurant etc) within a 30 meter radius. I am ...
3
votes
2answers
564 views

Housenumber(point) angle from line (street)

using arcgis 10 with Point data (Housenumber without angle attribute) and line data (street without angle attribute) I want to create housenumber labels from point with correct angle from nearest ...
2
votes
3answers
2k views

Measuring distance between two points?

I have two shapefiles and I would like to know the distance between each point on File1 and each corresponding point on File2 (one to one relationship). I have been using the Ruler and manually ...
7
votes
2answers
1k views

distance matrix with a linear feature

I would like to use the distance matrix tool (or a similar function) to look at distances between sites (displayed as point data) and large rivers (displayed as linear). I have been following this ...
0
votes
0answers
70 views

Calculating point distance in separate X/Y-values (lengths of opposite side and adjacent side) using ArcGIS Desktop?

Description: I have to position a temporary initial zero point into a corner of my map. Afterwards I want to calculate the geometric distance between many different points and this so called initial ...
1
vote
3answers
434 views

Analyzing building proximity to restaurants using ArcPy?

I am trying to make a script that will go through buildings in a shapefile row-by-row and do a count of points within .25, .5,...1 mile of it. The other points are restaurants. import arcpy arcpy....
3
votes
1answer
600 views

PostGIS shortest distance from point to point

I'm new to Spatial Databases and I'm trying to find the nearest point of a point. In my application there is a google map and the user can click anywhere on it. The click executes a request to the ...
5
votes
2answers
1k views

Selecting features within certain buffer distance of selected feature using PyQGIS?

I have a shapefile of thousands of polylines. I have select one feature, I want to select all other features that is within say 100m of the selected feature. How do I achieve it by pyqgis?
1
vote
1answer
90 views

How to calculate distance from lat/long point to each habitat category in QGIS? [closed]

I am very new to QGIS and am struggling so hopefully someone will be able to help me with what I assume is a relatively simple task. I have a number of vector layers of land cover from the land cover ...
4
votes
2answers
3k views

Processing multiple files simultanously using python

I have 11000 point shapefiles to run Near tool on against another point shapefile. I am looking for a way to process 10 files at the same time. Is there a way to process so many files using Python ...
1
vote
1answer
93 views

Grouping roads based on existing condition and AADT? (QGIS) [closed]

For QGIS software, I have municipality service agreement roads and an end-plan to group the roads based on close proximity (roads and communities close together or close to each other and on the same ...
0
votes
2answers
585 views

shortest distance between road and lake with PostGIS

I have a country-wide dataset with lakes (polygons) and streets (lines). For each lake I want to know the shortest distance to the closest street. (I do not necessarily need the closest street itself ....
3
votes
1answer
172 views

How to identify multiple points with multiple buffers

I have 40,000 house points that is mapped in GIS and another layer with all the amenities around the area. I am trying to find the number points of interests (POI) within a buffer of 500m from each ...
1
vote
2answers
161 views

calculate distance of points from reference points along a line

I have a points layer and a multi-part non-overlapping line layer (a line divided into segments). All the points fall exactly on the line. I have the coordinates of the start and endpoint of each ...
2
votes
1answer
149 views

Select lines with an endpoint within a distance of a point feature class

Any ideas on ways to select line features that have an endpoint/node within a distance of a point feature class? I have been using arcpy.SpatialJoin_analysis and arcpy.SelectLayerByLocation_management ...
0
votes
1answer
654 views

Finding closest outside point to point inside polygon in PostGIS?

There is the famous ST_ClosestPoint() return the closest point inside polygon to some outside point. I'm looking the inverse problem: I have a location inside polygon, and I want to get the closest ...
1
vote
1answer
2k views

Calculating distance to 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 ...
1
vote
1answer
177 views

ArcGIS Near tool returning incorrect results?

I'm having some odd issues with the Near tool in ArcMap 10.4.1 using Geodesic method, no location or angle specified. The tool works, but returns near FIDs for polygons that are absolutely not the ...
2
votes
2answers
81 views

Selecting features based on relative distances between features in single shapefile using ArcGIS Desktop?

I have a set of polygons within a single shapefile. I want to keep only polygons, which are located >500 meters from another polygons in the same shapefile. I thought to apply NEAR Tool in ArcGIS to ...
1
vote
2answers
87 views

Create a raster that measures distance of two polygons

I'm currently working on a project where I have 2 datasets/layers that comprises boundary polygons (vector) of farms. One has been digitized from community mapping (overlaying a UAV image) the other ...
5
votes
2answers
394 views

Find the shortest path

I have the exact same problem as explain in this post. I'm trying to find the shortest path between each building on a map (shp multipolygon) to any transformation plant (shp multipoints) by following ...
1
vote
0answers
48 views

Calculating distance in polygons using ArcGIS Desktop?

I want to show on map what's the distance between polygon A and B, but the result should be specified in polygons. Here's the result similar to my idea: I am working on ArcGIS Desktop. Which ...
1
vote
1answer
880 views

Calculating distance from centre of polygon to point using ArcGIS Desktop?

How do I calculate the distance between the certain of a polygon (in this case, centre of a district), to the closest point on a map (in this case, the points are road entries)? I haven't tried ...
2
votes
1answer
198 views

Find closest point on a MulitLineString for each point of a MultiPoint

I'm working on a project to connect buildings to electric power plant via a network. To this end I'm beginning by trying to connect every buildings to the network. I've importing the shp files to a ...
4
votes
1answer
225 views

Use map projections to find closest point over dateline

I want to identify closest points to a polygon over the dateline in an OGR/Python script. I found this workaround for PostGIS but I'm not 100% certain about the applicability in my case. This may be ...
0
votes
1answer
149 views

Are ArcView and Basic license levels of ArcMap the same?

I need the near(dist) command, but I think I need to have a more advanced version than what I have. I have: ArcMap 10.0 (Build 4000) ArcGIS desktop 10 service pack 4 (Build 4000) license type: ...
1
vote
1answer
48 views

Adding only subset of fields during ArcGIS Spatial Join?

I am using ArcGis 10.2. Is there any python script or tool in order to add to my point shapefile only two specific columns I want from my polygon shapefile based on location? Spatial Join adds all ...
1
vote
0answers
510 views

Find nearest polygon to point using Python, OGR and Rtree

I have a dataset with points and one with polygons. When the points intersect with one or more polygons they get assigned an attribute value inhereted from the polygon, but not all points intersect ...
2
votes
2answers
170 views

Seeking tool to use in ArcPy that does opposite of Near?

I have a shapefile with many (1000s) points grouped by attributes. I need to determine the distance between each point and the point furthest from it that shares the same group attribute. Is there a ...
2
votes
2answers
2k views

driving time to the nearest facility using pgrouting

I'm using pgrouting 2.0 and postgis in postgresql. My problem is to calculate the driving time to the closest facility for each node of my OSM derived network. These are the steps to be implemented (...
2
votes
2answers
117 views

How to create a buffer for catchment area of an historical settlement

I'm looking for a way to create a buffer from a specific point that represents the catchment area in a selected time in QGIS. I've found many tools that allow me to do it using driving time or public ...
2
votes
1answer
461 views

Finding nearest line/point from polygon using PostGIS?

I have got the point and the polygon (or line). I have to find the closest coordinate (it can be the "virtual" point on edge) from polygon due to the point. Do you know how to find out this ...

1 2 3
4
5
7