Where features overlap

learn more… | top users | synonyms

2
votes
1answer
28 views

Polygon intersection using QGIS virtual layers

I'm trying to intersect polygon geometries in QGIS by using a virtual layer: SELECT sbqry.rowid AS gid, sbqry.geom FROM (SELECT ST_Intersection(land_parcels.geometry, flood_zone....
0
votes
0answers
15 views

Geometry not M-Aware [duplicate]

I get error Reading Features... Cracking Features... Assembling Features... ERROR 999999: Error executing function. The geometry is not M-aware Failed to execute (TabulateIntersection). Failed at Tue ...
-1
votes
1answer
27 views

Finding common two vertices for two adjacent polygons and drawing line feature connecting them in ArcGIS for Desktop?

I need to find the common two vertices between two adjacent polygon and draw a line feature connecting these two common vertices: I have tried the following code but it is not working: polygon1 = ...
2
votes
0answers
47 views

QGIS Atlas zoom to intersection between two different layers

I have two polygon layers, one is about different land owners boundaries and is used for atlas generation, and the other is about forests inside each property. In atlas generation sometimes i want to ...
1
vote
1answer
306 views

Using M 'Measure' value in SQL Server 2008

MS Sql Server 2008 geometry type supports adding Z and M values to geometry objects, including linestrings. However, I cannot find any way to make use of these values, since methods such as ....
1
vote
1answer
35 views

Assign order number in which line intersect polygons

Is there any tool (plugin) for QGIS to assign order (sequence) number of line intersecting through polygons? At this moment I use a bit cumbersome solution which works but... I use Qchainage ...
1
vote
1answer
62 views

Geometry Object Intersect

I'm trying to intersect two polyline feature classes and generate a point output using geometry objects. Its intersecting almost 2 million features with 250,000+ features, so running it with arcpy....
1
vote
1answer
46 views

Split lines at intersections in ArcGIS

How can I split all the lines in a feature class where they intersect with a second line feature. I have a roads feature and a rail feature. I want the lines in the rail feature to split where ever ...
3
votes
2answers
135 views

Intersecting two polygons with same FID?

I need to perform an intersection between two layers, one is blocks and the other is buffers for each block which are of the same size of the road. Blocks and buffers share the same FID. What I'm ...
2
votes
1answer
56 views

How do I calculate the percentage of a line which falls in each of my multiple ring buffers?

I have lines around which I have created multiple ring buffers at several intervals. I have another line (call it the flight line) which in theory should overlap the original line. I need to work ...
4
votes
1answer
56 views

PostGIS Intersection weird behavior

I can observe a strange behavior with my PostGIS query. I am trying to accomplish the following: I have one polygon layer I have 2 different line layers layer with horizontal lines layer with 45° ...
1
vote
0answers
62 views

Find Properties of Nearest Line Segments to Point in Python

I have been trying to find a workable Python approach to finding nearest line segments to one (or more) points, and came accross @gene's solution to @RustyMagoo's problem here: from shapely.geometry ...
0
votes
0answers
34 views

Is it possible to intersect multiple polygon shapefiles to identify areas where two or more layers overlap?

I have 19 polygon shapefile layers, with some occasionally overlapping with one another. As a final output, I would like a shapefile that includes only the overlapping areas between 2 or more of these ...
0
votes
0answers
20 views

splitting multipolygon with line

I am developing a QGIS plugin in python using mostly OGR that clusters features based on several conditions. One of the steps is to split the different multipolygon features (blue selection in image) ...
0
votes
2answers
157 views

Intersection between line and polygon

I have 2 layers in OpenLayers: first is parcel layer (polygons) and second is railway layer (lines). They are already drawn and all I need to do is when I click on some line, to get intersection of ...
0
votes
0answers
11 views

Alignment in ST_Intersection with PostGIS raster

Trying to intersect two rasters, but they don't have the same scale. I have to do everything in one query. The query below gets the following error: The two rasters provided do not have the same ...
0
votes
1answer
24 views

How can I use ST_Intersection with two rasters?

