Where features overlap

learn more… | top users | synonyms

2
votes
1answer
69 views

Intersecting Layers Returns Empty Collection Despite Visible Intersection

When I perform an intersection of a polygon I draw in OpenLayers and a postgis database layer, it seems that I am getting incorrect results. Intersection works correctly on some layers. For ...
4
votes
1answer
516 views

How to split a polygon using R

I have an irregular polygon which is a spatial object. I want to divide it into multiple polygons (say, n=25) with equal height. To show how I want to divide it, I've plotted grids on the ...
5
votes
1answer
127 views

Simulating Random Agent Movements along Roads on Map

I need to simulate agent movements on map as follows: Agent starts a known location and moves along a road. At each road intersection, the agent uniformly chooses one possible road and moves along ...
2
votes
0answers
239 views

3D features (Polyline, Polygon) intersection library

For my research I am looking for a (python) library to get the intersection of some 3D features. The features can be Polygons or Polylines. Mostly I need to intersect a plane with my features and get ...
-1
votes
2answers
353 views

Retrieve common paths of polylines ArcObjects

I have a polygon featureClass and a polyline featureClass. I now want to handle all geometries within the latter that are contained in the boundaries of polygon features, that means they shell simply ...
1
vote
1answer
752 views

How to find the intersection point of polygon geometry and multilinestring geometry in postgis

I have a polygon geometry and multilinestring geometry. How do i find the intersection of both these geometries. Both the geometries are in same reference system. Does st_intersection gives me the ...
2
votes
3answers
3k 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 ...
1
vote
0answers
17 views

Finding the exact coordinates of circle's extreme east and west points on a sphere [duplicate]

I'm currently implementing the Bentley-Ottman algorithm applied to spheres, involving intersections of many spheres on one sphere, circles in most cases of course. This requires locating "event" ...
0
votes
1answer
287 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 ...
1
vote
1answer
185 views

Intersect line (LLH) with any LLH plane

I have a LLH (Longitude, Latitude, Height) point with an elevation angle and azimuth (actually it is a receiver point). I believe I can make a line with this information. What I want is to intersect ...
1
vote
0answers
93 views

Gdal/Ogr - OGRLayer.Intersection() Question

I was trying to perform intersection on two feature classes (shape file format) using OGRLayer.Intersection(), but have problems making it work with C# bindings. I am not able to figure out on how to ...
4
votes
1answer
242 views

Clip polygon and retain data

