On a map, a closed shape defined by a connected sequence of x,y coordinate pairs, where the first and last coordinate pair are the same and all other pairs are unique.

learn more… | top users | synonyms

6
votes
1answer
77 views

How to make a wedge shapefile in R?

I'm quite okay at R programming, but fairly new in GIS (especially in R). I have a set of coordinates and I'd like to create a custom shape around them. What I want to do step-by-step: Create a ...
6
votes
3answers
555 views

adjusting polygons to boundary and filling holes

here's the problem: Where: 1: department boundary 3: polygons inside department boundary that "touch" the department boundary(1). They are not necesary fitting well inside 2: holes between 1 and ...
6
votes
1answer
735 views

POSTGIS SQL - How do I remove (defined) sliver polygons

I would like assistance in writing SQL (for POSTGIS in postgresql) to remove sliver polygons (including long narrow slivers and some small irregular polygons that were erroneous 'gaps' in the original ...
6
votes
1answer
294 views

Select by location of doughnut hole polygon

I have vectorized the Corine Land class raster and want to select certain classes that are "inside" other classes. How can I select the polygons circled in blue? All the select by location options ...
6
votes
1answer
88 views

Is there a way to select only a certain polygon for editing?

I have a spatialite data base with 4300 polygons contained within. I wish to be able to edit the polygons but once i have highlighted the Polygon from the attributes table i find it hard to edit the ...
6
votes
1answer
615 views

Generalize large polygon-file

I have a large polygone file with landuse information (6 classes). Its vectorised from a raster classification so the polygons are all angular. Any of my tries to generalize with v.generalize (sneaks, ...
6
votes
3answers
329 views

Filtering features using geometric attributes of polygons in ArcGIS Desktop?

Given a polygon featureclass containing many polygons of different sizes and shapes, which geometric attributes (area, perimeter, etc) could be used to filter the polygons? It's probably best to ask ...
6
votes
1answer
395 views

Permanently setting polygon/polyline segment length using ArcGIS Desktop?

I'm trying to create a several hundred polygons in ArcGIS 10, each of which may have up to several hundred vertices. For consistency sake I would like each line segment in these polygons to be of a ...
6
votes
0answers
65 views

Project an attribute from one polygon layer to another

I have 2 polygon layers which can be found here. The two layers are overlapping. The first contains a map of the German counties in 1928 and the second the counties how they are in 2014. The 2014 ...
6
votes
0answers
714 views

How to split polygons without ArcView? [closed]

I'm trying to split polygons into equal areas. While fishnet sort of works; the areas I'm trying to split don't touch; they're national parks. Fishnet spans the whole area, not just the polygons in ...
5
votes
3answers
157 views

How to select specific rows of polygons from a grid in QGIS?

I have a polygon layer. I would like to select every second row of the polygons but not manually. Is there an expression to select every second row as seen on the picture with Select by expression in ...
5
votes
3answers
15k views

Converting multiple lines into single line using ArcGIS Desktop?

I've no idea if this is basic or what but I have this data that contains multiple lines (forming a polygon shape). I want to convert those lines (multiple - each with a start and end point) to a ...
5
votes
2answers
135 views

Move a layer in QGIS to a precise position based on centroid

I'm not quite sure how to phrase this so apologies if it is a duplicate. I have a project that uses a series of lines created from the boundaries of polygons overlaid onto a map in QGIS. I understand ...
5
votes
1answer
8k views

Create point in intersections of two layers

I have two layers. One of them is 'Road_line' and another one is 'forest_shape'. I want to create a point layer that has points in intersection of that layers. I couldn't find any tools for it.
5
votes
2answers
4k views

Converting Longitude and Latitude Coordinates to Square Miles?

I have a set of Long and Lat co-ordinates making up a five point polygon which I have converted in excel using the following formula: ...
5
votes
1answer
2k views

Dissolving specific polygons inside SearchCursor with Python in Arcmap

I have a layer with catchment polygons. For those that are smaller than a certain size, I want to merge with an adjoining polygon (namely the one downstream). In the attribute table I have a GridID, ...
5
votes
2answers
129 views

Find lower left corner of a rotated polygon

I am currently struggling with a mathematical problem and can't seem to get it solved. I have a bunch of rotated rectangular polygons (solution should also work for non-rectangular polygons) in ...
5
votes
4answers
2k views

UK Postcode boundaries [duplicate]

Before I go and pay is there a free source for UK Postcode Boundaries, ideally down to Postcode Sector level ("AA00 0" or even better "AA00 0A")? Failing that can I generate them in QGIS if I have ...
5
votes
4answers
3k views

Percentage of polygon in one shapefile within polygon of another

I'm a newbie, apologies if this is obvious/has already been asked and answered but I couldn't find anything. I have two shapefiles: 1. an administrative boundary layer for a county in the UK known as ...
5
votes
3answers
12k 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 ...
5
votes
3answers
5k views

Openlayers remove previously drawn polygon on starting to draw next one

Objective: At any point of time there SHOULD only be zero/one polygon(s) on a vector layer with a polygon control. I need the previous polygon to be removed as soon as user starts drawing the first ...
5
votes
3answers
529 views

Creating map with same-area hexagonal polygons using ArcGIS for Desktop?

I'm trying to figure out (1) what this type of map linked here is called (I've been unable to find the name through search), and (2) whether there is an Arc tool that will transform a shapefile or ...
5
votes
1answer
1k views

Identify Polygons on raster image

I have OS street view mapping as raster images. Is it possible (without the obvious of tracing each dwelling) to identify all polygons on each tile. To clarify, My ultimate aim is to produce a ...
5
votes
3answers
480 views

Selecting polygons by number of sides

I'm using ArcGIS 10 to build some figures for a journal article. One is a figure of an unstructured finite element mesh of triangles spanning the western Atlantic Ocean. I exported this mesh from ...
5
votes
2answers
679 views

inner convex-hulls in a set of 2D points

A set of 2D Points are scattered randomly (i.e., no specified pattern), we are interested in finding all inner-convex-hulls (ICH) in an order of largest in area to a minimum until the entire study ...
5
votes
3answers
2k views

How can I display with OpenLayers the geometry returned from a ST_Buffer in POSTGIS?

Im using PostGIS, GeoServer and OpenLayers, and the thing is that i want to display the geometry result from a query like this: SELECT ST_Buffer(ST_GeomFromText('POINT(100 100)'), 500); To perform ...
5
votes
3answers
77 views

Dissolve overlapping polygons in SAGA

I've got the following (2D!) situation of overlapping polygons: I would like to have the polygon border dissolved such that I have only one polygon left. I thought this was a definitive case for ...
5
votes
1answer
324 views

How to add Attributes to a polygon with arcpy

I have a question about arcpy. I want to create a polygon FeatureClass with attributes. The code below is just test-code that generates some polygons for speed testing. I want to add some additional ...
5
votes
1answer
2k views

calculate {minimal} distance between polygons in R

I have calculated the surface area of species distributions (merging polygons from shapefiles), but since this area can be comprised of quite distanced polygons, I would like to calculate some measure ...
5
votes
3answers
4k views

Intersect (analysis) of polygons generating empty output

I have previously asked a question on determining the area of polygons with another polygon boundary. Determining the area of each polygon within a polygon boundary? I came to the conculsion that ...
5
votes
2answers
922 views

How to achieve an “inner glow” effect on polygons drawn using the Google Maps v3 javascript API?

Is it possible to produce an "inner glow" effect on polygons drawn using the Google Map v3 javascript API? If not possible using the vanilla Google Maps API, is there a 3rd party tool that can do it? ...
5
votes
3answers
3k views

How to interpolate into polygons using ArcGIS Desktop?

I need to interpolate values from points to polygons. I have a point shapefile and a shapefile of adjacent polygons. Some polygons get several points falling inside, some have nothing. I thought ...
5
votes
1answer
1k views

How to persist a polygon to SQL Server database and vice versa?

How do I extract all the points from a Polygon drawn in ArcMAP and then persist that data into a SQLServer database table containing a geometry column and then when I've got the data persisted read ...
5
votes
1answer
88 views

Clipping features depending upon percent coverage by other features

I have a shapefile composed of several thousand square polygons of equal size, arranged in a grid. I have another shapefile with a few dozen circles. The squares are about 1/10th the size of the ...
5
votes
2answers
137 views

Why does qgis give multiple centroids per polygon?

I have a shapefile for the boundaries of European NUTS regions, and I would like to compute the centroid for each of those regions. When I do this in QGIS (2.6.1 on OSX, using polygon centroids from ...
5
votes
2answers
526 views

Need an Algorithm to Determining Polygon Borders

I'm currently writing a program in Java and I'm dealing with polygon objects. I want to create a different color border between touching objects depending on their class (i.e. land, ocean, etc). I ...
5
votes
2answers
744 views

Is it possible to generate a vector polygon from a polygon on a raster image?

I have a raster map which I have extracted from a government report providing flood extent return frequencies. I want to 'snatch' these flood extent polygons (i.e. convert to vector) and I was ...
5
votes
2answers
898 views

Including polygons as part of network for ArcGIS Network Analyst?

I am creating a pedestrian walking network of a downtown area. I am digitizing line segments for paths and sidewalks, but I need to incorporate parking lots into my analysis. So far, I have been ...
5
votes
1answer
62 views

Aggregating polygons with space between them

Im currently editing a large dataset that has large chunks removed throughout (buffered road network). The areas adjacent from each side have coinciding attributes, but have this large erased area in ...
5
votes
2answers
118 views

Is it possible to clip a shapefile to an image() in R?

I am working on mapping some netcdf data in R and have been having a tough time trying to perform a clip with an imported country shapefile that I'm using. Here is my question from yesterday. If you ...
5
votes
1answer
135 views

Create shapefile of raster outline using python

I want to create a single bounding shapefile polygon of valid pixels in raster data (GeoTIFF) using python. I need something efficient as I need to do this for hundreds of rasters. I had thought of ...
5
votes
2answers
122 views

Polygon points to Polyline

I am trying to create a polyline from the points that I query from a polygon. I have a polygon, and I am getting its edges, casting them to segments, and then use QueryNormal to get the mid point ...
5
votes
2answers
266 views

Calculating edge length of polygon within overlapping polygon

I have a layer of wetland polygons and a layer of lakes. I basically want to find the total length of lake shoreline contained within each wetland and add these values as an attribute of the wetlands. ...
5
votes
1answer
514 views

Create MultiPolygon from QgsGeometry.fromMultiPolygon

I have a list of polygons' points like [[x1,y1],[x2,y2],[x3,y3],[x4,y4]] [[x5,y5],[x6,y6],[x7,y7].[x8,y8]] now I want to create multipolygon from it by using feature = QgsFeature() ...
5
votes
1answer
2k views

Create a new vector layer that fills space between other polygons in QGIS

I inherited a clipped (500m radius) land cover map containing vector layers of different land cover categories such as buildings, grass, roads, etc from a colleague. The empty (white) space in ...
5
votes
2answers
1k views

How to enclose clustered points with polygon?

I have a raster with forest (1), no forest (2) data. "1" is represent single/few trees and there is gaps between them. I want to create a polygon around these trees to a forest map. It is not a dense ...
5
votes
2answers
4k views

Removing sliver polygons in ArcGIS Desktop?

I unioned 2 layers into 1 layer, and it created sliver polygons. I used the elimination tool to merge them with neighboring polygons. As as result, it merges all sliver polygons to only one polygon ...
5
votes
1answer
1k views

How to create a polygon from other polygon boundaries?

I want to write an algorithm that creates a polygon inside a hole made by a set of other polygons. It's something like a flood fill and it's like the "boundary" tool in Autocad. The image shows an ...
5
votes
2answers
631 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, ...
5
votes
2answers
3k views

How do I get that polygon from Javascript ArcGIS API?

I would like to have a user draw a Polygon (or Line) onto a web map with the Javascript ArcGIS API drawing tools. For the life of me I can't figure out how to pull that polygon from the client and get ...