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

summing up over an area based on a distance related function

Through a field study, we learned that the density of a bird species in the forest was related to the distance to forest edge: ln(density) = 1.89*(distance to edge) + 0.34 Now, for any forest ...
3
votes
3answers
343 views

How do I sort polygons by their 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 ...
1
vote
4answers
3k views

Sum of areas in all each polygon layer?

I've got several layers/feature classes in an ArcMap 10 project. Thanks to everyone's help, I'm able to get the areas for the polygons contained within each layer. By opening the attribute tables ...
11
votes
3answers
2k views

Optimizing a nearest neighbor calculation using PostGIS

I'm using PostGIS to calculate the nearest neighbors of polygons. What I want to calculate is the minimum distance from each polygon, to the nearest polygon. Thus far I have got great help from Mike ...
1
vote
0answers
412 views

How to clip the contour map with the polygon using R software?

Hi I am wondering how can I create the contour lines from the discrete x, y and z dataset and then add the shapefile to cut the contour lines by polygon. I want to clip the contour map by the shape ...
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 ...
4
votes
3answers
282 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, ...
5
votes
2answers
510 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? ...
0
votes
3answers
324 views

Calculate 'Rectangle' Coordinates Given 2 Points and width [closed]

I want to create a rectangular polygon using two points as guides. So let's say a journey starts in Egypt and ends in London, my polygon should have 4 points: 10 miles further from London than Egypt ...
3
votes
1answer
356 views

Qgis analysis on polygon

I have a data table mapped and the table also contains further information of interest, beyond the lat/long of the specific data points. I want to be able to draw a polygon and then simply have a ...
2
votes
1answer
96 views

What is the PostGIS function for retrieving buildings by road side?

I want to get information of buildings by the road side only. Assuming that the building table has multi-polygon geometry and the road table has multi-linestring geometry, what would be a pgSQL Query ...
2
votes
1answer
361 views

How to remove a hole from a polygon in OpenLayers?

Is it possible to remove a hole from a polygon by using OpenLayers? How can I do so?
6
votes
1answer
360 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, ...
3
votes
0answers
155 views

Closest set of points to another set of (predefined) points

I have 10 sets of points which I call templates that I have manually classified from 0 to 10. Each point is a X, Y coordinate in a text file. Each template has 5-8 points. I have new sets of points ...
2
votes
1answer
189 views

Obtain normalized raster average per polygon?

I have a raster that contains percentages of total forest killed plus a polygon layer that defines different zones. My goal is to find a good statistical representative that describes the forest ...
9
votes
3answers
727 views

How to sum up values of neighbouring polygons?

I hope that you can help me with the following problem: I have a vector (polygon) layer. I would like to add an attribute to the layer that - for every polygon - sums the values of a specific field of ...
11
votes
3answers
311 views

How to improve drawn shapes in Quantum-GIS?

I have a polygon-shape in qgis-1.7.0 and want to fix overlays and gaps between the edges of adjacent polygons. See image below. Is there any automated way to do this in quantum-gis? Or any other ...
3
votes
1answer
3k views

How to enable “snapping” in Quantum-GIS while drawing polygons?

I tried to draw polygons in qgis-1.7.0 and I somehow can't find or failed to find the "snapping" option. I'm used to ArcGIS-10.0 where you have some snapping options, like placing points of polygons ...
6
votes
2answers
234 views

How do different GIS systems determine a Polygon's interior?

I'm interested in understanding how real-world GIS systems and their data encode Polygons. Specifically, how do they resolve the ambiguity of a Polygon's interior on a sphere? Background: in 2D, ...
4
votes
0answers
258 views

How to write a script to square polygon corners?

I'm looking for a script that will square the corners of polygons that are near 90 degrees but not exactly. Near could be dealt with via a variable, for example within 5 degrees of 90 (85 - 95 ...
11
votes
4answers
1k views

How to colour polygons with a completely transparent fill using MapServer?

Is it possible to fill polygons so that they are completely transparent in MapServer? I want to have a black background that is slightly opaque, and wherever there is a polygon I want that to be ...
0
votes
1answer
450 views

OpenLayers polygon fill not working with GeoJSON file as source

I'm trying to visualise some data in a custom shape on a map, and I'm stuck with styling it. I'm currently using the openlayers framework in combination with a geoJSON file that I generate in code. ...
2
votes
3answers
281 views

How to calculate exact area of a loaded jpg map in to arcmap?

I calculated the polygon area through arcmap.but i'm not sure that the area is not actual,may be scale is not right. so how to calculate the exact area of a jpg image?
3
votes
2answers
458 views

How to filter out multipart polygons and then buffer?

I've written a small script trying to accomplish the task described in the question title. It basically looks like: in_fc = '...' # Some shapefile goes here # Get the fields (column names) of the ...
1
vote
0answers
29 views

