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

3
votes
2answers
448 views

UK area boundaries

I'm working on a web project that requires polygons and lat long coordinates for the boundares of towns, citys, countys and postcodes. Does anyone know where i can obtain this data? i know rightmove ...
2
votes
0answers
50 views

how to assign unique attribute value per neighborhood? [duplicate]

I have a feature class of adjacent polygons and I want to assign an integer attribute value to my polygons based on the following rules : a polygon must not have the same attribute value than any of ...
3
votes
1answer
181 views

Is it possible to split a polygon inside another one in QGIS simply?

I can split polygon if I put the points of start and end outside the boundaries. How can I do the same if I have a part that I want to split completely inside a polygon. In Arcgis I can do it if the ...
2
votes
4answers
2k views

Merge large number of polygons using QGIS

I have a series of polygons that are the output of another GIS program - I need to merge the polygons into a single polygon. I have tried a couple of different methods with no luck. I have tried to ...
0
votes
2answers
77 views

Select area which is at least x meters away from other geometries

In my table I have the build-up area from a region as a big number of polygons. urban_area: id | name | geometry(polygon) I was wondering if and how I would be able to find the area within a ...
4
votes
1answer
2k 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 ...
3
votes
1answer
410 views

Postgis identify points on the polygon border

I have points geom in gid,pt_geom and polygon geom in gid,pl_geom. Some of the points are inside polygon and some are outside polygon, others are on the polygon boundary. Is there any way to ...
2
votes
1answer
1k views

Creating polygons using offsets from other polygons

Wondering if you I might get some advice on how to best create a polygon within a polygon based on an offset in ArcGIS. I have one layer that is a cadastral layer and another that is a building ...
2
votes
3answers
793 views

How can I change map scale in ArcMap, after I'm almost finished digitizing? [closed]

I'm just about to design a map that represents different areas in my immediate living environment. I Unfortunately made a big mistake at the beginning of my project. The current scale is given by ...
3
votes
1answer
6k views

How to combine (join?) two overlapping polygons to determine combined area they cover?

How do I combine (join?) two overlapping polygons to determine the combined area they cover in ArcGIS 10? I am sure the Geoprocessing tools can do it, but just how eludes me.
2
votes
2answers
3k views

Polygon country boundaries in decimal degrees

Using Google Maps, I'd like to create draggable polygons (on the fly) of country boundaries (they don't need to be particularly precise). Something similar to this, but for countries. So I want the ...
1
vote
0answers
124 views

Need to enhance a function for creating quadrants within polygons

I wrote a function that creates arbitrary quadrants within a polygon SELECT (quadrant(20,0.0,90)).* The first parameter is the polygon ID, the second one is the start angle and with the third one ...
1
vote
1answer
765 views

How to improve speed of rendering polygons from Postgis in Leaflet?

I want to improve speed of rendering polygons in my Leaflet map. Polygons are stored in Postgis, and are rendered with select query with bbox. I wonder can I cache somehow those polygons? I read ...
4
votes
1answer
315 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 ...
1
vote
1answer
217 views

Polygons not appearing when creating shapefile based on criteria using GDAL and Python (area calculated properly)

I am looping over the features of a shapefile containing multiple polygons. If certain criteria are met, I want to save the current feature in a new shapefile. I am doing this using GDAL 1.10.0 with ...
0
votes
0answers
157 views

Can I simplify polygons in QGIS by Size?

Just wondering if it's possible in QGIS to simplify polygons based on size? I've done it many times using the tolerance level to reduce the overall size however in this case each polygon cannot be ...
1
vote
2answers
128 views

How to convert small overlaping polygon features to inner ring in QGIS

I have a polygon vector layer with overlapping features (like below) and I would like to convert the features that are fully contained inside the bigger polygons (ie feature 2 and 4 below) into inner ...
4
votes
2answers
4k views

How to Select “Inverse” of intersection of two polygon layers?

I'm wondering if there's a way to intersect two polygon layers, take the intersection, and remove that from one of the polygon layers, making a new layer out of whatever is left over? Basically, the ...
0
votes
0answers
246 views

Calculating distances between boundaries of polygons with Python

I have two sets of shape-files which have to be worked on within a Python Script. Those two Shape Files might differ from each other (same thematic content, but 2 different epochs). If there occurred ...
3
votes
1answer
158 views

Tornado Data Points: Linking 2 Points in QGIS on the Same Row

So I've got these tornado .csv files that have two latitude & longitude entries with the left-most in the table being the beginning point and the right-most being the ending point of the tornado, ...
3
votes
2answers
743 views

Comparing 2 polygon shapefiles for differences [duplicate]

I have 7 shapefiles, each representing a year, all containing lots of polygons (c. 500,000). My aim is to take any 2 of them and compare how they have changed in terms of size and shape of polygon. (i ...
3
votes
2answers
5k views

Determine if point is within an irregular polygon using Python

I would like to create a mask of a grid where points are evaluated as either 1's or 0's depending on if they lay outside of an irregular (i.e. not rectangular) polygon. I have a set of high-latitude ...
3
votes
1answer
82 views

How to re-ID polygons with sapply instead of for loop

I have a line of code that renames the id's of polygons in a SpatialPolygonsDataFrame by directly manipulating the ID slot of the polygon. I'm a bit slow when it comes to sapply, having used for loops ...
2
votes
0answers
247 views

Joining nearest neighbor small polygons using R

The figure shows a plot of numerous polygons (zoom in) made from a raster file by require(sp) require(raster) pol100 <- rasterToPolygons(r, fun=function(x){x==1}, dissolve=FALSE) There polygon ...
2
votes
1answer
42 views

Automatically chopping lumps off polygons

I have a load of polygons that were originally digitised from CAD. These unfortunately include traingles that were used to sybolise the direction the polygon is facing. As can be seen here: The ...
1
vote
2answers
336 views

How to extract common outline of multiple polygons with code?

I'm not really asking for a chunk of code to do this, but more of an algorithm I can work with myself. For example, this is the state of Maine, obviously, and I have the points of each county ...
2
votes
1answer
683 views

How can I get the corners of a polygon in latitude and longitude?

How can I get the corners of a polygon -a square/rectangle, to be precise- in latitude-longitude format by using its geom value -or some other way, perhaps-? Thanks.
3
votes
1answer
1k views

PostGIS: Calculate the length of just the portion of linestring that intersect with a polygon

I want to calculate the portion of the linestring that lies within the limits of a polygon. Better with an image What is the length of the portion of linestring within Province A? and within ...
3
votes
2answers
9k views

Cannot get areas for polygon layers in ArcMap 10

For an ArcGIS project opened in ArcMap 10, we have added polygon layers representing different geographical features. After all the polygons were created, we opened the attribute tables for those ...
1
vote
1answer
2k 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
174 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, ...
3
votes
1answer
6k 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
179 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 ...
1
vote
1answer
91 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 ...
1
vote
1answer
5k 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
276 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 ...
1
vote
0answers
399 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 ...
1
vote
0answers
756 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 these:...
2
votes
1answer
307 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
818 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 ...
2
votes
1answer
32 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
111 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
1answer
596 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
576 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 longitudes/latitudes....
0
votes
0answers
31 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
5k 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
78 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 ...
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 ...
2
votes
1answer
2k 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
1answer
1k 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 ...