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

4
votes
3answers
145 views

Select the most distant vertex from polygon's centroid using ArcPy

I have a poligon and the polygon's centroid. I want to select the most distant vertex from centroid (picture: point A). I used arcpy.FeatureVerticesToPoints_management to create a feature class ...
4
votes
1answer
3k views

Cut polygon shapefile by line shapefile

I have two shapefiles, a polygon shapefile (lake) and a line shapefile (boudary) I want to create a new shapefile "polygon to the north of the boundary" What tool can I use in QGIS or other free ...
4
votes
2answers
4k views

How to find polygons within polygon using ArcGIS Desktop?

I am new to GIS and ArcGIS. I have a problem I need to solve: I have a set of polygons, some of which enclose other polygons. They are lake polygons, and within lake polygons, are smaller island ...
4
votes
2answers
97 views

Dissolving/Unifying Ill Behaved/Irregular Polygons in R

I'm working on a project involving bringing together multiple subjects circling difficult to find parts of an image. The output from users is pretty awesome. Cool, right? However, what I want is ...
4
votes
2answers
821 views

How to average values in a point layer with respect to polygon layer in QGIS?

I am new to GIS and have the following problem: I have 2 layers: a point layer with a column that contains numbers (pollution index from specific measurement point) and a polygon layer with different ...
4
votes
3answers
485 views

How to subset X number of features from Shape file in QGIS

I'm looking for a means to take a rather large Shape file and split it out into separate, smaller shapefiles based on number of features. So for example, if I have a file with 1 million features, ...
4
votes
1answer
602 views

Iterate features on SpatialPolygonsDataFrame in R

I have a SpatialPolygonsDataFrame object. Is there way to use apply on this object rather than using a for loop to iterate features in this object?
4
votes
3answers
1k views

How to Clip a Vector File based on certain Raster Values?

