Questions tagged [intersection]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
24 views

Get just not null values from intersection of shapefile and buffer with Python

I generated a buffer using this question: Creating buffer circle x kilometers from point using Python? I did an intersection with this buffer and a shapefile using: intersection_origem = shp_geom....
1
vote
1answer
49 views

Finding shortest distance from point(s) to number of polygons at varying angles using shapely?

My aim is to calculate the distance a point is from land in Python, trying to replicate the functionality of fetchR. Given an origin and distance, I create shapely LineStrings which radiate out from ...
2
votes
1answer
31 views

Select polygons which do not contain points

I am able to use the intersect tool to find polygons which overlap with points however I would like to find polygons which do not overlap with any points. I think the Symmetrical Difference Tool ...
1
vote
1answer
44 views

How to get only Intersected polygon in Open Layers 3

I am trying to draw a line on polygon which I want to split, Example: I want to split 616 polygon as show in image with below code when I tied to get intersected polygon I am getting 616,617,615 ...
2
votes
1answer
42 views

ArcGIS Intersect Tool not splitting lines as expected?

I performed Intersect Analysis on one polygon shapefile and one polyline shapefile. I didn't specify any tolerances, and both SHPs were projected into the same UTM before performing the analysis. ...
0
votes
1answer
35 views

GeoPandas intersect not working as expected

Using GeoPandas 0.4.0 with Python 3.5, I'm finding that geopandas.intersects does not behave as I expect it to. For example, a buffer around Switzerland does not appear to intersect with neighbouring ...
3
votes
1answer
79 views

Getting Unique Intersections of Multiple Polygons Efficiently in Python

I would like to get a list of all polygons that are intersections of other polygons. However, that list of intersections cannot self-overlap. For example, if I have a triple Venn diagram, I would ...
4
votes
3answers
136 views

Intersect multiple layers at once QGIS

I'm very new to QGIS and am just learning the intersect function. I have about 10 polygons that overlap (not perfectly) and one layer of about say 15 points. I want to know with which of the polygons ...
0
votes
0answers
24 views

delete pixels intersecting vector border

