Questions tagged [intersection]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
20 views

GPS points and streets intersection

My goal is to find an intersect between streets and GPS points in QGIS. The output should represent all of the GPS points (GpsLongitude, GpsLatitude) intersecting with streets. So basically in the end ...
10
votes
3answers
18k views

Calculate area of intersecting polygons in QGIS

I have two collections of shapefiles: 1 - postal codes, administrative and political areas 2 - various land use categories like parks & allotments, and points like trees I want to produce ...
0
votes
1answer
91 views

Extract by location works improperly in PyQGIS standalone script

I have been trying to extract polygons from one layer that intersect a polygon in another layer, and another extract that is disjointed, and looping this over several files organized by date. When ...
0
votes
1answer
2k views

Convert lat/lon into meters

I have a database of latitude, longitude and radius in the following form: 48180759,11518950,19.0 Both latitude and longitude are expressed in degrees but then multiplied by 1e6 (or 1000000). ...
2
votes
1answer
65 views

PostGIS Recursively Finding Intersections of Polygons to Determine Clusters

My dataset currently contains about 15.000 buildings which partially touch each other. The objective is that those which do touch should belong to a cluster. This "basically" works but the main issue ...
3
votes
2answers
184 views

Query Z at intersecting point locations from a MultiPolygonZ?

