Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [intersection]

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

0
votes
0answers
9 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
37 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
55 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
42 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
97 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
33 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
28 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
41 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
41 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
380 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
71 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
8 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
23 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
50 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
28 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
28 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
44 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 ...
0
votes
0answers
18 views

How to consider current and next year in google earth engine?

I follow this indication to write this script Intersect of raster image on Google Earth Engine My problem: I would like to combine Hansen dataset with other two different maps (b and c) and finally I ...
1
vote
0answers
19 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
49 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
38 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
27 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
89 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
137 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
703 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
60 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
37 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
59 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
42 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
58 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
61 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.
0
votes
0answers
79 views

How to update column based on data from another table (Mapinfo Pro)?

What I want to do is update column (Table A) by values from another table (Table B) using condition intersects. There are few objects in table B which intersects one object from table A. When I try to ...
0
votes
2answers
41 views

Identifying which lines cross building polygons using ArcMap?

I have the following lines generated from coordinates with XY to Line. I would like to select and delete the lines which cross and are contained within the buildings. I need to do this to find the ...
0
votes
1answer
35 views

How to snap to intersection of lines with Classic snapping?

The question is as simple as the title. When I am in Edit session with Classic Snapping enabled and want to snap to an intersection of lines, it does not work. In order to achieve this, I have to ...
2
votes
2answers
102 views

What is the proper name for the “Venn diagram” of a set of geometries?

Sometimes, you have a set of overlapping geometries, and you want to generate an output like this: Image taken from this answer. The resulting polygons have no overlaps; each region of space is ...
3
votes
0answers
63 views

Unable to compute intersection between two polygons using PyQGIS?

I have two polygons in different layers. I am trying to find the intersect between the two polygons. Below a figure showing my test case. I initially wanted to find the intersect between the green ...
1
vote
0answers
15 views

Deleting vector layer within buffer? [closed]

I am trying to delete points from a shapefile with vector information that intersect a buffer that was created. I have tried using the intersect tool, but that only highlights the information that ...
0
votes
1answer
112 views

Intersect of raster image on Google Earth Engine

I have this situation on Google Earth Engine: 3 different images, each of these are made by 17 different bands. These bands represent the different year. I call these images with these letter: a,b ...
-2
votes
1answer
38 views

Filter four features from a vector shapefile to create a new layer to perform buffer, intersection and union on it, in QGIS 2.18?

From a dataset that contains points of interest defined by type of object with four different features, I am trying to distinguish the features to perform different analysis. Thought I had to filter ...
3
votes
0answers
76 views

Intersection and area calculations in geographic vs. projected coordinates

I think one should do intersection calculations when layers are in the same coordinate system, and one should do area calculations in the appropriate projected coordinate system. The order matters, ...
0
votes
2answers
115 views

Faster alternative to `Intersection` in QGIS to just retain overlapping features without cutting

I want to keep only the features from my data layer (polygon A) within my area of interest (AOI). If I compare two methods to perform that, the processing time is very different. Intersection tool I ...
1
vote
1answer
64 views

Why does shapely intersection of two lines change behaviour when fiona module is imported?

I am having issues with calculating an intersection of two LineStrings using Shapely. Such an intersection should return a point, yet my code returns a LineString. I found a simple example of an ...
1
vote
0answers
27 views

How to output file with all overlaps between two Shapefiles - Neighborhood/Zip Codes [closed]

I have a pretty specific problem I would like help with. I have two shapefiles: neighborhoods from https://www.zillow.com/howto/api/neighborhood-boundaries.htm zip codes from the census bureau: ...
1
vote
0answers
170 views

Comparing speed of Spatial Analysis with GeoJSON versus shapefile in QGIS?

I have a large dataset that I want to perform spatial analysis on in QGIS. Specifically, I want to perform a polygon intersection analysis between two polygon layers. Given the size of the dataset ...
1
vote
1answer
130 views

How to find intersection polygons in single layer on QGIS version 3.4.2?

I have polygons intersection in single layer. I want polygon in yellow frame and use polygon intersection to calculate area , how to do this?
1
vote
0answers
77 views

Query for finding intersection points between adjacent features within a buffer tolerance - PostGIS

I've developed the queries to find out intersection points (within 0.2 buffer) between line and polygon and also within adjacent polygons by using PostgreSQL 10 and PostGIS 2.4 database. Line data is ...
1
vote
1answer
45 views

PostGIS ST_Intersects result is ignored by where condition

I have a simple query filtering by st_intersects function finding all lines intersecting with a polygon. select *, st_intersect(graph_line, st_geomfromtext('POLYGON((261 156,148 452,333 507,566 199,...