I have a two files : vector file : polygon (red) raster file : got by clipping a raster file using this vector file (Green) I want to delete pixels that intersect with the vector border (I want to ...
1
vote
0answers
20 views

Query on line intersection

I have used the line intersection tool in QGIS 3 and I have used vector id for example: vector 1 intersects with 3 and the point (id 1) but also repeats the same imformation in reverse saying vector 3 ...
3
votes
2answers
139 views

Creating dummy variables between layers based on their geometries in QGIS

I have the following data: administrative boundaries for the United States: https://biogeo.ucdavis.edu/data/gadm3.6/shp/gadm36_USA_shp.zip vector layer containing coastlineshttps://www....
1
vote
1answer
55 views

Union, merge, intersection, join layers - logical difference and clear explanation for QGIS

I note that there are answers available on the difference between join and merge (e.g., Difference between 'join' and 'merge'?) that link to ArcGIS resources as a reference. However, I ...
1
vote
0answers
13 views

Creating heatmap for spatial overlap of features (or buffers of features) across different layers using ArcGIS Desktop? [duplicate]

I have several layers of features. For example: Layer1 -> set of polygon features Layer2 -> set of point features (with buffer around each feature) Layer3 -> set of polyline features (with ...
1
vote
1answer
37 views

Polygon creation fails: “The feature cannot be added because it's geometry collapsed due to intersection avoidance”

From one moment to the other I cannot create any polygon anywhere on the map, independent from the layer I am in, even if I create a new shape-file. I have checked all snapping options, enabled them, ...
1
vote
2answers
77 views

Problem with intersecting lines over a polygon layer in QGIS

I have a shapefile with lines (a road network) and I want to intersect it over a polygon layer in order to finally have a polygon layer (each cell has an ID number) with the intersected lines for each ...
0
votes
0answers
32 views

Merging layers to intersect and count (tally) multiple fields in QGIS?

My question is similar to Performing multiple layer intersection in QGIS? However, there are a few differences. I have run a test analysis on a dummy data set and cannot replicate the result with my ...
-1
votes
1answer
31 views

Creating point feature at intersection of two lines using ArcGIS Desktop?

How do I create a point feature at an intersection of highways and trails? I am using ArcGIS Desktop 10.5.1.
0
votes
0answers
23 views

Spatial intersection of features (Oracle Spatial) with a line stored in a local gml file?

Interesting sites are stored as polygon features are stored in an Oracle Spatial read only dB. I have a local GML file containing a line (EPSG:31370 - corresponding to a trajectory over a couple of ...
-2
votes
3answers
39 views

How do I generate points at the intersection of the line with each polygon?

I need to generate points in the places where the line shape cuts to the shape of polygons.
2
votes
1answer
68 views

Find intersections of roads in QGIS

I want to get points at the intersections of the road network. I have a single shapefile. It contains 100k features and some of them continue each other. As can be seen from 2 pictures above, the ...
2
votes
0answers
44 views

Calculating share of overlapping areas via aggregate function in a virtual field

I'm trying to calculate the shared area for several overlapping areas. I need a dynamic solution in order to get automatically calculated statistics when drawing new polygons. The target area is in ...
2
votes
1answer
110 views

How to dissolve shared line segments together in QGIS?

I have 2 features which are lines on a single layer re-projected to ESPG:2039. I wish to combine them into one MultiLineString but in a way that their common part is merged to a single LineString. I'...
2
votes
1answer
34 views

Counting the number of shared point within polygons [closed]

I have a set of points on a map, each with a unique location id, with one or more points within a number of polygons with unique polygon ids. I am trying to associate each location id with the number ...
2
votes
1answer
29 views

I have the following multilinestring, and I am looking for finding the intersection between each pair

I have a pair of lines, which I like to find the intersect of each of one them with each other. I know for two lines I can do the following: from shapely.geometry import LineString line1 = ...
3
votes
1answer
79 views

geopandas.intersects() over each row

In trying to answer Writing selected features to shapefile using OGR and Python? I ran into problems with geopandas.GeoSeries intersects methods. I have the following line and polygon: import pandas ...
0
votes
2answers
66 views

Identifying polygons that intersect with another polygon using ArcGIS Desktop?

I have two polygon layers, a vegetation layer and a treatment layer. I want to add a field to the attribute layer of the vegetation layer to indicate if any part of the polygon has been treated (...
4
votes
3answers
489 views

Identifying polygons that intersect with another layer using QGIS?

Using QGIS, I have two polygon layers, a vegetation layer and a treatment layer. I want to add a field to the attribute layer of the vegetation layer to indicate if any part of the polygon has been ...
2
votes
2answers
74 views

Spatial joining two line layers and checking intersection in PostgreSQL/PostGIS

I have two line layers in PostgreSQL/PostGIS. I want to the select data which are not intersecting. When I am writing this query it is taking a lot of time. How can I make it faster and see the result?...
0
votes
0answers
9 views

Seeking approach to simulate taxi on NYC map data? [duplicate]

I am new to GIS field. As part of my class project we want to simulate 100-1000 taxi agents on NYC map.We plan to write java application which fetches road network information and moves these agents ...
2
votes
1answer
26 views

How to obtain statistics from an intersection?

I am new to the earth engine. My question is on how to obtain statistics from the overlapping region of two areas. I have uploaded a table that contains the locations of river basins (https://code....
1
vote
1answer
87 views

Intersection function returns multiple coordinates

I am trying to find intersection vertices of two polygons defined below PG = Polygon([(0.0,0.0), (0.0,4.0), (2.0, 0.0)]) QG = shapely.affinity.rotate(PG, 10.0, origin="centroid") print(PG....
0
votes
1answer
61 views

Find intersection vertices of two polygons

I have defined two polygons and I can find whether they intersect or not. I need to find the intersection vertices if they intersect or not ? How can I do that ? p1 = Polygon([(0,0), (1,1), (1,0)]) ...
0
votes
1answer
19 views

Data of left turn signal

I wonder if there is any publically available dataset that has left turn signal information (say, in the U.S.)? For example, in right-hand traffic countries, major intersections may have a left-...
0
votes
1answer
31 views

AGOL Web App - user selects a polygon and finds Web Maps that intersect it

I'm working on an ArcGIS Online Web App. Basically what I want the user to be able to do is: Select a state from a basic US state polygon map From that state selection, the user then chooses a ...
3
votes
1answer
51 views

Getting attributes of intersected polygons using PostGIS

I have a PostGIS table containing about 50,000 polygons and some of them are overlapping. I'm trying to use PostGIS to return a table with all the Intersecting parts of the polygons along with some ...
1
vote
0answers
27 views

Check point in line segment not accurate in Shapely

I use Shapely and I've run into an issue where I can find the intersection of two lines. However once I have the intersection point, I don't seem to be able and cross-reference that it belongs in both ...
0
votes
0answers
53 views

Using ST_Intersection with three or more tables

I'm trying to achieve a multiple-table intersect with PostGIS while retaining the geom for each shape. For any given property shape, I want individual cuts of that shape split apart by different ...
0
votes
1answer
40 views

Calculating the area of one layer inside area of another layer QGIS [duplicate]

I am currently looking at some Marine Protected Areas (MPAs) in Madagascar, and am trying to work out the percentage reef cover inside an MPA boundary. For example (in the picture below), I have the ...
0
votes
1answer
33 views

Intersection of two sets in openstreetmap to find parent of any area

I am trying to determine what the parent administrative area of any given area. The idea is that the closest parent is the administrative area with the highest/deepest admin_level that is shared as a ...
1
vote
1answer
105 views

How to find lat/long of point knowing cross track distance

Knowing lat/long of point A , B and C. And knowing cross track distance (CTX) from point B to point D. How to find lat/long of point D?
1
vote
0answers
38 views

Selecting only coinciding points

I have a lot of points in the same layer. Many of these are coinciding. I only want the points that coincide slected or the points that don't coincide (then I can just reverse the selection). This is ...
3
votes
1answer
157 views

Use intersection in field calculator

I want to use the tool intersects in the field calculator. If the condition is true, I want to set a result field to a specific number. The field calculator doesn't accept my expression but I can not ...
2
votes
1answer
1k views

Fast intersection of a list of polygons with a bounding polygon using Shapely

I have a list of Shapely polygons which I need to find the intersection of each with a bounding Shapely polygon. Not all the polygons in the list cross the boundary of the bounding polygon so I only ...
2
votes
1answer
62 views

Getting the percentage area of intersecting polygons [closed]

I have the polygons for census tracts within New York City. I also have the polygons for the parks. What I would like is % of the census tract area, with an added 400 meter buffer, that is park. I'm ...
2
votes
1answer
44 views

return only one value per point from ST_Value() - currently returning 2 values for some points

I'm testing a point sample query with a subset of 5 points on a single band elevation raster. Using my usual approach (which I've previously not noticed this behavior), I get six records returned: ...
1
vote
0answers
69 views

Python script creation, intersection Points and polygons [closed]

I have these two shapefiles, one with polygon geometry and the other with point geometry, that I am working on in QGIS. I want to create a script using Python to see the intersection of points and ...
2
votes
1answer
48 views

Check 2 Extents with Disjoint in Arcpy - Wrong Result

I'm now facing a problem using Disjoint in Arcpy to check if 2 extents are intersected. I have 2 extents like this: Ext1: 33206887.500051 5890587.49999999 33460887.500051 6060887.49999999 NaN NaN ...
0
votes
0answers
15 views

Adding vertices to polyline [duplicate]

I have a polyline shapefile with multiple features. I also have a point shapefile containing only points that are on the lines. What I'm trying to do is to add a new vertex to every line where it ...
2
votes
0answers
79 views

T-SQL Invalid Geometry Created by Intersection

I have two sets of geometries (A and B) in SQL Server 2016. I want to determine the overlap areas of those geometries from set A that intersect set B. Most of the time this code works: SELECT a....
1
vote
1answer
78 views

Styling road intersections

I have two layers with roads of different types I wish to have pretty intersections, as here Symbol levels work only for features in single layer.