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

0
votes
1answer
185 views

How to send polygon data to wms?

I use OpenLayers and GeoServer. I can read kml file format from OpenLayers. And I want to edit this polygon in kml. So I want polygon data(polygon circle and center coordinate etc..) to GeoServer.
2
votes
2answers
819 views

Iterating polygons on a SpatialPolygonsDataFrame in R with readWKT

I have fetched some data (39 objects) from my PostGIS database and converted this data into a matrix: rs <- dbSendQuery(con, "SELECT ST_AsText(polygon_accumulation) AS ShapeWKT from ...
2
votes
1answer
560 views

Why is field calculator returning NULL for $x and $y in line and polygon layers?

I am trying to include XY coordinates in the attribute tables of several of my vector files; they are line and polygon files. I have tried two methods; first I used $x and $y in the field calculator ...
4
votes
1answer
773 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 ...
0
votes
1answer
442 views

How to convert OSM polyline data to polygons?

I just now downloaded OSM data .I am having the data as polylines. I want that polylines as polygons is it possible in Qgis?below I also posted the screen shot of the polyline also.
3
votes
2answers
129 views

Determining closest representation of polygon as collection of points+radii

Have a bit of a tough question, which I realize there may not be an easy solution to. Figured what better place to ask. I'm attempting to transform a polygon into a series of arbitrary points with ...
0
votes
2answers
706 views

ArcGIS 10.1 - Using Polygon Neighbors with dissolved polygons

I've used polygon neighbors to find all neighbors of a polygon layer, which I then use to look up all possible neighbor combinations and dissolve the polygons into all possible combinations of two ...
1
vote
1answer
672 views

identify percentage of raster cells within a polygon

As per the title I want to determine the population inside multiple polygons according to different land use zoning (High Residential, Low Residential, National Parks etc) that's in raster format. ...
0
votes
2answers
1k views

Detecting invalid polygons (self-intersecting or touching)

An invalid polygon can be defined as one that intersects itself, or one where the lines make contact, ie, the two shapes at the top of this picture. Given the XYPoints of a polygon, what logic ...
3
votes
2answers
874 views

How to do a Point to Polygon analysis with multiple variables in QGIS?

I have a database of almost 10k crimes, which are divided in to 10 categories and plotted on a map I also have a database of 12k addresses, which are also plotted on the map. I aim to perform a ...
0
votes
0answers
146 views

Polygon dynamic grid creation for a shape file

I have used QGIS Vector->ResearchTools-> Vector Grid to create a 1lat x 1 long grid for the landpolygon shape file (from osm). Now, I am interested in creating dynamic grid for the original ...
3
votes
3answers
327 views

How to change 0,360 WKT string to -180,180?

I'm reading POLYGON WKT strings using OpenLayers.Format.WKT().read(). The polygons use 0,360 longitudes but my map is -180,180. When I display the polygons on the map they are displayed outside of the ...
0
votes
1answer
302 views

Polygon grid shape file for landmass

I am interested in generating a polygon grid shape file for the landmass of the world. What I have presently is two tables in postgreSQL. Table 1: Coastal area shapefile ...
1
vote
1answer
106 views

problem in merging adjacent address polygons in qgis

I am having 15 polygon shape files of a sub locality of a city that is having address in their attribute table. I want to merge these polygons based on the address in the attribute table?how can i do ...
1
vote
1answer
194 views

How to count number of stores per company per region?

I have two layers. One point layer and a Polygon layer. It is simple to count the points in the polygon layer by the "points in polygon" function. But I also need some more information of the point ...
3
votes
0answers
130 views

Reshaping polygons while preserving area

I'm looking to manually skew the shapes of areal polygons, but need to ensure their areas are not altered. Is anyone aware of any GIS tools or programming workflows that exist for manually reshaping ...
1
vote
0answers
130 views

how to avoid Intersection of polygons via python code

i am using QGIS 1.8 and i can set the check box in Setting\Snapping Options "Snapping and Digitizing " dialog to avoid polygon intersections and enable topological editing but i am looking for a way ...
0
votes
1answer
75 views

Polygons Shrinking and Moving as if CRS Was Suddenly Out of Sync with Project

I long ago set the CRS for a linguistic geography project I'm working on involving Oklahoma data (EPSG:2836 - NAD83(HARN) / Oklahoma North), and I have been closely monitoring that the polygon ...
9
votes
2answers
436 views

Creating an “average” polygon

I found this thread in the old ESRI forums with the same type of problem I am facing today. The solution to the problem is explained in little detail and since I am not an expert, I was wondering if ...
1
vote
1answer
2k views

How do I write a MYSQL spatial query to find all polygons (rectangle) that contain any points in a table?

Something like: SELECT * from polygons WHERE bounds CONTAINS(SELECT geom_point from points) Can someone help me out with the syntax? Bounds will always be a rectangular polygon and everything is in ...
0
votes
1answer
106 views

Converting an Experian (Geoconcept) file to GPS coordinates

I'm working with a file containing Experian data which was used in Geoconcept. The file describes a serie of microzones, that is polygons. Unfortuntely the coordinates system is hard to understand: ...
0
votes
0answers
129 views

How to convert a set of points to a polygon based on a specific field in QGIS

I am having a point shapefile that consists of a number of point sets. I need to convert these points to a polygon based on a particular field in attribute table say for example locality . How can i ...
4
votes
1answer
1k 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 ...
3
votes
1answer
75 views

How many polygons under a point (ArcGIS solution preferred)

Opposite of Point in Poly. How many polygons underneath a point. I have a point layer with many points. I have a polygon layer with many polygons. I need to add an attribute to the points that ...
1
vote
3answers
1k views

How to change feature color?

I have feature (polygon) was gotten by spatial query from the map. How to change its color? I used this code but it didn't work IMxDocument mxDocument = application.Document as IMxDocument; ...
0
votes
0answers
2k views

How to split polygons based on other polygons?

In ArcGIS, I have a layer of polygons (created from the Service Area function) and want to split each one of those based on another polygon layer (the boroughs of London). The purpose is that I want ...
1
vote
0answers
685 views

How to Smooth Polygons after converting DEM using Raster to Polygon?

I have a DEM SRTM that I classify using Spatial Analyst Tools > Reclass > Reclassify. The result is box shaped so I go to Layer Properties > Display and choose cubic convolution. The result is ...
4
votes
1answer
2k views

combine raster and polygon values in R

My question is similar to this one Get Raster Values from a Polygon Overlay in Opensource GIS Solutions but I think I need another step. I have a polygon layer of ecoregions which I brought into R ...
-1
votes
2answers
664 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
146 views

Move shared vertices together

I should move some vertices of a polygon to fix the boundaries of a country, how can I do it while keeping the adjacent polygons still connected? Is there a way to anchor permanently overlapped ...
2
votes
1answer
196 views

Union of polygons doesn't work 100 % correctly

I'm using the function gUnaryUnion to merge polygons in R. In one particuliar case this doesn't work correctly - some of the old polygon contours are still visible: Can anybody help ?
2
votes
1answer
2k 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
1answer
891 views

Distance of points in polygon to nearest polygon edge

I have a polygon shapefile with about a dozen polygons (Area.shp). I have an equation that calculates a value for points (or small areas) as a function of distance to the edge of these polygons. I ...
1
vote
0answers
69 views

How to measure area of polygons generated from gps data in qgis? [duplicate]

Somebody classified my question as a duplicate. But applying the answer doesn't work for me. Here is what I did: - I made sure that my layer is in a projected coordinate system (UTM30N, WGS84) - I ...
6
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 ...
0
votes
0answers
82 views

Unwanted lines when cutting & merging polygons

I am using QGIS version 1.8.0. Sometimes when I cut or merge polygons I get unwanted lines left in them. On zooming in to them they do not appear to be slivers. Is there a way of getting rid of these ...
1
vote
0answers
281 views

Divide polygon evenly based on lines and intersection points

I have this purple polygon illustrated in the figure below. I would like to split the polygon so that each line segment (green) split the polygon evenly with the surrounding line segments. A line ...
1
vote
1answer
351 views

Sum of point attributes inside hexagons using QgiS UI

I'm very new to Qgis so I would very much appreciate any help you can give me. I have a point shapefile that corresponds to locations of animals captured. I've joined a table to this shapefile with ...
0
votes
1answer
81 views

How can I know the number of polygons in a selected area in QGIS

How can I know the number of polygons in a selected area in QGIS? Can I use the Select features tool? How can I use? Thank you
1
vote
1answer
225 views

Aggregating a raster to fit a polygon grid

I am working at the scale of 10 square km grid cells for the UK, and have a polygon layer of the Ordnance Survey 10k grid cells in ArcGIS. I have another layer of the human footprint index, also for ...
4
votes
1answer
2k views

How to add CSV data with no coordinates to a polygon layer in QGIS?

I would like to add attributes from an spss database (around 300 cases) to a polygon layer in QGIS. Both datasets have a column with unique IDs. I exported the spss data to a CSV file which does not ...
0
votes
1answer
105 views

Can this compilation and display of species frequency data be improved? QGIS 1.8.0

As a newbie on QGIS, I would like to find out if the way I put a species frequency map together could be improved upon. I had to map the presence or absence of 7 plant species surveyed in 30 2m x 2m ...
6
votes
1answer
2k 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 ...
1
vote
4answers
201 views

How can I calculate different polygons by different attributes?

I'm doing my master thesis and want to calculate different polygons (in QGIS 1.8 for Mac) in four different columns which I defined by different attributes. i.e. some of the attributes in the first ...
0
votes
0answers
94 views

Tiles cover Polygon on zoom and move

i'm using OpenLayers.Geometry.Polygon.createRegularPolygon to generate some nice circles. After i draw them to the Map i'm Moving them and after some while they where hiding by some tiles. The circle ...
0
votes
0answers
147 views

How to create sector figure in ArcObject?

How to create sector in ArcObject 10.1? Now I draw one point, two lines, two arks. But I think it is not good. It is differents objects. I need one object. Well. Now I drawing: IElementCollection ...
0
votes
1answer
381 views

How to find and quantify duplicate vertices on a polygon/polyline in ArcGIS 10.0

I need to clean up topological errors in various shapefiles and databases. I did read that the Repair Geometry tool could clean duplicate vertices but how can I know the number of errors before and ...
5
votes
4answers
15k 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 ...
4
votes
2answers
1k 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 ...
5
votes
2answers
755 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, ...