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
3answers
194 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
343 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
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
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
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
60 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
611 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
940 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
373 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
786 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
108 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
120 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
619 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
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
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
1answer
55 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
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
485 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
426 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
1answer
3k views

Create point in intersections of two layers

I have two layers. One of them is 'Road_line' and another one is 'forest_shape'. I want to create a point layer that has points in intersection of that layers. I couldn't find any tools for it. Could ...
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
2answers
86 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
57 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
111 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
94 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
154 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
305 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
1answer
294 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
354 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
2answers
3k views

ArcObjects - Finding the intersection of a polyline and polygon?

I have a polyline and polygon. The polyline will intersect the polygon at two or fewer points. I would like to get these intersection points as X and Y values. EDIT: Here is a quick code sample using ...
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
74 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
65 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
61 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
180 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
257 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 ...
3
votes
1answer
4k 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 ...
3
votes
1answer
227 views

ESRI/ArcGIS draw protractor

I am using ArcGIS maps and trying to follow JS API. I am trying to understand how can I add a protractor on the map which will help in angles while drawing polygons. I understand I could add a Feature ...
3
votes
1answer
1k views

How do you convert raster to polygon while avoiding small polygons

I intend to convert a raster to several polygons, but I want to ignore too small polygons, and just keep larger polygon. How can I do that? Thanks in advance!
3
votes
1answer
618 views

how do I get the “outer mantle” of a polygon shape file? (without joining all the polygons)

I am interested in finding all the vertices of all polygons which are not on the inside the most outer polygoin that can be formed in a shape file: Here is how I get all the vertices: def ...
3
votes
1answer
901 views

Changing the scale (generalisation) in ArcGIS 10

I have 2 polygon layers, accordingly 1:10 000 and 1:500 000. I want to generalize the first layer from 1:10 000 to 1:500 000. I tried using Simplify polygon tool, and since these scales relate to ...
3
votes
2answers
2k views

How to subtract Geometry Point Polygons in OpenLayers?

I have two json arrays, one for background polygon and one for other polygon. And from them, I got two polygon layers. backgroundLayer = new OpenLayers.Layer.Vector("Background Layer", {styleMap: ...
3
votes
2answers
276 views

Search for Multiple Polygons in ArcMap

Is there a way to do a search for features that occupy more than one polygon in ArcMap? I am working with a Parcel layer, and there are some cases where the parcels will take up multiple polygons ...