Where features overlap

learn more… | top users | synonyms

0
votes
1answer
24 views

Creating an intersecting linestring layer from two polygon layers using some tolerance

I have two postgis layers: The first layer contains the sidewalks of my town (polygons in blue). The second one contains the pavements (roads) of my town (polygons in brown). The map looks like ...
1
vote
2answers
24 views

Getting year from a field of type character varying

I did an intersection between two tables and the resulting field has an sdate of type character varying (29). An example value is 2012-01-13 05:00:00. How do I get just the year from it? I want to ...
0
votes
1answer
433 views

Polygon color on intersect

Using OpenLayers, I am loading a large geojason file of about 4000 polygons. Once the polygons are loaded I want to draw a "LineString" on the map (already done and working). My challenge is that I ...
5
votes
1answer
97 views

Intersection of a vector linestring and underlying DEM

Following is an screen-shot where ASTER DEM raster layer has been overlaid by a road linestring vector layer. I want to extract those DEM pixels which are lying exactly beneath the linestrings. I want ...
6
votes
1answer
82 views

Visualizing road Intersections & connections in ArcGIS

I am working with polylines (roads) in ArcGIS and I was wondering if there is a possibility to somehow show intersections as well as connecting parts of all the different road-segments. Also, would ...
3
votes
2answers
73 views

What percentage of polygon x is in raster pixel y, efficiently

I feel this is a competition worthy problem, due to its size. I would like to weight a set of raster pixels to the attributes of a set of polygons. To do this I need to know the proportion of each ...
5
votes
1answer
595 views

Apportioning Points at a street intersection (arcgis or mapinfo)

I can't seem to find any evidence of this question, but I'm surprised by that, so pardon if this has been asked. If one is mapping crime location reports, by XY coordinates to streets, to create ...
3
votes
2answers
78 views

Intersect 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
2answers
271 views

Counting self intersections of linestring using PostGIS?

Is there a way of using PostgreSQL + PostGIS for finding the number of self intersections in a linestring? I have a linestring that goes forward but in circles, and I need to find the number of times ...
3
votes
2answers
2k views

Finding intersection points of two polyline features using ArcObjects?

I'm currently working with street intersections trying to find point(or points) where 2 given streets intersect(!disjoin). Streets are all Polyline features, and I have to work with 2 features at ...
4
votes
1answer
956 views

ArcGIS Intersect using Geometry Service [closed]

I am using the intersect service from the ArcGIS Geometry service. referring : http://help.arcgis.com/en/webapi/sil....htm#Intersect I have modified it to make it work with polylines it works fine ...
0
votes
1answer
42 views

SQL Server Spatial Querying

I am looking for ways to learn querying for SQL Server Spatial (2008/2012). I have a table created from Shape2SQL and have been trying to run a simple intersection query to get results from that ...
4
votes
1answer
50 views

Slow Planning for Postgis ST_Intersects

I am trying to run the following query: SELECT * FROM fences where ST_Intersects(geom, ST_GeomFromText('POINT(-73.990452 40.994184)', 4326)) When I run Explain Analyze I get the following: "Index ...
0
votes
0answers
22 views

Intersecting polygons to a focal polygon with the same cell ID and also obtaining the length of the joining edge

I have a series of polygons, where there is a focal polygon (a type of coral reef). The other polygons are cut to the centroid of a cell where the focal polygon is included. The cell ID is given by ...
0
votes
0answers
12 views

how to use st_intersection() with re-projection in POSTGIS?

This is a shipping route from 'portland to busan' and I want to check the route against land_polygons like how much distance is traveled by a route through land.And the problem is while checking the ...
0
votes
0answers
14 views

QGIS and Ghydraulics: add attribute fields from intersecting points to line layer

I have lines (pipes) and points (junctions). There is one point at each connection between two lines, so that every line has a start and an end point. Now I want to fill the attributes "start point" ...
1
vote
1answer
38 views

Difference between intersect {raster} and gIntersection {rgeos} in polygons - R?

I am interested in knowing the difference between tools: intersect {raster} and gIntersection {rgeos}** tools in R. I have several overlapping polygons and I am interested in their overlap, but mostly ...
0
votes
0answers
44 views

How to choose a projection for area measurement on building to continental scales?

I have many geographical objects described as polylines, polygons, multipolygons. All objects are in WGS84. Object could be: a building, stadium, park, street, highway, city, state, even country and ...
2
votes
2answers
42 views

Avoid intersection is missing QGIS 2.10, 2.8.2

I need to digitize a lot of polygons and I want to ease my work with the 'avoid intersection' button so that the new polygons do not overlap. In the manual I found (for version 2.6) that the button is ...
1
vote
1answer
122 views

How to SELECT all points within a GeoJSON polygon in PostGIS

I have a GeoJSON polygon, and a table with lots of points. I want to SELECT all points that are within an arbitrary GeoJSON polygon. How can I do that with PostGIS SQL?
4
votes
1answer
106 views

Find 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 post. These circle will never be more than 100 km in diameter ...
1
vote
1answer
457 views

Intersecting polygons in Oracle

Have a polygon in table 2 with its id, no and geometry. In table 1 I have polygons with the same fields. The polygon in table in intersects with a few polygons from table 1.What I am trying to do is ...
2
votes
0answers
38 views

Multiple layer intersection

I am trying to find a way with qgis/python to get the intersection area of more than 2 layers. All the tools in Qgis take just the 2 input layers. ='( For example in the image below, I have 4 ...
1
vote
1answer
55 views

Find intersections between spatial lines and points using R

This question assumes that I'm using R with the sp and rgdal packages installed. Now that I have a set of spatial segments of class SpatialLinesDataFrame (called 'segmentData') and a set of spatial ...
4
votes
1answer
51 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 ...
0
votes
0answers
7 views

