A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [intersection]

Use this tag when asking questions related to where features overlap.

Filter by
Sorted by
Tagged with
2
votes
2answers
66 views

Performing multiple intersections between two polygon tables and one raster table in PostGIS?

Trying to perform an intersection of an intersection in PostGIS. Its an intersection between a point table, polygon table and a raster table with different number of rows. The polygon table is the ...
13
votes
2answers
4k views

Clip polygon and retain data?

I have these two polygons: library(sp); library(rgeos); library(maptools) coords1 <- matrix(c(-1.841960, -1.823464, -1.838623, -1.841960, 55.663696, 55.659178, 55.650841, 55....
1
vote
0answers
140 views

Collecting values from iterated intersections in ModelBuilder? [closed]

I have a points feature class which I am intersecting with a number of polygon feature classes, one at a time (i.e. points AND polygons1, points AND polygons2, etc...). Each time I do an ...
0
votes
1answer
48 views

ArcGIS model tries to tabulate the number of rows from multiple table intersections

I'm trying to generate a table that captures the number of rows, and the source feature class, from the intersection of several FCs against one common layer. My expected output is one row per ...
1
vote
1answer
318 views

True GIS clip of polygons + attribute table

How can a true intersection/clipping of polygons be done in R? Problem description: Shapefile1 contains only one feautre without attributes (or - at least - attibutes don't matter). Shapefile2 ...
0
votes
1answer
137 views

Find the intersecting polygons between 2 tags in OpenStreetMap using Overpass API?

I need to find in Italy all the intersecting polygons of: all airport terminals of the tag["aeroway"="terminal"] that are inside only international airports of the tag["aerodrome"="international"] I ...
2
votes
0answers
218 views

r - intersection of 3D objects

How can an intersection of 3D object with 3D object be done in R, for example a 3D line with 3D polygon ? Saw that "sf" provides some possibilities but didn't get the desired result. What was ...
3
votes
2answers
1k views

mongo geoIntersects with Spring Data

I created a collection that contains a multipolygon document. I want to write a query in spring data that tells me if a point (lon, lat) intersects the multipolygon. The query in mongoDb is as ...
1
vote
1answer
29 views

How to find if a pixel is entirely within another pixel when comparing for example two GeoTIFF raster maps? [closed]

Using GDAL and/or Python Red: GeoTIFF raster Map layer 1 Blue: GeoTIFF raster Map layer 2
0
votes
1answer
126 views

Getting attributes from intersecting lines to label generated intersection point? [closed]

I have an urban road network (as a feature class), consisting of only polylines. I have to make a database of all the intersections between the streets. As I generate those intersection points, I ...
0
votes
1answer
56 views

Intersecting polygons from different layers based on common values using ArcPy? [closed]

I have two polygon shapefiles (ShapeA and ShapeB) that share some areas. The shapefiles have one attribute in common (CODE) and I would like to do a selection, where I select all the polygons in one ...
0
votes
1answer
145 views

r - turn off automatic ordering of linestrings when applying sf::st_intersection

This question is about how while using sf::st_intersection on a LINESTRING and a set of POLYGONs to get several LINESTRINGs in the CORRECT order. sf::st_intersection automatically orders the newly ...
0
votes
1answer
544 views

Intersecting great circle arcs and polygons

I am trying to find the point of intersection between a great cirle arc and a polygon. I am working in long/lat, where I am given the endpoints of the great circle arc, A and B, and the vertices, C, ...
3
votes
1answer
123 views

PostGIS trigger does not work as expected while checking intersections

I'm trying to write a trigger that should prevent saving lines which do not end at building boundaries. ( A PostGIS-Solution for something like the topology-rule "Must be covered by boundary of" in ...
3
votes
2answers
379 views

Line/Polygon intersection with a tolerance in QGIS

I have a layer with Polygon and a layer with Polylines. I am looking for the list of Polygons crossed by the Polylines. Just here it's relatively simple: intersection function. That said, the ...
4
votes
1answer
175 views

Syntax for “fields to keep” of Intersection tool in graphical modeler

I'm working with QGIS 3.2 Bonn and try to set up a workflow with the graphic modeler. The model uses the Intersection Tool from the QGIS Geoprocessing Tools. The model works, but I don't want to ...
3
votes
4answers
3k views

Produce a list of polygons that a line crosses

I have a polyline feature class and a polygon feature class. What I want to do is add a field to the lines that lists all polygons that touch the line. This is effectively performing a select-by-...
0
votes
1answer
61 views

Count how many times an attribute in a polyline intersects a polygon in QGIS

I am trying to count how many times a polyline with a specific attribute intersects a polygon in QGIS. For example, I have a polyline with a feature class called "size", this contains a text value i.e....
2
votes
1answer
102 views

Read a Raster Band Value inside of a VectorLayer in QGIS [closed]

How to read pixel values in RasterLayer that intersects line features of VectorLayer, applying Python in QGIS?
3
votes
0answers
206 views

Create lines to connect vertices in QGIS

I have a file that marks street edges and want to connect "crossing" points automatically. Image 1 shows the street edge, Image 2 shows the desired result. Is there a plugin or method I can use to ...
4
votes
1answer
159 views

Finding combinations of polygons in PostGIS

all, I have found something that has made me a bit curious about how to correctly use ST_INTERSECTION(A,B). I am looking for every combination of two political district boundary sets in California, ...
1
vote
1answer
55 views

Why do these coordinates not display correctly (or intersect correctly) with this boundary file?

This is a follow up to my previous question. I wrote code that imports the boundaries of a few US states, and, for some arbitrary point within those boundaries, buffers a circle around that point and ...
3
votes
1answer
389 views

Project a point onto a profile tool graph in QGIS

I'm using the Profile Tool add-on in QGIS to extract a profile of a raster data layer. Along this profile there are a series of points which I'd like to project onto the Profile Tool graph so that I ...
2
votes
2answers
647 views

Finding overlay percentage between two polygon shapefiles

I have two layers that I am currently working with: 1. Parcels/property boundaries and 2. Wetlands I am trying to determine the parcels that have 0 wetlands and then for the parcels that do have ...
2
votes
1answer
52 views

Labelling polygons intersecting another polygon file

I have a series of polygons representing land packages and another shapefile representing contour polygons of flood elevations in steps i.e 2-5m 5-10m >10m. I am wanting to label a polygon with the ...
1
vote
1answer
650 views

Error when intersecting large spatial polygons data in R : rgeos_binpredfunc_prepared: maximum returned dense matrix size exceeded

I am trying to intersect two polygons that are SpatialPolygonsDataFrame. I am finally getting output after intersecting a small subset of the data frames. But when i run this on the entire dataset ...
-1
votes
1answer
65 views

Finding and labeling intersections between polygons on a shapefile

I have two shapefiles-- one is labeled islands, the other is unlabeled parcels of land on some of the islands. My issue is that I need to label the islands that have parcels of land. My instinct is to ...
0
votes
0answers
16 views

Intersect five different points of same layer

In ArcGis Desktop I have the following problem: I have a layer of sites, let them be hotels, for instance, and I want to find each place, where there are less than five hotels within a radius of 30 km....
1
vote
1answer
95 views

Cookie cutting in R?

Is it possible to perform a cookie cut in R? Firstly, I have a polygon shapefile of many polygon some of which overlap. I then have a second polygon shapefile with contiguous non-overlapping ...
3
votes
2answers
864 views

How to run Intersect in QGIS when invalid geometry?

I have two layers to make an intersection. I use QGIS 2.18.22 and Vector - Geoprocessing Tools - Intersect - run is not working, because "Input layer A contains invalid geometries. Unable to complete ...
1
vote
1answer
32 views

Intersecting geotiff with another one using alpha-channel (or nodata value) in GDAL?

I have two geotiffs related to one location but with different areas covered: 1. 2. How can I intersect their opaque parts into single geotiff like that?
1
vote
1answer
117 views

Find intersection of multiple DSM's using Python and GDAL

I am quite a beginner in respect to GIS and hopefully someone can help me out with the problem I have. I have multiple digital surface models [DSMs] of the same area with all necessary geo-...
1
vote
0answers
153 views

Nearest point does not intersect line in 'sf' R package

This is a similar question to my recent questions on how to find the nearest point along a polyline and how to split a polyline by an intersecting point using only the sf package. My question has ...
1
vote
2answers
137 views

Splitting river channel polygon by fishnet overlaying it using ArcGIS Desktop?

I have to split river channel polygon by fishnet in ArcGIS Desktop. There are 500 squares in fishnet of 1km sq area which overlay above river channel polygon. Is there any tool in ArcGIS Desktop by ...
2
votes
0answers
277 views

TopologyException issue when doing intersection in Geopandas?

When I do overlay processes like intersection, I mostly get: :TopologyException: found non-noded intersection between LINESTRING (229971 4.39944e+06, 229971 4.39944e+06) and LINESTRING (229971 ...
2
votes
1answer
229 views

Find overlay between polygons excluding boundary

I want to find which polygons in a spatialpolygonsdataframe overlay each polygon in another spatialpolygonsdataframe. I have tried to use the function over from the package sp and it works fine... ...
5
votes
3answers
274 views

Finding redundancy between two layers

Let's say I have two point layers that contain locations of wells on a property. layer A has 50 points. layer B has 35 points. Some of layer B's points already exist on layer A, and some of them do ...
1
vote
1answer
143 views

Only show buffers that overlap geometry

I have multiple sites that are surrounded by a buffer. I also have a layer which corresponds to areas affected by changes. I am trying to filter out buffers that are not overlapped by the change ...
0
votes
2answers
92 views

Extraction of Digital Terrain Model Intersections

I have two digital terrain models in ESRI ASCII (.asc) format. Their elevations intersect in multiple places. How can I extract the intersection of these two DTMs as a polyline or polygon shapefile? ...
0
votes
1answer
159 views

How to calculate intersection of two arcs? [closed]

Given two arcs (defined by start and end points with latitude and longitude) how to check if there is intersection (cross point) and if there is -- how to calculate it? Calculate "manually" -- i.e. I ...
1
vote
3answers
708 views

One to many intersection of polygons

using QGIS 2.18.16 I am trying to figure out how to find out what polygons in layer one (blue) intersects the polygons in layer 2 (red\pink). I know that there will be more than one intersection for ...
1
vote
0answers
262 views

How to choose a projection for area measurement on building to continental scales?

I have many geographical objects described as polylines, polygons, multipolygons. All objects are in WGS84. Object could be: a building, stadium, park, street, highway, city, state, even country and ...
0
votes
1answer
360 views

Ghost Multipolygons block Overlay Intersection

I'm really desapointed, because I did everything to avoid Multipolygon in my script but last treatment blocks because of Multipolygon : File "/.../Zonage/Zonage_standalone.py", line 254, in zonage ...
0
votes
1answer
79 views

Postgis - Find records that each contain a point within a circular area

I have a few tables: hubs coverage_areas jobs Jobs have a lonlat (st_point) column Coverage areas have a lonlat (st_point) column and a radius (integer). Hubs can have multiple coverage areas. ...
2
votes
1answer
160 views

QGIS 3.0 Field calculator - Call second layer in Intersect

I am trying to use the 'intersects' function within an 'if' condition. If a polygon in Layer A intersects a polygon in layer B, then the cell should display 'YES', otherwise 'No'. However, I don't ...
1
vote
1answer
186 views

Calculate the Intersect Area of Polygon Features and Circles of Equal Area Based on Feature Centroid [closed]

For this task I am using ArcGIS Pro 2.1. I am trying to fist create a process then automate the process to do the following: Create circular polygons of equal area to and with the same centroid as ...
20
votes
4answers
65k views

Merge intersecting polygons into one which are part of the same feature

I'm not a GIS professional so I hope I use the correct wording, at least I hope you understand my question. Let's say there are five polygons in the feature A. In the shapefile there are more ...
0
votes
1answer
338 views

Extract points/pixels from raster based on % of intersection using PostGIS and PostgreSQL

I need to overlay a geometry (Shapefile of some city in UK) over a raster (grids of entire UK Map) and extract cells/pixels from raster that intersect with points of geometry. Current Implementation:...
0
votes
1answer
274 views

Intersect does not remove features, leaves them empty. Python

So I have a shapefile with 16k linestrings, and one polygon of a smaller area. My intention is to do intersection and keep only the lines or fragments of lines that lie inside the polygon, following ...
2
votes
0answers
307 views

Length of the boundary intersection between two polygons in R

I am trying to find the length of the border shared by two polygons. I have run cleangeo on these shapefiles. There were no flags that came up. I have looked through several other posts on the topic ...