Where features overlap

learn more… | top users | synonyms

2
votes
1answer
106 views

Finding list of all shapefiles that overlap with single shapefile using QGIS?

I have a list of 34 shapefiles. These shapefiles are range maps for different species. I would like to take 4 of these shapefiles and document a list of those shapefiles (within the 30 shapefiles), ...
4
votes
1answer
97 views

How to find the distance from a point to a polygon, via another point, in R

I am trying to calculate the distances between a central point, and the edge of a polygon, along straight lines drawn between the central point and another set of points (where necessary extended ...
4
votes
2answers
120 views

Rotate symbols perpendicular to line angle (QGIS)

I have lines representing curving streams and want to angle symbols at various points on the streams so that they are perpendicular to the angle in their particular locations. What QGIS seems to do ...
0
votes
1answer
192 views

Calculating intersection between lines with GeoTools (java)

I have ArratList<Segment> (N segments - array size is N) when: public class Segment { Node vertex_1; Node vertex_2; } public class Node { double latitude; double longitude; } ...
0
votes
2answers
44 views

Intersecting categories within shapefile using ArcGIS for Desktop?

I have a shapefile composed of fire scar polygons identifiable as unique categories based on year of fire. I am interested in measuring the area of overlapping fire scars from different years. Is ...
2
votes
0answers
386 views

Intersecting vector data with raster data in PostGIS?

I have Open Street Map [OSM] data imported so that I can access the geometry of buildings. I have also loaded SRTM digital height data from NASA from a GeoTIFF raster. I have projected the raster into ...
2
votes
2answers
41 views

Is it possible to update attribute from spatial join without creating new shapefile?

I have the following shapefiles: county.shp: polygons referring to country land subdivisions lake.shp: polygons referring to lakes, ponds, etc. Layers attributes are as follow: county.shp id ...
-1
votes
1answer
32 views

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

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 = ...
1
vote
2answers
54 views

Get the coordinates of all points having the same given latitude along a line shapefile

I have a shapefile representing a shoreline and I need to extract the coordinates of the points at a certain latitude (or longitude). Is there a tool or plugin that could do that ? Edit: to be ...
1
vote
2answers
68 views

Angle at intersection point from two Lines

I would like to find the angle of two lines at their intersection point. In my opinion it is the azimuth I'm looking for, right? So I'm using Python with shapely for finding the intersection and ...
4
votes
1answer
379 views

Finding Intersection of Two Circle given Lat/Lon and radius?

I am attempting to calculate the intersection of two circle on the Earth with a given latitude, longitude and radius. I started with this How to calculate the intersection of 2 Circles? These circles ...
1
vote
1answer
187 views

Function to intersect another polygon using openlayers

I wonder if someone here have a function JS that when I draw a polygon I can see if i drawing on another polygon, like intersect.... if polygon intersect say to me a alert...using openlayers. Thanks!
2
votes
1answer
36 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 ...
2
votes
0answers
48 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
313 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
36 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
64 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
48 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
136 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
57 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
58 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
66 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
50 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
22 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
166 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
13 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
32 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
754 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
281 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
449 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
23 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
43 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
76 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
4k 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
99 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
33 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
63 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
124 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
63 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
50 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
37 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....