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

5
votes
2answers
6k views

How to calculate polygon areas and perimeters?

If I load a polygon layer and make a new column, how do I fill that column with the 1) area of each polygon and another column with 2) the length of the perimeter of each polygon?
5
votes
3answers
1k views

How to identify feature vertices that are part of a donut hole in ArcGIS 10?

I´m exporting the coordinates of polygon vertices to a CSV-File using the "Feature Vertices to Points" and then the "Export feature attributes to ASCII"-tools. Some of these polygons have holes ...
5
votes
4answers
2k views

How to remove only donut holes from polygons using ArcGIS Desktop 10.0?

I have a trick for removing the donut holes, which is converting the polygon to line and then creating polygon out of the lines and in the end merging all of them. The drawback of this strategy is ...
5
votes
1answer
1k views

How to calculate the size of a particular area below a buffer in QGIS

I have a point shapefile of villages where data was collected in Northern Kenya. I created a buffer around those villages. The second vector layer contains polygons defining areas according to ...
5
votes
2answers
2k 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
2answers
10k views

How to combine adjacent polygons sharing similar trait into single polygon?

I have a large dataset of habitat classes which I have further simplified down into my own unique classes. However, it resulted in there being habitats adjacent to each other with the same forest ...
5
votes
2answers
2k views

How to disable polygon Label on the vertices (OpenLayers) in Edit Mode

I added the style on the polygon layer like so. var style = $.extend(true, {}, OpenLayers.Feature.Vector.style['default']); // get a copy of the default style style.label = "1233456 ha" ...
5
votes
3answers
1k views

Why doesn't the split tool return any records in the attribute table?

I've been trying to split a large land use shapefile using a set of study area polygons as the split feature, but when the function finally finishes running (the land use dataset is quite large), all ...
5
votes
1answer
1k 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
1answer
616 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
365 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
405 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
1answer
1k views

Copy a polygon geometry in Arcpy

This to me sounded very simple so I am probably missing something basic here. What I need to do is to create a copy of a polygon shapefile to a new shapefile with slightly different attributes. Where ...
5
votes
1answer
2k views

How can I transform a polygon to a linestring in QGIS?

I have a polygon, imported from a shapefile in QGIS. I would like transform it to a linestring instead so I can save it as a GPX file later. How can I transform a polygon to a linestring in QGIS?
5
votes
3answers
1k 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
2answers
535 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
2k views

OpenStreetMap Neighborhood Boundaries

Is it possible to download neighborhood boundaries from OpenStreetMap? I see on maps that they often indicate neighborhood names; is there a way to retrieve their coordinates and boundary polygon ...
5
votes
1answer
952 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
2answers
965 views

Django PolygonField: how to display on map?

Extremely beginner question. I have a GeoDjango model with a MultiPolygonField. How do I retrieve the value of this field and display it as a polygon on a map? class county(models.Model): cd = ...
5
votes
1answer
423 views

Easily calculate “roundness/compactness” of a polygon

I am trying to find ways to quantitatively describe the shapes of various polygons. For my project, these polygons represent lakes, rivers, lagoons, and parks. So they can be almost any shape. One ...
5
votes
1answer
417 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
2answers
299 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
1answer
1k views

Polygon label repeated for each tile

I'm using the standalone GeoWebCache to serv tiles from a remote GeoServer. My problem is that the polygon label is added to each one of the tiles served, instead of only once in the polygon centroid. ...
5
votes
1answer
1k views

finding the long axis of an irregular polygon

Hi need some help in how to find the long axis of an irregular shaped ellipse using ArcGIS. I have found the centroid but don't know how to determine the longest distance.
5
votes
1answer
632 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
789 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
3answers
2k views

How to interpolate into polygons?

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
2answers
2k views

Removing sliver polygons, ArcGIS 10

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
3answers
5k views

Getting polygons of all countries and ISO-3166-2 subdivisons

In order to do reverse geocoding lookups to find a country (as ISO-3166-1) and the subdivision (as ISO-3166-2) for given coordinates I am looking for a way to get all polygons of all countries and ...
5
votes
1answer
2k views

Count number of unique raster pixels in polygon using ArcMap?

I have a polygon shapefile and I want to generate a table of a count for each pixel value in each polygon. My main goal is to find out what pixel is most abundant in each polygon. I am using ArcMap ...
5
votes
1answer
812 views

