Questions tagged [intersect]

Use for questions about the ArcGIS Intersect tool

Filter by
Sorted by
Tagged with
7
votes
1answer
4k views

Generate rectangular fishnet or vector (grid cells) shapefile in R?

I would like to create a polygon of 20 x 10 degree graticules from 180, -180 to 90, -90 degrees. To do this in QGIS, I followed: Vector creation tools > Create grid [Grid extent: -180, 180, -90, 90]...
6
votes
2answers
3k views

Calculating proportional area of polygon within another layer's polygon using QGIS?

I have two polygon layers, model and ntem, whose features overlap and intersect one another. I would like to calculate the proportion of the area of the model polygons which fit within each ntem ...
5
votes
1answer
640 views

GDAL Intersects() not working as it should?

Doing a topological analysis in GDAL/OGR returned an unexpected result. When I started investigating, it seems possible that the Intersects() method is badly implemented. Specifically, points along a ...
4
votes
3answers
469 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 ...
4
votes
3answers
262 views

Using postgis to flatten all polygons in table

I have a table with many polygons. The polygons all have a name and a value. I want to flatten these polygons so that each polygon border remains as border to the resulting polygons. Instead of ...
4
votes
2answers
80 views

Calculating number of polygons or points that a set of polygons intersect with in ArcGIS

I have a set of ~100 polygons in ArcMap 10.2.2 that were generated using the minimum bounding geometry tool. I have a second set of ~800 polygons generated the same way. What I need to know is for ...
4
votes
0answers
27 views

How to add raster value with specific equation?

I am trying to develop a raster layer with the interference of streetlight in this example: As you can see there are multiple buffer rings around a point layer. I actually want to transform this ...
4
votes
0answers
285 views

Counting nodata and data pixels using PostGIS

I'm using PostgreSQL 9.2.4 and PostGIS 2.0.3. I have some raster layer and I'm trying to get the count of all pixels (including nodata), cliped by polygon. Raster was imported by raster2sql: ...
3
votes
1answer
5k views

Difference between Crosses & Intersects - Shapely (Python)

I have two questions : I have some lines (eg: road network). I want to find coordinates of each junction. Should i use crosses or intersects function from python's Shapely module? They are giving ...
3
votes
1answer
1k views

Speeding up intersect query in PostGIS?

I would like to count the number of points that intersect with a list of polygons. The polygons are very complex (county/state boundaries). I'm using this query: SELECT gid, county_name, (...
3
votes
1answer
2k views

Buffer and intersect using turf.js and leaflet

I have 2 geojson feature collections in leaflet. One of them is road and the other one is parcels. I want to calculate buffer for road and then intersect this buffer layer with parcels. How can I do ...
3
votes
1answer
181 views

Count the number of buffers intersecting with zip code polygons

I have a short R script in which I read two sets of data: a shapefile showing the zip codes of a European country an Excel showing multiple points coordinates throughout the country I used the ...
3
votes
1answer
114 views

Buffer 1 to 1 relation in QGIS?

