Questions tagged [intersect]

Use for questions about the ArcGIS Intersect tool

Filter by
Sorted by
Tagged with
7
votes
1answer
3k 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]...
5
votes
2answers
2k 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
444 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
137 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
184 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
58 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
230 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
887 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
133 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
111 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
553 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
1answer
91 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
51 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
313 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
1answer
3k 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 ...
2
votes
2answers
397 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
2answers
478 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
382 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
1answer
32 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
179 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
22 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
94 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
1answer
307 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
620 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
5k 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
1answer
247 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
150 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
429 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
116 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
35 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
129 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
29 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
191 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
95 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
809 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
2answers
288 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
1answer
209 views

Speed up intersection, union in PostGIS?

I have three tables: water, wetlands and parcels. I want to update parcel table with area that is covered by water or wetland (they can overlap). So I want to Merge water with wetland Dissolve and ...
1
vote
1answer
236 views

Geoserver CQL file queryCollection limit

I'm using GeoServer 2.9.0 and I need to get some result using CQL_FILTER, intersects between polygon and line String layer, cql query is as follow: INTERSECTS(geom, collectGeometries(queryCollection('...
1
vote
2answers
2k views

turf.js intersect problem?

I have two geojson data sets. One of them is polygon feature "yolbuf" and the other one is a polygon feature collection "polygon". I want to calculate intersections of every feature in polygon feature ...
1
vote
1answer
126 views

Intersect Tool Input Order

To give context, I was using the Intersect Tool to find the number parcels that are located in multiple Sections of an STR. I tried both the Geoprocessing Tool, and calling the function in ArcPy. I ...
1
vote
1answer
315 views

Intersecting raster layer with grid to find average within each cell in QGIS

I have a raster of population density and would like to intersect it with a polygon layer and have each polygon carry the average for the underlying raster cells. How would I go about this? I feel ...
1
vote
1answer
225 views

Intersecting raster with polygon grid in ArcGIS Desktop?

I'm trying to generate the fractional coverage of land-cover within polygon grid cells. My land-cover is a 30m raster dataset (10008x8939 cells) and my grid is a fishnet shapefile (approximately 1km ...
1
vote
2answers
982 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 ...
1
vote
2answers
94 views

Calculate area of two intersecting rasters

I have two large rasters: One defining zones (private properties, with unique value for each property) and one of land cover change (deforestation data, with values for the year it has been deforested)...
1
vote
1answer
52 views

QGIS— Find zipcode boundaries bisected by city boundaries

I've tried the intersect function but that also returns small zipcodes entirely within a city. Ideally, I just need zipcodes that extend beyond city lines.
1
vote
2answers
338 views

Clip/Intersect in QGIS 2.8.2 resulting in empty attribute table

I'm trying to clip two layers together (a layer showing the area of a city and a layer showing a political boundary running through that city) in order to show the location of the political boundary ...
1
vote
2answers
382 views

Intersecting 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 ...
1
vote
1answer
68 views

Is Geometry object intersect faster than Intersect_analysis in ArcPy?

I have a script attempting to identify Many-to-Many matches between two different parcel layers. It is an iterative process, during which I dissolve the selected polygons in layers A and B, intersect ...