area weighted average for overlapping polygons [duplicate]

Possible Duplicate: How to use NASS county level crop data to estimate crop acreage in hydrologic regions? It seems like an easy problem but I don't know how to go about it. I have two ...
5
votes
1answer
935 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, ...
11
votes
5answers
3k views

Get Raster Values from a Polygon Overlay in Opensource GIS Solutions

I have two layers. A polygon-shape-layer with many tiles and a raster-layer containing CORINE 2006 land cover with many categories in a colourmap. I want to obtain for each polygon in the shapelayer a ...
1
vote
0answers
517 views

How to handle postgresql/postgis geometry type errors in a function?

I have created the following function in PL/SQL to make a polygon from a set of linestrings: CREATE OR REPLACE FUNCTION _myfunction( _fid integer, _rid integer ) RETURNS VOID AS $$ ...
4
votes
1answer
432 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 ...
1
vote
1answer
309 views

Is it possible to have self intersecting polygons in GML or shapefile?

GIS vector data for example GML or shapefile contains polygonal data. Lets assume, we have polygon A which has self-intersection which means that the edges in this polygon intersect with each other. ...
7
votes
2answers
1k views

Proper way to rbind SpatialPolygonsDataFrames with identical polygon IDs?

What's the proper R idiom for rbinding SPDFs together when the IDs overlap? Note that here (as is often the case) the IDs are basically meaningless so it's pretty annoying that I can't just make ...
3
votes
2answers
237 views

Determine density or cover from a raster layer that has been clipped by a polygon

I am a very new GIS user using ArcMap 10. I have a raster layer of tree canopy that I have clipped so that the layer is in a polygon that is a circle with a 2km radius. I have done this for four ...
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 ...
2
votes
2answers
949 views

Problem creating polygon features using ArcObjects / ArcGIS 10

I need to create a grid of polygons. Each polygon is rectangle, thus has 4 corners (vertices). When I create polygon features using ArcObjects they seem to have wrong geometry, which results in wrong ...
2
votes
0answers
139 views

How to dissolve polygons that have been split back into their original polygons?

I had a feature class containging about a thousand polygons.After some processing such as intersecting, dissolving, merging, more intersecting, I ended up with a feature class of about 6000 polys. ...
1
vote
1answer
160 views

gdal_rasterize -at function still won't capture covered pixels properly

I'm currently using the gdal_rasterize tool in bash. My code looks like this: gdal_rasterize -l $(basename $file .shp) -burn 1 -a_nodata 0 -te -180 -90 180 90 -tr 0.1 0.01 -at -ot Byte $file ...
1
vote
2answers
83 views

How to query points that fall outside their designated regions?

I have a shapefile with 250 points. Each point has a region attribute. In another shapefile I have all the possible regions with their names (it is polyline geometry). Unfortunately the coordinates ...
1
vote
2answers
162 views

information from a shapefile to another shapefile

I am very new to GIS and learning by myself so what I'm about to ask is possibly quite basic. I am using QGIS. I have a shapefile, which categorizes areas (land cover) by numbers (corresponding to ...
1
vote
0answers
122 views

Creating responsive interaction with tiled maps

I think I may have two conflicting aims but... I need to create responsive Choropleth map very similar to http://leafletjs.com/examples/choropleth.html or ...
5
votes
2answers
755 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 ...
6
votes
0answers
675 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 ...
0
votes
0answers
42 views

Point to Polygon [duplicate]

Possible Duplicate: Create new polygon layers from postcodes latitude & longitude I'm running QGIS 1.8.0 I have a list of points that I need to convert to one polygon. So far I have ...
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 ...
10
votes
6answers
1k views

How do I make a heat or Choropleth map that uses polygons in QGis?

I've been playing around with the heatmap plugin for QGIS and I am wondering if it is possible to make heatmap with using a similar plugin/tool that uses polygons as well as points? I would like to ...
2
votes
1answer
712 views

Convert shapefile in NAD27 from meters to decimal degrees to match xy data?

I have a shapefile of a boundary (polygon) that has the following projection: NAD_1927_UTM_Zone_11N Projection: Transverse_Mercator False_Easting: 500000.00000000 False_Northing: ...
1
vote
1answer
1k views

QGIS, how do you break segments of a polygon, ie break 1 polygon into 2 or more?

I have a polygon but would like it to be in broken up to put into different layers. I can't work out how to do this.
2
votes
1answer
234 views

joining a table from zonal statistics as table with a layer, problem with reserved names

I have a raster file (percentage of total forest killed) and a shapefile with polygons (municipalities). I thought as a first step I would like to find out which municipality shows the greatest ...
4
votes
1answer
223 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
1k 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 ...
0
votes
2answers
4k views

How to delete polygon in Openlayers

I would like to delete my polygon in Openlayers after i have drawn it. <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> html, body, #map { ...