I need to query all values in raster A which intersect with raster B. Found this, but it's not accurate, and I'm getting ERROR: column reference "rast" is ambiguous. WITH first AS ( SELECT id, (...
1
vote
2answers
43 views

Updating table setting a CASE with ST_Intersection

I add a new geometry column to the "mad" table so I could update it with the polygons from an Intersection with the polygons of the table "clip". Since my database is huge an it was taking a lot of ...
0
votes
0answers
31 views

Generate points layer at line intersection

I have a line layer that is actually buffer polygons converted to a line layer. I would like to generate points at all places where 3 or more lines intersect. I would settle for places where 2 or more ...
1
vote
2answers
717 views

How to intersect FeatureCollections in turf.js efficiently?

I've been playing around with turf.js and I'd like to use turf.intersect to intersect two datasets. My raw data are two polygon shape files so I converted them to geojson. I then tried to use turf....
1
vote
0answers
27 views

Joining polygons to points when the points fall in the intersection of polygons. QGIS

I am using QGIS. I am hoping to join a set of geocoded points to polygons in such a way that the new snapefile will be points that have a new field which lists the attributes of the polygon it lies in ...
4
votes
1answer
253 views

A faster polygon intersection tool than rgeos gIntersection in R?

I'm looking for a R function able to retrieve the polygon intersecting between two SpatialPolygonsDataFrame. I need to use R and the rgeos::gIntersection() is too slow in comparison with ArcGis...
2
votes
2answers
442 views

Create Intersecting lines and remove dangles

I have 3 cases shown in the image..In all of them i want to intersect the lines and remove dangles using python in Qgis python console so afterwards i can make a plugin for this work in qgis.In case 1 ...
2
votes
1answer
18 views

Dealing with spatio-temporal data: sp::over function in R

I have a dataset called carcass, which contains occurrences of livestock carcasses in Norway in the last 5 years (each raw corresponds to a single carcass, which has an ID number, along with longitude,...
1
vote
1answer
41 views

How to apply functions iteratively to SpatialLines in R?

Looking for a way to apply the 'rgeos::gIntersection' and 'rgeos::gDifference' function iteratively to SpatialLines, I created 3 SpatialLines as an example: #from the sp vignette: l1 = cbind(c(1,2,3,...
1
vote
2answers
64 views

Calculating relative share of area covered by water/percentage of polygon area that overlaps in ArcGIS for Desktop?

I need to calculate the share of the area within a 50km radius of major German city centers that is covered by water with either Arcmap 10.3.1 or Qgis 2.14. My plan is to use the Global Lakes and ...
1
vote
2answers
3k views

How to crop a basemap to a specific area on ArcGIS

I am a beginner using ArcGIS! I have a base map from ONS of the entire UK... and on another layer I have a boundary outline for the smaller area which I want to crop the base map to. I want to ...
0
votes
0answers
10 views

Allocating premises between postcode polygons and telephone exchange area polygons in QGIS?

I have telephone exchange areas as one polygon layer and postcode (codepoint) polygons as another. The postcode polygons have the number of premises in each postcode as a field. I want to estimate the ...
0
votes
0answers
10 views

MSL/AGL bounds checking in PostGIS for Line/Polygon Intersection

I have a table with Polygons and columns defining an optional upper and lower altitudes bounds and altitude type. The Type can be MSL, AGL, or NULL, if unbounded, and can be set separately for upper ...
4
votes
3answers
90 views

Issues in Intersecting Voronoi Polygons With Other Boundary Shapes (QGIS)

I'm having problems in intersecting Voronoi polygons with another shape. As the image shows, I want to clip the Voronoi layer at the red costal perimeter of the UK so that the additional surface area ...
2
votes
0answers
27 views

PyQGIS: intersection of one node layer with two polygon layers

I´m new with the use of PyQGIS and I´m working in a problem applied to a water supply systems modelling, where I need to distribute the water demand in about 5000 nodes (network junctions). I´m ...
5
votes
3answers
163 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 ...
1
vote
1answer
57 views

PostGIS ST_Difference function returns wrong geometry in result

I have a strange st_difference behaviour. I’ve got two overlapping lines (each one has two points), but st_difference result is complete geometry of the first line. The code to reproduce is here: ...
3
votes
2answers
111 views

GDAL/OGR ogr.Layer.Intersection fails when producing mixed geometry results

I am trying to intersect layers using the ogr.Layer.Intersection method, in Python. This works fine for pairs of polygons, but I have found intersecting two linestring layers containing matching ...
1
vote
2answers
61 views

Calculate area parts of polygon intersections

I have a problem of calculating area sizes of intersected polygons in postgis. I would represent the problem in an example (please see the picture). I have a gridsquare table with some attributes like ...
22
votes
6answers
5k views

PostGIS: Select features that do NOT intersect

This seems to me like such a simple question (and it probably is) yet I cannot seem to find an example that gives me the answer. Using PostGIS, I just want to select points that fall outside of ...
1
vote
1answer
42 views

Intersection with 2 KML files - newbie

I'm new to all this gis thing and I have this project for university where I'm trying to find the countries within a bounding box. So what I'm doing is, I have a set of coordinates that define a ...
-2
votes
1answer
35 views

Create a point at intersection

I want to create a point at the intersection of two lines as it appears on the attached image. The red line is the stream network, and the green line is the 600m contour. I use ArcGis 10.2.2
1
vote
2answers
48 views

Arcpy fail to loop between files in different directories

I want to perform a loop of intersections between different files in different directories. Here is my code: Intersects = ['Name1','Name2','Name3','Name4','Name5'] #Names of my files arcpy.env....
18
votes
8answers
613 views

How to fix thousands of small overlapping polygons?

I'm using ArcMap 10.3. I have a layer of different land use types. I found out that many polygons overlap each other and as a result the same polygon have two different land use types. Thanks to @...
2
votes
1answer
44 views

QGIS: intersect on a single shape file

I am using QGIS version 2.14.1 (Essen). I'm trying to do some spatial analysis, including an intersect between the same shape file. Basically I have a shape file with the geometries of all the events ...
0
votes
0answers
56 views

How to use the “geometry generator” to intersect geometries with an entire layer in QGIS?

In the "geometry generator" style in QGIS, it's possible to define an intersection for a specific geometry of an other layer like this: intersection($geometry, geometry(get_feature( 'other_layer_name'...
2
votes
1answer
88 views

Get intersection of circles shapely

I have a List of Points which I transform to circles. Code from here circles = [Point(random.random(), random.random()).buffer(random.random() * 0.1) for i in range(3)] I want to know which circles ...
4
votes
1answer
1k views

PostGIS intersection function

I have a problem with intersection function. I built my query following http://manual.linfiniti.com/en/postgis/geometry.html, 5.7 section. I made my clip object, a red linestring frame: But after ...
0
votes
4answers
91 views

Count Points on Points using arcpy

I have a point feature class which contains features scattered around the city, with some of the points intersecting other points. These intersecting features are correctly different features (they ...
1
vote
1answer
35 views

How to check point intersection with bbox made from two points?

I have two points which represents lower left and upper right point of BBOX. I have one point which SHOULD be somewhere inside and I want to test it. I have all of them as 'geometry(POINT, 4326)' ...
5
votes
4answers
18k views

QGis: 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 5 polygons in the feature A. In the shape file there are more features....
0
votes
1answer
42 views

Tabulate intersect in R

I would like to get the areas related to the polygons resulting from the intersection between two SpatialPolygonsDataFrames: 'A' and 'B'. SpatialPolygonsDataFrame 'B' has 3 different 'classes', which ...
0
votes
0answers
47 views

Can turf.js be used to find and repair bad geojson geometry?

Methods: I'm currently using turf.js for geoprocessing as part of a broader mapping project; my workflow looks like this: Pull geojson of census tracts for an entire county Pull geojson tiles of ...
3
votes
3answers
88 views

How to calculate the difference in area between two overlapping polygons?

I have two polygons that are overlapping each other. I need to calculate the area that's created in between these overlapping polygons. I used the "intersect" tool but it's not giving me the exact ...