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
0answers
181 views

Cut 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
491 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
91 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 ...
4
votes
0answers
272 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 ...
3
votes
3answers
370 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 ...
3
votes
3answers
299 views

How to export polygon coordinates to CSV (not WKT)?

I am new to QGIS, and I am now trying to export polygon coordinates from a shape file to a csv file, but so far all my attempts have failed. I have found numerous questions and answers about this, but ...
3
votes
2answers
2k views

How to edit Shapefile Attributes?

How might I go about exporting a polygon shapefile (e.g. CSV) so that attributes (not geometry) are editable by others, and importing it with the changed attributes (of which there are several columns ...
3
votes
2answers
422 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 ...
3
votes
1answer
2k views

How do I rotate the polygon about an anchor point using python script?

I know there would be no tool in arcpy module as such but mignt have in third party modules. I however tried taking the vertices of the polygon and moving using the below formula. but did not get the ...
3
votes
2answers
167 views

Overlaying polygon filled with solid colour with diagonal lines in QGIS

I'm making a vegetation survey map using the UK phase 1 survey colour codes. The code for marshy grassland, for example, is orange overlain with purple diagonal lines. For the moment I've created ...
3
votes
2answers
1k views

How to change the vertex style for editing?

When I use drag feature, then the circles on the polygon edge has the same style. For example, this OpenLayers site. I need to change it, I mean they need to be a different color. What is their ...
3
votes
2answers
5k views

How can I display this polygon in Google Maps, properly

NOTE: this question is sorta like a follow-on question to this original GIS Question I asked. In that question, the main suggestion was that I was trying to show two polys. Now, I'm asking about a ...
3
votes
1answer
64 views

Is there an alternative to the Integrate tool that will not change one of the inputs

I have two polygon layers, and would like to snap the outlines of one of them (colored poly's) to the other (grey) without changing the grey in anyway (so Integrate seems out). It should only snap if ...
3
votes
1answer
675 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 ...
3
votes
1answer
993 views

How can I get my Qgis area calculations in metres rather than degrees? My shapefiles are projected using WGS 1984 UTM fuseau 35 Sud

I am using Qgis 1.7.4 to calculate the area of polygons. My shapefiles have been projected using the coordinate system WGS 1984 UTM fuseau 35 Sud, but my area calculations are still displayed in ...
3
votes
2answers
396 views

How to select polygon features that have their centers outside of another polygon feature class

Since I only have Incorporated area feature class, how can I select census blocks that are in unincorporated area? Or not within any incorporated areas? Thank you. John
3
votes
2answers
802 views

Generate non-overlapping shapes from a buffer

I have a collection of points, and I need to generate shapes around these points. Let's assume that these points are locations of offices and that the shapes are the 'area of responsibility' around ...
3
votes
2answers
54 views

Using SVG from Wikipedia to fill polygon?

I'm trying to use the flag of each region in Italy to fill each region's polygon. I have downloaded the shapefile of Administrative areas for Italy from diva-gis and am now attempting to fill each of ...
3
votes
1answer
61 views

How do I save a polygon once I have created it in editor?

I am attempting to create a new polygon. I go to ArcCatolog>New>Shapefile and make sure Feature type is set to polygon. I create the polygon and if I click save edits or stop editing, it disappears. ...
3
votes
2answers
115 views

Can I convert the sharp edges of a polygon easily to round edges?

I use the python module "shapely" to make Polygons (like below). Can I convert the sharp edges of a polygon easily to round edges? Such that when I have unified some polygons I could issue a command ...
3
votes
1answer
124 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
672 views

How to convert polygon layer to txt files?

Is there any way to convert polygons that do not have coordinates in the attribute table to a txt file with coordinates. I will be using the txt file in a different software (not ArcGIS), so I need ...
3
votes
1answer
1k views

How to take polygon centroid in Postgis

I have table with column name,Latitude and Longitude.I want to update this with polygon name and its centroid latitude longitude.I know there is a function in postgis st_centroid(geometry). But I want ...
3
votes
1answer
2k views

Create polygon based on the spatial extent in arcgis

Is there anyway that I can input 1) The Coordinates System (projected is OK) 2) The boundingbox and create a rectangle polygon based on these?
3
votes
3answers
1k views

How to add a polygon from PostGIS ST_AsGeoJSON into Leaflet?

