Where features overlap

learn more… | top users | synonyms

1
vote
2answers
41 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
25 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
665 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 ...
1
vote
0answers
22 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
221 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
413 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
15 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 ...
1
vote
1answer
38 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 = ...
1
vote
2answers
48 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 ...
1
vote
1answer
298 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 ...
0
votes
0answers
9 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
9 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
74 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
22 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
161 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
48 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
88 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
55 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
33 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
34 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 ...
18
votes
8answers
543 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
44 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( ...
2
votes
1answer
57 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
86 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
33 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
16k 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 ...
0
votes
1answer
31 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
32 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
75 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 ...
1
vote
1answer
39 views

How to find the area with most intersection for buffer regions?

Find the area with the most intersection This question relates to previous question asked - How to find the intersection areas of overlapping buffer zones in single shapefile?. I tried to ...
2
votes
0answers
46 views

Identifying lines of one feature class that touch another feature class with their endpoints in ArcMap? [closed]

I want to find out and select the features of one feature class, which both endpoints touch another feature class. In the picture above it would be the left pink line which touches feature of ...
2
votes
1answer
116 views

How to find the intersection areas of overlapping buffer zones in single shapefile?

Find the intersections of the buffer zones I found an example where they tried finding the intersection of two different shapefiles -Intersect Shapefiles using Shapely. I've tried to adapt my code to ...
9
votes
4answers
5k views

Distinguishing lines that intersect from lines that touch?

How do I distinguish between these cases in ArcGIS 10? Case 1: Both endpoints of a line touch another line Case 2: Both endpoints dangle over the lines it intersects I am looking at the Trim Line ...
5
votes
1answer
107 views

How to get smallest line segments from intersection + difference of multiple overlapping lines?

Inspired by this question, and this excellent answer. I have multiple overlapping lines and want to extract the complete intersection of them. So from this sample data SELECT id, geom INTO stackex ...
1
vote
0answers
114 views

QGIS 2.8.2 - Using spatial expressions in labelling

I'm creating some hard copy map output from QGIS. I want to use an expression to suppress labels for some features on a layer when another feature from another layer intersects with those features. ...
1
vote
0answers
51 views

Select Layer By Location (Management) gives different result in ArcPy and ArcMap?

I have two line Shape files. When I use the Select layer by location tool to select two intersecting lines, it works fine and selects only lines which are actually intersecting. But when I use this ...
0
votes
0answers
14 views

Select simple intersection

Using PostGIS, I want to select avenues that intersect trajectories (linestrings, which I want to add a ST_Buffer). I'm thinking that maybe some syntax is incorrect... I tried this, but do not work: ...
2
votes
0answers
44 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 ...
2
votes
3answers
2k views

How to determine intersection between geojson feature and given coordinates?

I'm overlaying a leaflet map with features of geojson, fetched with d3 and added as SVG elements to the DOM. My geojson contains too many features to render at once, so my goal is to add to the map ...
0
votes
0answers
44 views

Intersect two same extent shapefiles, but got error 000117

I have used intersect(Analysis Tool) to intersect two polygon layers. But I got error 000117 after ran intersect tool. Same error message happened when I use clip (Analysis Tool). The answer and two ...
0
votes
1answer
40 views

Unexpected results when using ST_Intersection for polygon features

I've to create a spatial intersection of two tables (poly_a and poly_b) containing polygon features. Is there any way to remove unexpected linestring results? CREATE VIEW poly_intersection AS SELECT ...
2
votes
1answer
30 views

Split No Longer Working When Creating Enclosed Polygons

I have been using ArcGIS Pro to create a large polygon feature class. Some of the polygons have enclosed areas I need to remove. I have been using the Split tool under Modify Features and it has ...
1
vote
0answers
22 views

How do I find whether a line is intersecting a circles with small radius on earth?

Algorithm mentioned in how-to-pick-up-line-segments-which-is-inside-or-intersect-a-circle seems to be working fine for circle with radius > 50 miles. But when coming to circles with radius < 50 ...
1
vote
1answer
21 views

Counting points on a line or polygon using join: number of points are calculated incorrectly [closed]

I am attempting to count the number of stream crossings within approx. 100m segments of a trail. I used this article to get quite close with join: ...
1
vote
2answers
83 views

How to find the intersection of three polygon layers in ArcGIS?

I have three data sets of San Francisco, TerraSAR-X, ALOS-PALSAR, Radarsat2. I have extracted KML files using Envi Sarscape. In order to find the intersection of these areas, I have converted ...