Identify polygon overlaps within single shapefile

Using either QGIS (1.9) or ArcInfo (9.3.1) I'm trying to identify unique overlaps of prehistoric building footprints from an archaeological site recorded within a single polygon shapefile. While the ...
5
votes
4answers
384 views

How to computational efficiently check if there are any overlapping polygons in a group of polygons?

I need to do some processing with groups of polygons. If any of the polygons in the group overlaps other polygon the result is unpredictable and don't throw any error. So, I need to detect if there is ...
5
votes
2answers
731 views

Tips for minimizing shapefile size without compromising geographical detail?

I work for a state government's fisheries service, and lately we've been digitizing a lot of our regulatory boundaries within the state's waters that we'd like to service out on web maps. ...
5
votes
2answers
1k views

How to sum pixel values within a polygon zone in QGIS?

I have two layers: a raster layer and a vector layer (polygon). I can see the values of the raster pixels but I don't know how to combine them with information from the polygon layer. More ...
5
votes
1answer
98 views

How do you edit a stack of polygons simultaneously?

Using ArcMap 10.1. Lets say you have 100 polygons that all are in the exact same shape and in the exact same place. They appear to be one polygon. How would you edit the shape of all 100 at the same ...
5
votes
1answer
977 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
198 views

How to calculate the area between two line shapes?

I'm a newbie using QGIS (2.0). I'm trying to calculate the sidewalk area of a city. For that I have some shapes, extracted from Mricostation, with the topology (facades, fords, fences, etc.), but ...
5
votes
2answers
649 views

How to combine data from overlapping polygons?

Here's what I'm working with: Shape file of the current 32 Congressional districts for all states Shape file of the tract boundaries for Texas A DBF format table of Hispanic counts and proportions ...
5
votes
1answer
71 views

Geographic locators within Polygons

I have a list of geographic locators and a boundary file. In QGIS, is there any way merging them together to create a lookup saying this boundary contains these locators? Not the number the actual ...
5
votes
1answer
180 views

How can I increase performance on inserting features with polygon geometry?

I have a problem when inserting features with polygon feature class in FGDB. This is my code: ... initialising some fields (does not affect performance) m_featureBuffer.Shape = ...
5
votes
1answer
692 views

Export selected raster cells to polygon

I have selected certain values in a raster (roughly 1000 cells), and would like to export them to be able to create a polygon. Converting it to points first then to polygons does not work. Can anyone ...
5
votes
1answer
214 views

algorithm for displaying holes in a polygon by translating it into several hole-less polygons?

I'd like to plot polygons with holes on a framework that doesn't support holes. The approach to me seems to be to translate the single polygon into several ones adding up to the whole polygon, leaving ...
5
votes
1answer
2k views

How to calculate polygon area considering slopes?

I am looking for an accurate algorithm or a service to calculate surface area on earth where points are calculated on the basis of GPS Coordinates. I am using Google Map Api version 3 and are drawing ...
5
votes
3answers
286 views

How to combine stacked polygons within a shapefile?

The image below shows my shp-file. Every polygon has the same transparent color. So a darker blue means, that several polygons are stacked! How do I cut every polygon with each other so no polygons ...
5
votes
1answer
148 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 ...
5
votes
3answers
369 views

Polygonize vegetation area from Landsat7 RGB using QGis / Bilko?

I'm trying to extract the areas with vegetation as a polygon-shape from a landsat7-image, 30m resolution, RGB, using QGis 1.8 or Bilko or (hopefully in the near future) ArcGIS. The area is in Northern ...
5
votes
0answers
165 views

How to rotate polygon to find best fit in Mapnik? [closed]

I have a quite simple problem but somehow I just fail to solve it. There is a polygon and a range xsize and ysize. The x and y size determines the mapnik generated image. The polygon should now be ...
4
votes
5answers
1k views

Simplify shapefile parcel layer

I have a very large shapefile with over a million parcels within it. The problem I am having is that the polygons representing each parcel are very jagged. What I am looking for is a simple and fast ...
4
votes
5answers
21k views

How to connect points with a polyline in ArcMap 10?

I have a layer containing a few hundred points representing a survey track. The points are laid out in chronological order in the corresponding attribute table. How can I have ArcMap 10 automatically ...
4
votes
3answers
3k views

Convert multiple lines into single line

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 ...