I have 2 layers ( geometric type - point), let's name it layer A and layer B. I need to find which points from layer B don't have their equivalents points from layer A. So i`ve made 10 meter buffer ...
3
votes
1answer
637 views

Checking if two WGS84 lines intersect in JavaScript

I am trying to work out given two GeoJSON lines (WGS84), if they intersect (i.e. cross one another). Let me give some pseudocode to illustrate: // Providing Line 1 = lon1, lat1 and Line 2 = lon2, ...
3
votes
0answers
53 views

Specific intersections [closed]

I have a polygon layer that looks like this i.e. they overlap. When I run an intersection between the layers, I get more polylines i.e. for the circle on the top, the three lines get split because of ...
3
votes
1answer
125 views

Determining validity of odd polygon using ArcObjects?

Using ArcGIS 10.4.1 a user in our department created a polygon and saved it to a feature class as shown below. The area covered is correct as at times it could overlap itself. I have calculated the ...
3
votes
0answers
61 views

Dynamic filtering based on selected Layer in ArcGIS Desktop?

I am not sure this is even possible, I have about 38 geographical polygon layers showing areas of the UK, I also have a query (point layer) that shows all of the offices around the uk. What I am ...
3
votes
1answer
439 views

Pyshp draws polygons out of order after intersection of two shapefiles

I have two shapefiles. One contains electoral borders but not coastline and the other contains provinces and coastlines. I am plotting the electoral districts using Python's pyshp and filling in the ...
2
votes
2answers
864 views

Finding overlay percentage between two polygon shapefiles

I have two layers that I am currently working with: 1. Parcels/property boundaries and 2. Wetlands I am trying to determine the parcels that have 0 wetlands and then for the parcels that do have ...
2
votes
1answer
2k views

Raster intersect and gIntersection give different results in R

I'm trying to clip a polygon shapefile (species distribution) with another polygon grid. The goal is to calculate the area occupied by the species within each grid cell. I was able to do it with ...
2
votes
2answers
583 views

Easiest fix for polygon corner error in QGIS?

I am new to QGIS. What would be the easiest way to fix this apparent boundary error in a shapefile that I have downloaded? I believe it was intended for these lines to intersect as a 4-way corner, ...
2
votes
1answer
451 views

Cluster analysis using buffers and polygon features (NOT layer)

I have a point-based vector layer, where each point represents a road accident. I am trying to write a function that: Loops through my accident layer creates a buffer, of a given radius, around each ...
2
votes
2answers
2k views

Intersect with Raster data

I have ArcGIS 10.2.2 I have raster data over a whole state but am looking at just analyzing a specific county. I downloaded county polygons to overlay over the raster data to determine the area I ...
2
votes
3answers
190 views

Clip/Intersect but not split features that are on the border

When I use the clip or intersect tools in QGIS it splits the polygon clipper features that are on the border of the clipper, which produces polygons that are only part of the real polygons. Is there ...
2
votes
1answer
34 views

Intersect overlapping entities and their attributes

I have a shapefile containing 6 classes of polygons on QGis 3.14. Some of these polygons overlap each others, but they're not geometry errors or duplicates, just polygons with different attributes. ...
2
votes
1answer
51 views

Identifying intersections in ArcPy?

I have two shapefiles: one containing a single polyline feature, and the other containing a number of polygons. I'm trying to use ArcPy to identify which polygons are crossed by the line, and then ...
2
votes
2answers
367 views

Combining two spatial tables in PostGIS

I have two PostGIS tables with geometries. One with number attributes and one with letter attributes. Each table has two features (rows). I would like to apply a operation on both stables so that I ...
2
votes
1answer
25 views

Strange “inFeatures” value for Intersect tool

I am rather new to Python but I am trying to define a function that will take the output of one of my prior functions (5 buffered stream files) and intersect each unique streamBuffer file with an LULC ...
2
votes
1answer
124 views

Intersect outputs shapefile with null values

I have a model that iterates through a folder of field boundaries (polygons) and produces an intersect against a shapefile of points. The output is then a point shapefile for each boundary. Note: ...
2
votes
2answers
2k views

Intersecting linestrings with polygons in Python [closed]

I have two shapefiles, one is a 1x1 km grid displayed as polygons and the other one is a street network displayed as linestrings. I want to cut the linestrings where they intersect the boundaries of a ...
2
votes
1answer
434 views

Assigning Values from Raster Layer to Vector Layer in ArcGIS Desktop?

I'm using ArcGIS Desktop 10.3. I have two layers. The first is a raster layer representing density of birds over a given area. The second layer is a polygon layer representing property boundaries, of ...
2
votes
2answers
741 views

Clipping a polygon shp by one large polygon

I've seen similar answers to this question on so many forums but nothing seems to work. I have one large polygon (a country boundary) with another polygon layer that contains thousands of smaller ...
2
votes
1answer
7k views

Intersection of a raster and polygon in ArcGIS 10.3

I have two data sets one raster and one polygon. I am interested to see learning the area where the two overlap. I was thinking that I could use the intersect function, but since one of the layers are ...
2
votes
2answers
46 views

Seeking QGIS tool for auto correcting address ranges at new intersections

I do public safety GIS, which is primarily centerline work. A tool that I have found indispensable when creating intersections where I don't have exact address point data is the Intersect Line tool ...
2
votes
1answer
122 views

Selecting points within fishnet grid cell with criteria of at least 3 unique values using ArcGIS Desktop?

My goal is to create a raster from points with values based on at least 3 unique IDs within a cell. Cells that had fewer than 3 points with unique IDs will have value NA. See below for clarification. ...
2
votes
1answer
207 views

Selecting polygons which contain majority of area from intersected layer by polygons using QGIS?

I have two polygons layers (a squares grid (blue in image) and a rectangles grid (green in image)). Because the different polygon sizes, different squares overlap with a single rectangle. I need to ...
2
votes
1answer
285 views

Cutting line features using polygons in one step?

I would like to cut a line layer using a polygon in one single step in QGIS. There is a solution to do that in more steps: First, using Intersect function, line portions that fall within the polygons ...
2
votes
1answer
186 views

Combining several layers in ArcGIS Desktop using Intersect gives WARNING 000117: Warning empty output generated?

I'm using ArcGIS 10.3 I have the following 4 layers (all are polygons) You can find these layers in this link DATA Sites: 5 subcatchments (Site1 to site5) and site 5 combine all subcatchments ...
2
votes
1answer
498 views

Batch intersect and multiprocessing with arcpy

I admit what I am working on is way over my head, especially as I've only been dabbling in python for a few months. I am attempting to write a script that allows me to use Intersect analysis on about ...
2
votes
2answers
140 views

Merging attributes from point with containing polygon?

I need to develop a process for merging the attributes of each point in a SDE feature class with a polygon in a SDE feature class that contains the point to create a third feature class. The third ...
2
votes
1answer
332 views

Why does spatial join on geodataframes return empty result?

I have two geodataframes that I want to perform a spatial join on; one is points, one is polygons. They are both dtype: int64. They both have .crs = {'init': 'epsg:4326'}. I have verified both of them ...
2
votes
1answer
59 views

Determining if raster can be clipped with polygon using ArcObjects?

Using ArcGIS 10.4.1 ArcObjects with geoprocessing. I have an input feature class with 100s of polygons and also one raster. I iterate through each polygon and clip the raster and then do additional ...
2
votes
1answer
31 views

How do you account for no geometry at location of overlay during Intersect Analysis?

I have a script that takes a user-provided lat/long, plots it as a point and performs overlay analysis using arcpy.Intersect_analysis() in order to acquire attributes of interest such as land ...
2
votes
1answer
228 views

ogr2ogr sql - returning points from one sqlite dataset that intersect with another

I am having great difficulty with the simple st_intersect command when applied to two datasets containing points, derived from the same source. I am using osgeo4w gdal 2.1.3 at command line. My aim ...
2
votes
0answers
109 views

How to project coordinates in spatialite using PHP?

I'm using a spatialite database in a PHP program and I need to simulate an "identify" on a polygon layer (EPSG 32632), using point whose coordinates are dinamically generated. I know that this query ...
2
votes
0answers
2k views

Clip shapefile with shapefile

There are two shapefiles. One is a compilation of municipalities on the coast with borders extending into ocean. The second shapefile is a coastal border. I'm trying to clip the municipality ...
1
vote
4answers
1k views

Using Intersect to find where line crosses itself in ArcGIS Desktop?

Can I not generate point features where a line feature intersects itself by using the Intersect tool? I try using it with just one line input but when I run it I get a warning saying the output ...
1
vote
1answer
141 views

Batch updating point attributes based on values of underlying polygon using ArcGIS Desktop?

I have a points shapefile with a blank field. I want to populate this field with an attribute obtained from another underlying (polygon) shapefile. I can do this for a single record easily using ...
1
vote
2answers
552 views

OGR - Error trying to intersect two layers

I'm trying to intersect a buffer with a point shapefile using OGR, but when I run it, I get this error: Traceback (most recent call last): File "C:\Users\xxx\eclipse-workspace\xxx\Final.py", line 40,...
1
vote
2answers
209 views

Find points within polygon with PostGIS really slow

From some millions of points I am trying to select those points that are within a polygon and save them into a new table. Both datasets with spatial index and both on projected coordinates. The query ...