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

1
vote
1answer
149 views

How to export polygon coordinates?

How can I export each polygon-vertice's coordinate (every point coordinate of every polygon) of a polygon Geodatabase-feature class to an ascii text file (csv or txt)? I don't want to convert it to a ...
0
votes
1answer
64 views

How to automate creating box (rectangular) polygons in ArcGIS for Desktop?

Can anyone suggest a way to automate creating rectangle shaped polygons in ArcMap? If I had many 30m x 60m rectangles to digitize and I just want to click a starting corner coordinate on screen, ...
0
votes
1answer
91 views

How to calculate centroid of a polygon defined by a list of longitude/latitude points? [duplicate]

I've imported some polygons (ways) from OpenStreetMap and now want to calculate the centroids of them. For this purpose I wrote following code: final List<Point2D.Double> points = ...
3
votes
2answers
158 views

How to bring polygons closer to a point?

I have some scattered polygons with a lot of space between them. I want to make a thematic map but all that white space doesn't look very good, so I want to bring the polygons closer to the center of ...
3
votes
3answers
169 views

Determining the area of each polygon within a polygon boundary?

I have a series of maps representing a 1000m diameter around a point. These maps contain 40 different types of polygons that represent a land use (ex. Corn crop, Pasture). I want to select all ...
1
vote
1answer
59 views

Raster Data to Polygon [closed]

I need to "translate" raster information to a set of polygons. The raster to polygon tool will not work. I created a fishnet with the same resolution of the raster and converted it to polygons. I now ...
0
votes
1answer
438 views

Does MySQL has function which will return the points inside polygon?

I have MySQL database with polygons, and also the database with points (column longitude and column latitude), is it possible to return all points inside one polygon? Thanks!
2
votes
1answer
106 views

Does spherical equilateral triangle T contain point P?

I am working on a Python script to: compute the vertex coordinates of a geodesic sphere/icosahedron, project the triangles onto a sphere, then find which spherical triangle contains an arbitrary ...
2
votes
4answers
261 views

QGIS Polygon precision

I have a fairly straightforward question; is there a way to edit the precision of polygon points in QGIS so that each coordinate has the same number of decimal places? For example, the coordinate ...
1
vote
0answers
158 views

Locating the centroid (center of mass) of spherical polygons

I'm trying to work out how best to locate the centroid of an arbitrary shape draped over a unit sphere, with the input being ordered (clockwise or anti-cw) vertices for the shape boundary. The density ...
7
votes
2answers
255 views

Lossless Polygon Simplification?

Is there a standard/recommended algorithm for simplifying a polygon without shrinking any of its original boundaries? Right now I'm using TopologyPreservingSimplifer within JTS and running into ...
1
vote
0answers
284 views

How to get polygon coordinates for Google Map from .poly files (preferably in nodejs)?

I have .poly files with polygons of countries. I want to use those polygons to make Google Map polygon layers. How may I read lng and lat points of polygons from those poly files? They look like ...
1
vote
1answer
70 views

Heads up digitizing - Polygons overlay differently with two different Satellite images

I have been digitizing building footprints from satellite image using ArcGIS 10.1 . Field data collections is done with the use of four corner point GPS way point. Due to multipath errors, we are ...
1
vote
1answer
218 views

Failed to convert polygon to raster

I have two steps here. First select layer by attributes. Second convert polygon to raster. It failed when it goes to second step and kept giving me error 999999: Error executing function. I pasted my ...
1
vote
2answers
781 views

How to Merge/Dissolve Polygons By Common Attribute Field in QGIS?

I have joined corresponding Local Enterprise Partnerships table data into a polygon shape file containing UK Local Authorities. How do I Dissolve or Merge the the Local Authorities polygons by ...
2
votes
1answer
22 views

Selecting Polygon Features in QGIS Lisboa

I want to select and save as a separate shape file, a smaller section (polygon) from a whole island country which includes both land and shallow habitat coastal features (like coral reefs) and when I ...
1
vote
1answer
47 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 ...
2
votes
2answers
134 views

Convert polygons to KML file