I need to clip a vector file based on certain values of a raster (Slope > 2%). I can´t find a direct way to do it. Trying to vectorize the raster first didn´t work. Is there any tool (ArcGIS or ...
4
votes
1answer
3k views

How to select and copy a group of polygons in QGIS?

I'm new to QGIS. I opened a few shapefiles that cover Europe. Now I want to select a smaller area and if possible copy the polygons in this area so I can work with a smaller set. How should I do this ...
4
votes
2answers
4k views

ArcObjects - Finding the intersection of a polyline and polygon?

I have a polyline and polygon. The polyline will intersect the polygon at two or fewer points. I would like to get these intersection points as X and Y values. EDIT: Here is a quick code sample using ...
4
votes
1answer
4k views

Converting tax map polygons from Shapefile to table of map number and corner coordinates

Fairfax County, Virginia provides a Shapefile here which shows the boundaries of the tax maps as polygons. Each polygon simply consists of four corners, and what I'd like to do is create a table ...
4
votes
2answers
759 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 ...
4
votes
2answers
114 views

“Levelling” elevation data coinciding with polygon?

I have a shapefile containing building geometries (polygons) and a elevation dataset. The elevation data doesn't perfectly match the buildings. I want to "flatten" the elevation data so that ...
4
votes
1answer
884 views

ArcMap 10.1 SP Spatial Join Problem (lines within polygon)

I have a line layer (faults) and a polygon layer (fishnet grid). The fishnet has a risk of earthquake attributed to each polygon. I want to take that risk value and give it to the fault lines which ...
4
votes
4answers
588 views

ArcGis 10 - create polygons as % of original

Could someone help me with the following? I have a polygon shapefile and need to create new polygons, within the originals, as % of original area. I used buffer by field (Field= new area as %) but the ...
4
votes
2answers
695 views

How do I find the average distance within a polygon to a point?

For my purposes, I can assume a homogeneous distribution of points within the polygon. What I want to find is the average distance from points within a polygon to a specified point. I don't know where ...
4
votes
1answer
267 views

Polygon to Raster taking longer in script than in ArcMap?

I have a large dataset that I am working with. Basically I have a table with 900,000 records that I join to a geodatabase feature layer, then convert that to a raster. This process takes a total of ...
4
votes
1answer
6k views

How do i calculate line segment lengths within a polygon?

I have a layer with line segments and a layer of polygons (in this case, buffers around points). I need to create a new field for each polygon that contains the total length of all line segments ...
4
votes
1answer
782 views

Extracting donut holes as separate layer in QGIS

Does anyone know how I can extract the holes in a polygon layer as a separate layer in Quantum GIS? An example could be a country with a number of lakes cut out of the polygon - I need the lakes. I ...
4
votes
3answers
974 views

How to split features?

I would like to split a shapefile in qgis according to how the polygons overlaps. Don't know how to though? See pic for explanation:
4
votes
2answers
631 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 ...
4
votes
1answer
296 views

Validating polygons for no gaps/overlaps/slivers using ArcGIS Desktop?

I would like to assess the spatial accuracy of a load of polygon shapefiles which are supposed to show air quality for a bunch of countries. Firstly I want to assess whether each shapefile has a ...
4
votes
3answers
8k views

How can I calculate the center point inside a polygon in ArcGIS 9.3?

I'm using the JavaScript API 1.6 on ArcGIS 9.3. I have a polygon geometry in an ArcGIS map, and I'm trying to find a way to get the point that lies in the exact center of the geometry. What is the ...
4
votes
2answers
2k views

How to Polygonize a polyline shapefile in QGIS 2.2?

When I used QGIS 1.8, I was able to transform polyline layers to polygon layers with the Polygonizer plugin. In QGIS 2.2, this function has been subsumed into the Processing toolbox. Unfortunately, ...
4
votes
1answer
268 views

intersection between two multipolygons yielding anomalous GeometryCollection object full of LineString's & Polygon's (trying to get intersect area)

Normally when I call the #intersection method on a multipolygon to find the intersection shape on another multipolygon I get a multipolygon returned back to me. Either that or something else I can ...
4
votes
2answers
2k 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 ...
4
votes
1answer
345 views

Raster to vector with gaps in Landsat ETM

I need to find size of water area from a raster (jpg) using QGIS 1.8.0-Lisboa. The raster is a Landsat image with gaps of data in it. I used Polygonize, but the output file shows wrong polygon size ...
4
votes
1answer
469 views

Sub-dividing a polygon into smaller polygons

In OpenStreetMap data, some large areas are tagged with a residential=yes tag. Actually within this large polygon there are multiple smaller (rectangular) houses (which are actually not drawn as yet). ...
4
votes
1answer
365 views

Determining if Polygon Contains Negative Space using ArcGIS SOAP Web Service?

I am running queries against a polygon layer using the ArcGIS SOAP Web Service. A user selects a point within that layer and the resulting feature set contains PolygonN objects. Occasionally, the ...
4
votes
3answers
241 views

How to compute the outline of multiple tracks?

I have multiple gps tracks with depth data gathered from the lake. The tracks are overlapping/intersecting. I want to get an outline polygon. I have a multi-line shp. I've tried to diffuse it in qgis ...
4
votes
1answer
322 views

Splitting polygons leaves null values

I'm trying to split polygons with overlaping line features, using Split Polygons tool from Topology toolbar. The problem I encounter is that only one from new polygons have old attributes and others ...
4
votes
1answer
3k views

Arcgis 10: Point layer, polygon line layer, draw points to the nearest polygon point or other nearest line?

I have been using arcGIS for a while now but I often get frustrated with it :( I have version 10.0 arcGIS and I'm have two layers 1) Point data (building locations) 2) a polygon shape file (outline ...
4
votes
3answers
1k views

Calculate neighborhood statistics for polygons?

I've been searching around for the answer to this (including here) and have yet to find it. I'm interested in finding out how to calculate a 'neighborhood sum' for vector, polygon data. I am aware ...
4
votes
1answer
2k views

Create overlapping polygons from contour lines

Working in ArcGIS 10, I have a set of contour lines representing density of commercial square footage, and I have a set of points representing local maxima for each peak of the dataset. For each ...
4
votes
2answers
432 views

How to programmatically delete all inner rings of a polygon layer?

I have many polygon layers, each layer containing many polygons with inner rings. I know that you can delete a ring manually with QGis (Edit -> Delete ring). I need the python equivalent to ...
4
votes
2answers
525 views

What methods exist for geohash of polygon?

GeoHash is an excellent method to code the latitude and longitude of a point into a string. It's concise, due to the use of numbers + letters, and the precision can be tuned adding characters at the ...
4
votes
2answers
441 views

Converting shapefile to raster: Character attributes

I've got a shapefile that I would like to convert into a raster, but the trick is that the attribute I want a raster version of is character data. I'm familiar with geoprocessing using GDAL (in the ...
4
votes
1answer
205 views

Merge polygon without attribute (in field) with nearest polygon with attribute

In the image you can see districts in BLUE with attributes (name of district) and small pieces in RED. The red polygons belong to the blue and I want to merge them. The RED are only towards the ...
4
votes
1answer
135 views

Postgis 2.0 geographic polygon has max longitudinal range

My problem is that I have a load of geographic point data (srid 4326) in a table. A user may do a bounding box search - essentially create a polygon as follows: l_poly geography(Polygon,4326):= ...
4
votes
1answer
510 views

Merging partially overlapping polygons into a table in PostGIS

I have a couple of tables (three) with polygons (landuse coverage in this case). Within each table, there is no overlap, but between tables there might be a lot of overlap. I would like to combine ...
4
votes
1answer
761 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 ...
4
votes
1answer
445 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, ...
4
votes
1answer
1k views

How do I split polygons that cross the dateline?

I have a dataset of country borders which I obtained from: http://thematicmapping.org/downloads/world_borders.php/ I have that dataset in both shp and SQL, but I'll put out there that I don't feel ...
4
votes
1answer
2k views

GDAL - creating vector from raster

[SOLVED] Good day! I'm looking at either gdal_contour or gdal_polygonize.py to create a vector layer file from a raster file. I can create the vector file using either method, but it's upside down ...
4
votes
1answer
2k views

Convert shapefile lines to a polygon in GRASS

I have a shapefile of a map that is the outline of a number of islands. I would like to convert the lines into polygons (ie all islands filled in) using GRASS. I searched on how to do this with GRASS ...
4
votes
1answer
50 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
1answer
717 views

MongoDB: Search for polygons which have a certain location

Good day :). I am trying to implement a search feature on MongoDB using Mongoose.js , the short version of which is this: I tag locations on a map as polygons. and give them names. Then when an user ...
4
votes
0answers
96 views

Reducing Polygons [closed]

I am merging several data sources into one final answer via a fishnet. My problem is I have landcoverage with multiple attributes unioned to a fishnet. Now I want to eliminate the smaller polygons ...
3
votes
3answers
517 views

Sorting polygons by latitude?

We have a set of polygons which we would like to sort and number according to their latitude. This will make it easier for local authorities to relate to the numbers of the objects. I have looked ...
3
votes
2answers
3k views

How can I split a multi-part polygon into single polygons?

i want to split a multipart polygon which consists of several polygons into single polygons so I can delete each polygon without deleting them all at one time. I am using ArcGIS 10.