Intersection of 2 feature class in flex

I have two feature class and the requirement is to intersect both of them in flex. I'm querying on one feature class, getting its geometries. I tried doing union of all the geometries of the layer ...
1
vote
0answers
25 views

ogr2ogr: export intersected gml using shapefile

I'm trying to do the same as the ogr2ogr example given by http://gis.stackexchange.com/a/119404/6458 The difference is that my inputs are a GML and a shapefile. Export.shp should only contain the ...
0
votes
0answers
20 views

Allocation of data by Voronois to admin units according to area in QGIS? [duplicate]

In QGIS, I need to assign values from Voronoi cells into admin 2 units (e.g., counties) with a weighted average according to the amount of territory of each county covered by the cell. So, for ...
1
vote
0answers
54 views

PostGIS: intersection of a polygon with 2 rasters

I'm trying to get the intersection of a Polygon with 2 raster layers in PostGIS. The rasters have the same size and pixel size and I'd like to retrieve for the polygon a list of something like that: ...
1
vote
0answers
27 views

Problem running intersect vector processing with line shp file and polygon shape file

I have been trying to run intersect on two shp files, one is line, the other is polygon. Although processing appears to take place and a new shp file is created and added, nothing is visible. I have ...
1
vote
1answer
107 views

How to select polygon features that intersect a line feature using pyqgis?

Is there an easy way to select all features in a polygon layer that intersect (overlap) a line feature? I need to implement this in python using QGIS, thus pyqgis. This code illustrates what I am ...
0
votes
0answers
130 views

Leaflet - Check if polyline intersects polygon

What is the best way to determine if a polyline (not just the vertices) intersect a polygon? Or checking if the polygon contains any of the polyline? I am checking within a function where my polyline ...
1
vote
0answers
48 views

Polygons in Polygons

I have 2 layers, they represent 2 different data. I did a spatial join to see the polygons that fall in the other layer using the match option as identical. Before, i used the intersect as the match ...
2
votes
1answer
111 views

How to extend line features up to their intersection point in QGIS?

Is there a tool or plugin in QGIS to extend line features up to their intersection point?
14
votes
3answers
3k views

Identifying road intersections using PostGIS

I'm trying to identify where roads intersect each other, and to make a point at this intersection, with the number of roads that form the intersection listed. I was wondering if there was some way ...
2
votes
1answer
214 views

Extracting intersection areas in R

I have two polygons. One contains fields(X,Y,Z) and the other contains soil types (A,B,C,D). I want to know what area of every field contains which type of soil. I tried the following: ...
0
votes
0answers
18 views

polygonize some raster pixels based on their value in PostGIS

I need to extract and polygonize only those pixels of a raster that have a value (e.g.) greather than 2000.0 The reason is that I wish to do an operation like the following one (which is done only on ...
3
votes
1answer
194 views

How to calculate the intersected area from a layer with overlapping buffers in qgis

I need to calculate the area of landusetypes in 50m around various dots (all in one shapfile). My problem is, the buffers around the dots are overlapping each over in some places. I tried to ...
0
votes
0answers
38 views

Calculating where the Z values of two rasters intersect

I have several raster layers which are depth horizons, one of these horizons cross cuts the others and I would like to calculate the line along which this occurs. i.e. the line along which the Z value ...
0
votes
0answers
65 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...
18
votes
5answers
4k 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
58 views

Ratio policy for Intersect in ArcGIS Online?

I have two polygon layers in ArcGIS Online (for organizations) stored as Feature Layers; one is population block, another is the AOI polygon. They are overlapping and I want to find out what portion ...
1
vote
1answer
79 views

ST_Intersection for polygons

I'm looking for a query that returns overlapping areas of two tables with polygon geometries. Using row_number() over() the entries of the gid column are not unique in the case of dumped ...
6
votes
1answer
117 views

What is the difference between Spatial predicates “Covers” and “Contains”?

I try to understand the Spatial predicates of the DE-9IM Intersection matrix. I don't get the difference between predicates Covers (respective CoveredBy) and Contains (resp. Within). I try to draw ...
2
votes
2answers
71 views

How to map a building to only one grid which contain more than half of its area using qgis?

I have a shapefile of a city map and I have created vector grid as polygons. After intersecting the two shapefiles, a building will map to all the grids it overlaps. However, if I just want it to ...
2
votes
1answer
24 views

Labelling polygons intersecting another polygon file

I have a series of polygons representing land packages and another shape file representing contour polygons of flood elevations in steps i.e 2-5m 5-10m >10m. I am wanting to label a polygon with the ...
2
votes
2answers
168 views

Showing OpenStreetMap intersections in ArcMap?

I'm trying to carry out a few tests on OpenStreetMap data to test its quality, using ArcGIS. One of the things I'd like to investigate involves checking that all road intersections are represented ...
0
votes
1answer
95 views

ST_Intersect with ogr2ogr and Spatialite

I am trying to intersect Spatialite datasets with ogr2ogr, the OGR Virtual Format and SQL Syntax. I can't seem to locate whether the error is in my SQL query or my VRT file. Data ...
1
vote
4answers
2k views

How to get intersection point from two lines (two coordinated points and two bearings)

I have tried for ages to find the algorithm for getting the coordinate of two intersecting lines from two given coordinated (latitude and longitude) points. As the picture below suggests, I have two ...
0
votes
0answers
174 views

Efficient way of determining polygon intersection with bounding box

I have a set of polygons, and I need to check whether they are intersecting with a given bounding box(rectangle). What I am doing is, I am taking every vertex of polygon and checking whether it's ...