I have a set of polygons out of which I want to make a KML file, my table schema is as follows : CREATE TABLE [dbo].[utilitygeo]( [ID] [int] NOT NULL, [PolygonID] [varchar](8000) NULL, ...
1
vote
1answer
268 views

Drawing polygons with Google Maps using local shape data

I am trying to draw a census tract on a Google map. It looks like Google Maps lets you draw polygons using longitude and latitude coordinates. However, the data that I have is not ...
0
votes
0answers
24 views

calculating mean and standard deviation for raster values using whole pixels within a polygon [duplicate]

i have a raster image and a corresponding shape file. i would like to calculate the statistics of the values within polygons which have a common attribute but only using pixels which are fully ...
2
votes
3answers
2k views

Openlayers get coordinates from polygon

please could someone help me and bless me with an example of how to get coordinates from a polygon in OpenLayers?
1
vote
0answers
46 views

When digitizing, polygons are inverted

I need to use QGIS to digitize my images. My images are scanning electron microscope (SEM) images of rocks. I am interested in analyzing the pore space in the images. Here is the steps I follow: I ...
0
votes
2answers
114 views

“Identity” overlay in QGIS?

I have two polygon layers I'd like to overlay using QGIS or another open source tool. What I want as output is a polygon layer with the extent of one polygon, but with each polygon in that layer ...
0
votes
0answers
17 views

Classifying raster pixels using polygons [duplicate]

I am trying to retrace some steps from an experiment I conducted a couple weeks ago. To make a long story short: I didn't think it was the right result so I didn't write down my procedures. I think ...
3
votes
1answer
60 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 ...
2
votes
1answer
360 views

When I finish drawing a polygon, it disappears again (although appearing in my attribute table)

I'm working with Quantum GIS at this moment. And as the title says, when I finish drawing a polygon, it disappears again. The new object does appear in my attribute table and in the legend/'filling of ...
0
votes
0answers
36 views

Align a polygon to a point in another layer - QGIS

I had a rectangle in a polygon layer, and a point in another layer. How can I align the polygon centroid to that point ? I'm doing manually with the move polygon tool, but it would be great if i can ...
0
votes
1answer
94 views

ARCGIS 10- Cutting down a tiff file layer to a smaller polygon?

I have a dynamic land map featuring open forest, closed forest ect of an area which is a tiff layer file. I want to be able to cut the layer file to my area of interest, the polygon I created? I also ...
1
vote
0answers
50 views

Delete polygon underlap?

I am editing a layer in QGIS with severe polygon overlaps. Is there a way to delete the underlapping portions (i.e. the invisible parts) using QGIS? If I import the layer into GRASS using the ...
6
votes
2answers
448 views

How to remove small “salt & pepper” polygons from a layer?

I have a map made up of multiple polygons, with a few hundred thousand points very small polygons on within it. I need the larger polygons, but not the points small polygons. How do I select and ...
1
vote
1answer
118 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
0answers
606 views

How to remove small polygons in ArcGIS 10 using extension by Gonza2?

Does anybody have experience and success working with the Remove small polygons from a feature class script tool by Gonza2 in ArcGIS 10? The extension works perfectly in previous version of ArcGIS ...
4
votes
3answers
968 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 ...
3
votes
1answer
88 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 ...
1
vote
0answers
208 views

Google map showing Overlapping Boundaries [closed]

I am working in process of building an online Geocoding and Reverse Geocoding Service .For That I have been preparing a database by creating a centroid point in a shapefile and sending the point to ...
4
votes
1answer
166 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() ...
2
votes
1answer
199 views

Tearing in ggmap (R) after using spTransform and random point generation using splancs

I am using R and the package ggmap to try and generate some random points within the city limits of Chapel Hill, NC. I have downloaded the shapefile for the town of Chapel Hill from the Orange County ...
3
votes
3answers
313 views

How to make mapable geo data from a solid jpg/png

I have a bunch of hardiness zones, as you can see here: http://mangoly.herokuapp.com/workroom/googlemaps/zones/ They are solid colored PNG images. I know the geo coordinates of the bottom left hand ...
1
vote
1answer
253 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. ...
3
votes
4answers
721 views

How to import polygons from OSM to QGIS?

I am trying to import Polygons from OSM to QGIS 2.0, but so far I have no idea how to do that. E. g.: Kisterseg auf Tatabanya in HU: http://www.openstreetmap.org/?relation=1027806 Is there any fast ...
1
vote
2answers
659 views

Find and list all polygons that overlap with another polygon

I am working with two polygon layers which overlap but are unrelated (one is congressional district boundaries, the other is MPO area boundaries). I would like to generate a list of all the ...
1
vote
1answer
44 views

How to get a centroid of a closed line in MYSQL

I have a table that contains only closed lines (lines where endpoint is the same as startpoint). I would need to find a centroid for those lines. How would I be able to achieve it? It does not ...
0
votes
0answers
47 views

Dissolving overlapping polygons - issue in QGIS [duplicate]

I have the OS Code-Point map which I want to dissolve into the regions that my company use. I have used the dissolve function in QGIS, but it is having a problem where a vertical street overlaps with ...
14
votes
3answers
953 views

How to find the maximum-area-rectangle inside a convex polygon?

In this post we are looking for algorithms / ideas on how to find the maximum-area-rectangle inside a convex polygon. In the following figure, numbers are the areas of the fitted rectangles. As shown ...
1
vote
1answer
63 views

How to find out to which polygon each points belongs to?

I have searched for an answer to this, but couldn't find anything useful. I have got a shapefile consisting of a number of polygons, and another shapefile with a number of points. I want to add a ...
1
vote
2answers
74 views

QGIS point sampling tool really slow for polygons?

I have a large field of randomly distributed points (100,000 of them to be precise), and I'd like to get values for a variety of raster and polygon coverages for each point. I've been using the QGIS ...
1
vote
1answer
74 views

What is the best public geoservice for getting data about buildings?

What is the best public geoservice for getting data about buildings, which is free? Or maybe it's better to ask "does exist such a public service?" I want to add some 3d polygons to my 3d plane, ...
4
votes
1answer
112 views

What is the best format to encode polygons such as lakes?

I am looking for a standard format to encode polygons, such as lakes, in one file that is easy to create and common so that others can use it in different GIS systems. Every file will contain data on ...
14
votes
6answers
4k views

Generate points that lie inside polygon

I have polygon feature and want to be able to generate points inside it. I need this for one classification task. Generating random points until one is inside the polygon wouldn't work because it's ...
3
votes
3answers
186 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 ...