I have these two polygons: library(sp); library(rgeos); library(maptools) coords1 <- matrix(c(-1.841960, -1.823464, -1.838623, -1.841960, 55.663696, 55.659178, 55.650841, ...
2
votes
2answers
875 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 ...
1
vote
2answers
316 views

How to extract all lines that do not intersect with buffer?

I am working in ArcGIS Desktop 10.0 and/or 10.1. I have two road network feature classes in a file geodatabase. I have created a 5 meter buffer around the first one, so it is now a polygon feature. ...
0
votes
1answer
167 views

Circles created by points inside bounding box query - PostGIS

The table that i want to perform this query has 3 columns: id, the_geom and seen_count. The query i've been using to get points inside a bounding box is as follows: SELECT id, ST_AsGeoJSON(the_geom) ...
1
vote
2answers
200 views

How to intersect shape files with elevation models?

I have a high resolution digital elevation model (DEM) and a line shape file displaying a bycicle track. The DEM has 1 meter resolution. The line shape is something like 25 km long. What I need is a ...
2
votes
1answer
362 views

Help building SQL query to get a list of streets of a city

From two layers in PostGIS (osm_places and osm_roads), I would need to have the roads belonging to a certain city. It would be fair enough to get the street names of all streets in a radius of X ...
2
votes
2answers
123 views

Sextante modeler feature selection

I am trying to select grids (polygon geometry) that intersect with a building layer. I can do it by using "Select by location" tool and then I generate centroids from the selected grids. There is no ...
0
votes
0answers
973 views

Vector Intersect QGIS (1.8.0) Gives empty shapefile

I am trying to find points that fall within a polygon. Both layers are vector ESRI shapefiles. I used the fTools based intersect under Vector>GeoprocessingTools>Intersect. The output is an empty ...
2
votes
3answers
137 views

Breaking a continuous contour shapefile into smaller parts?

I created this contour shapefile and I need to break it into smaller parts so its better to manage. I also have a line shapefile of where I want the breaks. Is there a way to intersect and break them? ...
1
vote
1answer
519 views

Intersection with JTS Geometry

I want to calculate an intersection between two geometries with the intersection function from JTS Geometry. What happens, if the geometries have different SRIDs? SimpleFeature sf1=...; //SRID ...
4
votes
2answers
3k views

Differences Between the Clip Tool and the Intersect Tool

How is the clip tool different from the intersect tool in terms of how it works or the result? I don't have a specific situation in mind. I was learning about each of these tools and was curious about ...
2
votes
3answers
225 views

How to test if geometry is inside another?

I need to tell whether geometries from a shapefile are inside other geometries or not. For example, I want to test if there are trees (represented as points in trees.shp) inside the urban areas ...
3
votes
2answers
505 views

How to efficiently check for feature overlaps with Arcpy?

In an effort to reduce processing time, I am looking for ways to pre-process data within my script. I have ~18,000 featureclasses with ~500 features each (all simple circle polygons) from which I want ...
0
votes
1answer
157 views

Rhumb lines intersection

I looking for algorithm how to find out whether two rhumb lines given by point1 with azimuth1 and point2 with azimuth2 have intersecting point. Have anyone idea how to find intersection ? For ...
1
vote
1answer
206 views

openlayers point intersection

For example, I have 2 points and I want to know if they intersect. If yes, I need to delete first points. Should I use OpenLayers .intersects method? Because it greatly depends on zoom level. Or ...
3
votes
4answers
568 views

ArcObjects C#: select intersecting polylines

My questions seems trivial but it is a real blocker for me. So please help!!! How can I, using ArcObjects with C#, select only those polylines in one layer that intersect with each other? It sounds ...
1
vote
0answers
294 views

intersect two shape files using QGIS API

I am trying to automate a process of a shape file. We are using google maps engine and we have limitation on number vertices in a shape file. so I am using a grid to split the shape files. In GUI , I ...
3
votes
2answers
368 views

Postgis: aggregate function for intersection

I have a PostGIS Table with LINESTRINGS. I like to a query that returns all Roads that are connected. So I get a set of unconnected trees (in german 'Wald (Graphentheorie)') pseudo code: select ...
1
vote
1answer
295 views

How to use QgsOverlayAnalyzer class in pyQGIS?

I am very new to Python scripting in QuantumGIS, so bear with me please. I am trying to use the QgsOverlayAnalyzer class in QuantumGIS (http://www.qgis.org/api/classQgsOverlayAnalyzer.html#details) ...
1
vote
1answer
914 views

Lat Long line intersecting with circle

Can anyone help me what's the algorythm to calculate points of intersection whet is given one point p1 [lat,long] , bearing x (let say 137 degrees), arc center [lat,long] and radius? I woulde like to ...
2
votes
1answer
308 views

Remove intersect of one polygon from another in R

I am trying to remove the intersect from Poly2 onto Poly1. Below are the coords of the 2 polygons. > coords1 [,1] [,2] [1,] 992.0161 7462.531 [2,] 950.1962 7413.532 [3,] 902.3632 ...
2
votes
1answer
344 views

Intersection of convex polygons on a spherical surface

There are a number of algorithms available for the intersection of two convex polygons, but I am interested in an algorithm to find the intersection of two convex polygons on the surface of a sphere, ...
1
vote
0answers
31 views

Suggestions for vector format for polygons

I am using two polygon tables in postgis (A and B ). I need to make a vector file that incorporates information of the overlapped polygons B intersecting each polygon on (A). I can make a single ...
1
vote
2answers
119 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 by ...
3
votes
1answer
437 views

Intersection of drawn polygon with WMS layer features. Better of two methods?

Scenario: Several WMS layers with polygon features. Objective: Draw a polygon with OpenLayers and allow it only if doesn't not cut any features in WMS layer. It can contain the features as a whole ...
3
votes
1answer
296 views

PostGIS: Using a polygon to 'mask' linestrings returns both multi and linestrings

I have a table of linestrings (OSM roads, in fact) that I'm displaying on a map. I want to filter them so that only those within a certain area are displayed- I've already done this with the coastline ...
1
vote
0answers
255 views

How to handle/ avoid intersect errors when clipping the difference between two layers?

Using QGIS + Grass, I've added a shapefile of coastline and islands to my map. I then buffer this shapefile to create a coastal zone of a known width. At this stage the buffer consists of the ...
1
vote
1answer
412 views

Why do I get 'KeyError: 0' when using Line Intersection tool?

I'm using Quantum GIS version 1.8.0-Lisboa and trying to create intersection point using Intersection tool. (Vector -> Analysis tools -> Line Intersections ) But when I do that for my shapefile, It ...
4
votes
2answers
124 views

Creating space at intersection of two links

I have a shapefile consisting of two links which are crossing over each other. I want to create an empty space at the point of intersection of the two links. As of now, I have been manually doing ...
3
votes
1answer
143 views

Help with intersections in QGIS

I have a shapefile which defines for me the area of each oil field in the North Sea (~300 fields). I also have a shapefile which defines the location of every well that has been drilled (~13000) ...
7
votes
3answers
2k views

Extract Overlapping Polygon Data to Points

I have a polygon data set of corn yield collected by a combine. However, as the combine drove through the field, there was slight overlap between passes, leading to overlapping polygons within the ...
5
votes
3answers
377 views

Trying to combine nearby points into a polygon

We have collected millions of cell phone strength readings. I am trying to group points of the same strenght that are within a distance of each other in to a polygon. I asked on the postgis mailing ...
4
votes
2answers
1k views

How to Intersect between a vector (administrative areas) and a raster layer (slope)?

What I've got: 1: A vector-layer with administrative areas of my country 2: A raster-layer with the slope of the terrain of the same country (it is derived from SRTM elevation data with QGIS) What ...
1
vote
1answer
510 views

Intersection between two SpatialPolygonsDataFrame using gIntersection function in R

I want to select a subset of my map (a SpatialPolygonsDataFrame) to create a new vector map = part of the initial map included inside a given polygon (eventually, inside several polygons). I have a ...
4
votes
2answers
2k views

OpenLayers - Get features inside a polygon

In my OpenLayers map I allow users to draw an ad-hoc polygon vector. Then I need to get all the features from a WFS vector layer that fall within the ad-hoc polygon. Here is the code I have that ...
3
votes
4answers
1k views

How can all polylines within a polygon be selected and then operated on to determine the average value from an attribute field?

I have two files illustrated wonderfully below: 1) Polyline (shown in red), 2) Polygon (shown in black). The polyline file contains a numeric attribute (elevation in meters). I would like to select ...
2
votes
1answer
121 views

Line feature, Merge and Dissolve

I have a layer with several polygons and a layer with line above these polygons. Its like a map and a road network on it. I have to find out the length of line in each polygon. I used the intersect ...
5
votes
1answer
441 views

adding multiple points to a linestring in PostGIS

Though a newbie to PostGIS, I'm having trouble solving something that I think should be farily straightforward. I have two linestring tables, both consisting of simple, 2-node line objects: one has ...
4
votes
2answers
331 views

Keep nonintersecting polygons during clip

I am using ArcMap 10. I have two datasets, one of which consists of many small contiguous polygons, and one which has many small non-contiguous polygons. The first dataset is census blocks, and the ...