I try to use the following function to add polygons to my Leaflet map. function polygon(geojson) { alert(geojson); // alert for testing layer = L.geoJson(geojson); layer.addTo(map); } ...
3
votes
2answers
527 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 ...
3
votes
1answer
2k views

How can GeoJson polygons be colored programmatically using OpenLayers?

I'm experimenting with dynamically setting the color values of a geojson polygon. In my geojson file, there is an attribute for each polygon called pop_den. I am trying to update the fillcolor of the ...
3
votes
2answers
2k views

How to perform spatial queries on polygons in mongodb?

I will build a GIS system based on polygons, not just points. I wanted to use mongodb or postgis. how do this in mongodb? Query A - get the center of a polygon Query B - distance between two ...
3
votes
3answers
435 views

Selecting polygons with a minimum internal straight line value - ArcGIS 10

I have a map of polygons representing forest stands. I am trying to sort through them to find those polygons that have a minimum internal distance of 200 m in a straight line (my field sampling will ...
3
votes
2answers
3k views

Measure the area of a polygon resulting from the intersection of two other polygons?

How can I measure the area of a polygon resulting from the intersection of two other polygons? If I use the measure tool or open the attribute table for the resulting polygon, it shows me the areas of ...
3
votes
2answers
3k views

Label *beside* polygons in ArcMap 10?

I try to add labels to polygons in ArcMap 10 based on a field in the corresponding attribute table. However, the labels always appear inside the polygon, and I can't find an option that lets me put ...
3
votes
1answer
101 views

Displaying adjacent polygon lines beside each other instead of overlapping

I would like to display adjacent polygons with the line work beside each other, not one on top of the other for that shared boundary. I do not want to edit the polygon boundaries - only want to ...
3
votes
2answers
94 views

Remove Holes Existing Within a Single Polygon for a specific area in Qgis

I have a shapefile that consists of a single polygon. I have gaps within the polygon that needs to be eliminated, but only the ones that are less than 200m2. I tried different ways but none of them ...
3
votes
1answer
139 views

Highest DEM pixel in polygon

I'm working with QGIS and have a big DEM raster layer with height information and a vector layer with many polygons, representing 1 x 1 degree tiles. Now I want to find for every polygon the highest ...
3
votes
1answer
61 views

Find small polygons inside big polygons

I'm trying without success to find a solution for problem in ArcGIS and this is the reason that I'm sending this message. I have one polygon shapefile with postal codes for South Africa (no Gap, no ...
3
votes
1answer
133 views

PostGIS - when I add a polygon, delete overlapping areas in other layers

I'm starting to work with PostGIS and I'd like to solve the following problem: In my database, I have multiple land use class layers, for example: "residential", "industrial", "commercial". The ...
3
votes
2answers
104 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 ...
3
votes
1answer
66 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 ...
3
votes
2answers
166 views

Detecting ring direction of a polygon using ArcPy

I am using ArcPy in ArcGIS 10.1 to process some geometry using the arcpy.da data access module. However I have run into a problem with complex Polygons that contain inner rings/holes. From the ...
3
votes
1answer
325 views

How to make survey lines within polygon?

I am trying to figure out how to make survey lines within a polygon. So first I make a polygon. Now I need to fill this polygon with lines, where I can choose the spacing between the lines, and the ...
3
votes
2answers
1k views

How to clip polygons with a fishnet layer?

I have a layer with multiple polygons (input) and a fishnet layer in polygon (clip layer). I want to clip the multiple polygons with the fishnet to be able to calculate how big portion of the input ...
3
votes
1answer
304 views

SQLServer generating invalid WKT

I am a GIS novice using SQL 2008, with C# and the NetTopologySuite WKTReader type to work with some geometries. I have some data which I have been able to save into the database but when I read back ...
3
votes
1answer
357 views

Splitting raster pixels by a polygon's edge?

I have a a polygon shapefile of different regions, and a raster grid of precip data. I want to take the polygon and add up all the raster precip data in each zone. I could use zonal statistics to do ...
3
votes
3answers
5k views

How to create a polygon buffer from a line?

I have connected a series of points into a line in ArcMap 10 with the Points to Line tool in the ArcToolbox. The line is, of course, in its own layer, and I added a 5 meter buffer around the line. It ...
3
votes
2answers
6k 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 ...
3
votes
2answers
95 views

Double (triple, quadruple) size of polygon using ArcGIS for Desktop?

I have several polygons, measured in acres. I'm looking to double the area, either by a buffer, or some other method. I will need to triple and quadruple in the end, as well. I have tried to use ...
3
votes
1answer
69 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 ...
3
votes
1answer
62 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 ...
3
votes
1answer
197 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 ...
3
votes
3answers
275 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 ...