I create a MultiPolygonZ geometry with ST_DelaunayTriangles(). select st_setsrid( ST_CollectionExtract( ST_DelaunayTriangles( ST_GeomFromText('MULTIPOINT ...
5
votes
1answer
683 views

PostGIS multiple conditional statement on spatial join

I want to make a multiple conditioned spatial query in PostGIS 2.0/PostgreSQL 9.3., OS Windows 7. There are 2 tables, cadastre (Polygon) and roads (Linestring). Query: Select the sum (one number) of ...
3
votes
1answer
163 views

Trimming road end at the intersection?

I have a road centerline that I have used to create buffers that represent road area. Now I need to fix the intersections. As you can see on the picture, if the road end is touching the non-end of the ...
0
votes
0answers
50 views

Counting self intersection in same shapefile with ArcMap

Is it possible to count the number of intersections in the same linear shapefile with ArcMap 10.2? My license level is advanced.
0
votes
0answers
13 views

Overpass API: Find nearest intersection to lat/lng

I have a lat/lng pair, and I need to find the nearest street and intersection. For example: street X, corner with Y. I have Nominatim and Overpass running. My approach is: Get all ways near the lat/...
1
vote
1answer
43 views

Updating PostGIS layer with the result of intersection

I have a PostGIS layer which I would like to intersect with another layer (adjust its borders). The result of the intersection should then become the new PostGIS-layer (update the input layer). I ...
1
vote
0answers
16 views

Collision analysis with line diameter in QGIS

I have some lines representing pipes. They have Z value in the attribute. I need to check if they collide with each other. So I want to know where they intersect/collide in height. I was wondering if ...
1
vote
1answer
67 views

Slow processing in ArcMap

I am working with the vector files: Landuse classification shapefile for a certain area with 4 landuse categories - builtup, vegetation, water and open spaces. (area bounds = 95sqkm). I classified a ...
2
votes
2answers
48 views

Dividing Polygon into parts which have equal area using R

I have a Multipolygon and want to split it into parts with an equal area. How can I do it using R? my data: pol <-readOGR("/Users/Desktop/test.shp") pol_wkt <- wicket::sp_convert(pol) ...
0
votes
1answer
43 views

Stop SQL Server selecting outside buffer

I am trying to select all the parks within 200m or a railway. I can easily create and visualise the 200m buffer. However when i try and find only the parks that intersect it i get all parks returned,...
1
vote
0answers
16 views

Python shapely unary_union in JavaScript

I have seen turf.js has union() but this isn't equal to the unary_union. Or does anyone know what the unary_union actually does? Maybe I can try to recreate it, I have seen the source code in python ...
0
votes
0answers
21 views

Calculating how many acres fall within each 1 square mile section?

I am using ArcMap. I have a polygon shapefile of parcels that receive surface water from a water district. I also have a polygon shapefile of section boundaries. I want to calculate how many acres ...
0
votes
1answer
125 views

GeoPandas intersects doesn't find any intersection

I want to check if points layer that I have intersect with polygons layer that I have, as Boolean column in the points dataframe. I have two GeoPandas dataframes, the first one is many points and ...
2
votes
1answer
34 views

Find same names (duplicates) in one field using another feature class field

I have 2 tables (UML, PalmOil) and I would like to check record by record within PalmOil, if there are duplicates intersecting NameUMLwith NamePalmOil UML ID | NameUML | 1 NAME1 2 NAME2 3 ...
0
votes
1answer
63 views

Saving borough boundaries as MultiLineStrings or MultiPolygons?

I am creating a database in PostGIS and I have a column that will save the boundaries of boroughs. The app will later query the database, asking what points, lines or polygons are inside those ...
0
votes
0answers
26 views

Intersecting large shapefiles onto a grid in QGIS

I have 21 separate shapefiles containing data for Ireland as various polygons on QGIS 3.10. I'm trying to intersect each shapefile onto a 250m2 grid of Ireland so that I'll have 21 separate shapefiles ...
3
votes
1answer
35 views

Finding intersection errors based on attribute value using ArcGIS Desktop

I have a road network table in a PostgreSQL database. The table has a level attribute which marks if a road is on the surface or if it is an under- or overpass. I would like to check the topology of ...
1
vote
0answers
59 views

Changing the method of the area command from planimetric to ellipsoid in QGIS

I am trying to use the QGIS Field Calculator to calculate the area of a feature. When I do this, the area returned is calculated using the planimetric method. This differs to $area which uses the ...
0
votes
1answer
18 views

Intersection between two line shapefiles into Boolean in model builder (QGIS 3.6)

I have been trying to find intersections between two line shapefiles (roads and telecom cables). I've only been able to extract the lines where there is an intersection using the extract by location. ...
1
vote
0answers
18 views

Add the distance along the route for intersection points of polylines

I have two sets of polylines, illustrated in the screenshot (roads in purple and bridges in blue). I want to find the distance along the route for intersection point of each bridges from the starting ...
7
votes
1answer
221 views

Find the intersecting points of 2 polygons in Python

I am trying to get the intersecting point coordinates of 2 polygons in Python. For example intersecting points of the two polygons (polys2). For illustration purpose, I have marked the intersecting ...
0
votes
1answer
16 views

How to add intersection vertices to a ShapelyLinestring?

Assume that I have two shapely LineStrings. I want to find their intersection and then add the intersection point as vertices into the respective LineStrings. from shapely.geometry import LineString #...
1
vote
0answers
22 views

Speed up colouring of contour lines by creating new layer?

Related to my previous question: Colouring contour lines differently when they are inside polygons of another layer I would like to create a new layer based upon the result of the geometry generator ...
1
vote
1answer
28 views

Intersect function is generating different outputs in ArcMap and ArcPy

I am currently running the following code in ArcPy: in_dir_temp = "D:\\X\\" x1= in_dir_temp + "x1.shp" x2= in_dir_temp + "x2.shp" y1= in_dir_temp + "y1.shp" ...
6
votes
1answer
112 views

Colouring contour lines differently when they are inside polygons of another layer

I'm a complete noob to QGIS. I am working with New Zealand Topo 1:50.000 data from LINZ. I have snow polygons and over them contour lines. Where the lines cross the polygons I want to change the ...
23
votes
5answers
73k 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 ...
5
votes
0answers
79 views

How to create mutually clipping polygons

Is it possible to create buffers (in my case, but polygons in general also) that would create a boundary at their point of contact ? (so that they don't overlap on each other). Like this (from left to ...
6
votes
1answer
117 views

Efficient clipping of polygons by other polygons using R

I have a dataset with overlapping polygons. I would like the clip the overlapping polygons (which I need to retain as overlapping) to a boundary (another polygon). I am using sf and st_intersection ...
0
votes
1answer
34 views

How to keep NA values when using st_intersection in R

I have a polygon layer representing different site treatments and a point layer representing plots taken within those treatments and several control plots outside of the treatments. I need to extract ...
0
votes
1answer
26 views

Doing spatial join in QGIS between land parcels and zoning map, how can land use with biggest overlap give its attribute to parcel?

The parcel might have some small overlaps (or intersections?) from other land uses if the alignment of vertices is not perfect, I want to make sure the land use covering the largest part of the parcel ...
2
votes
3answers
438 views

Using PostGIS to generate a polygon representing the area shared by some (but not all) of a set of polygons

I have an application where several users submit polygons, and I am looking to create an aggregate polygon that represents a kind of average of their submissions. We use PostGIS for our spatial ...
0
votes
0answers
36 views

Creating an intersection (mix of offset and buffer) of 5m on each polygon feature in QGIS [duplicate]

I'm trying to reproduce the steps needed to aim this goal: Given a layer of polygons, I'm want to retrieve for each polygon which is at a distance less than 50m to a 2nd polygonal layer the only 5m ...
1
vote
0answers
34 views

Specific mixed feature between offset, buffer and intersection

I'm trying to reproduce the steps needed to aim this goal: Given a layer of polygons, I'm want to retrieve for each polygon which is at a distance less than 50m to a 2nd polygonal layer the only 5m ...
2
votes
1answer
32 views

Counting intersections between two line layers using pyqgis

I want to count intersections between two line layers using pyqgis. First layer connects two points (Memorylayer_VL / Connections), the second one represents streets (lines_layer / Streets). I need to ...
3
votes
2answers
604 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 ...
5
votes
2answers
1k views

adding multiple points to a linestring in PostGIS

Though a newbie to PostGIS, I'm having trouble solving something that I think should be farily straightforward. I have two linestring tables, both consisting of simple, 2-node line objects: one has ...
2
votes
1answer
637 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 ...
3
votes
2answers
135 views

Selecting lines intersecting lines on two points in QGIS 3.14

I have two shapes of lines: one A with exploded red lines, the other B with closed black lines. In a virtual layer I want to select the yellow ones (A) i.e. those having only 2 points in common with B....
0
votes
2answers
54 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 ...
1
vote
1answer
25 views

How to cut segments of a LinearRing with another Geometry using NETTopologySuite?

I have two linear rings, A (green) and B (red). I want to include all intersection points between two geometries in A. In fact what I need is (A-B)+(A.B) (or maybe just A+(A.B)), but those operations ...
2
votes
1answer
26 views

Calculating apportionment on the client-side in JavaScript map?

I have a set of census polygons (P1... P4) containing population information, and I'm building a tool using the ArcGIS Server JavaScript API whereby the user can draw an arbitrary shape: I need to ...
1
vote
1answer
34 views

Calculate intersecting areas for different groups of Multipolygon in QGIS

I have two polygon vector layers in QGIS: black buffers and land-use. I want to calculate the areas of the black polygons that fall within each of the different land-use classes (these are colour ...
1
vote
0answers
11 views

Tabulate intersection loses data rows [closed]

I am running the tabulate intersection tool for two vector shapefiles - lines and polygons. I am using it to calculate the length of various road classifications (i.e. arterial, collector, highways, ...
1
vote
1answer
42 views

Counting intersections between line and points using Field Calculator? [closed]

I'm using QGIS 3.12 and let's say I have a Layer that consists in Lines that represent 'Rivers', and I have another Layer that consists in Points that represent 'Bridges'. Can I count the number of ...
2
votes
0answers
17 views

QGIS 3.4.11: intersecting vector data/list all land cover classen

I have a question regarding QGIS 3.4.11. For research purposes I need to intersect two vector data - one polygonized raster (with land cover classes)/mulitiple polygons shp and one point shp (buffers ...

1
2 3 4 5
18