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

2
votes
2answers
811 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 ...
6
votes
1answer
315 views

Select by location of doughnut hole polygon

I have vectorized the Corine Land class raster and want to select certain classes that are "inside" other classes. How can I select the polygons circled in blue? All the select by location options ...
1
vote
1answer
118 views

Converting rasters to polygons through cell centers

With arcgis, it is possible to convert a raster image to a polygon representing the boundary of the raster using the Raster To Polygon tool. The output polygon will follow the cell edges of the ...
1
vote
0answers
336 views

Convert polygon data into extreme lon/lat coordinates using QGIS

I'm very new to QGIS. I have a shape file of census blocks and want to use the data to plot points within each boundary using Google Maps api. I figure the best way to do this is to find the extreme ...
1
vote
1answer
850 views

StArea() in sqlserver is in which unit?

I have a problem with saving STArea in sqlserver. Here is a query where I get the area of a polygon: select Geometry::STGeomFromText('POLYGON ((51.3386535086000000 31.7951253522000000, ...
8
votes
4answers
13k views

Getting polygons of all countries and ISO-3166-2 subdivisons

In order to do reverse geocoding lookups to find a country (as ISO-3166-1) and the subdivision (as ISO-3166-2) for given coordinates I am looking for a way to get all polygons of all countries and ...
3
votes
1answer
1k views

Converting set of points to polygon using C#?

I want to convert a set of gps ponints to polygon.I used a simple loop to convert it to a WKT and than used makevalid() in sql server and save it in a gemetry column in databasae.Is this way right?or ...
4
votes
2answers
956 views

How to programmatically delete all inner rings of a polygon layer?

I have many polygon layers, each layer containing many polygons with inner rings. I know that you can delete a ring manually with QGis (Edit -> Delete ring). I need the python equivalent to ...
1
vote
0answers
159 views

Is there a way to set different levels of transparency (opacity) for a polygon's border and its interior?

I have some polygons which I'd like to display with their interior displayed at a higher transparency than their borders. Right now, I am doing it by creating two separate layers with the same data ...
9
votes
2answers
434 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
91 views

Intersection of triangle and polygon

I have a triangle and an arbitrary polygon lying on the same plane in 3D space. I need to find the fastest way to determine if these two intersect, one is inside the other, or completely separated. At ...
15
votes
3answers
16k views

How to smooth/generalize a polygon in qgis

Is it possible to smooth or generalize a polygon in qgis? Ìs there a plugin available like the generalizer-plugin for lines? I could convert my polygons to lines, smooth them and convert them back to ...
2
votes
1answer
327 views

hiding some “feature”s in GeoJSON file on map

I have geojson file including boundaries of most countries in world. When I clicked on a "feature" (aka country, or polygon) I want to hide it while keep showing the others. because I am planing to ...
2
votes
1answer
591 views

JTS “points must form a closed linestring”

I'm trying to create a polygon and calculate it's area using final GeometryFactory gf = new GeometryFactory(); final ArrayList<Coordinate> points = new ArrayList<Coordinate>(); ...
1
vote
1answer
134 views

Split a polygon based on density of points in ArcGIS 10.1

I have two layers: Polygon layer representing administrative boundaries Polygon layer representing topography (i.e. a map) In some of the administrative areas, the buildings (shown in the map) are ...
0
votes
1answer
72 views

Using ArcGIS Polygon to Raster tool does not divide resulting raster on cells?

I try to create raster composed of small (5x5 m) cells (pixels) from a polygon in ArcGIS-10. I created a polygon (as a single object), and use Feature to Raster Tool and Polygon to Raster tool (of ...
1
vote
1answer
259 views

Filtering out a subpart of a polygon shape file

I have ArcGIS 10.1 for Desktop software. I am working with a polygon shape file (having n rows) in ArcMap. The project demands splitting this file into two polygon shape files having n1 and n2 rows ...
0
votes
0answers
341 views

Splitting existing polygons with existing polylines(roads) with GME tool “split polygon by lines”

After reading through many of these articles i believe the GME tool "split polygon by lines" should be useful to my problem. I have a polygon that needs to be split by a road layer. When i run this ...
2
votes
0answers
47 views

Dividing a polygon into two OpenLayers

I'm using OpenLayers to draw a polygon to my users. I want the ability to implement through a line, split the polygon into two, with the cutoff line that the user drew. Does anyone know if this is ...
3
votes
2answers
1k views

Creating an outline around groups of polygons

I am trying to find a tool or workflow for creating a type of minimum bounding polygon or envelope for complex land areas. (Not just a rectangle, but a simplified perimeter) Can anyone recommend a ...
2
votes
0answers
261 views

Using R to subtract the polygon area of one shp file from another

I'm looking to produce a map from two separate maps in R. My Maps files are as follows: ftp://ftp.cpc.ncep.noaa.gov/GIS/us_tempprcpfcst/610prcp_20140822.zip #Map1 ...
2
votes
1answer
1k views

Step-by-step: How do I extract Raster values from Polygon overlay with Q-GIS or R?

I am writing my master thesis at the moment and am having the exact same problem as user Curley in this question: I first need to overlay a Corine 2006 raster with a polygon layer (2638 polygons). ...
6
votes
3answers
2k views

Can Polygons be generalized to MultiPolygons in GeoDjango?

I set up a model with models.PolygonField in geodjango, using postgres as database. I try to import shp into postgres. The problem is, shp (compiled with QGIS) mixes polygon and multipolygon, hence it ...
2
votes
1answer
51 views

Area of an EPSG 27700 polygon

I am working with EPSG 27700 polygon data in PHP. All the polygons are in the UK. The polygons do not have holes inside them. I'm hoping to be able to calculate the area of these polygons. For this I ...
6
votes
1answer
789 views

POSTGIS SQL - How do I remove (defined) sliver polygons

I would like assistance in writing SQL (for POSTGIS in postgresql) to remove sliver polygons (including long narrow slivers and some small irregular polygons that were erroneous 'gaps' in the original ...
1
vote
2answers
344 views

Making single polygons from a shapefile

I created a shape file a while ago with several (20+ polygons) in it. I was wondering if there is a way to symbolize these polygons with unique symbols. Basically all I actually want to do is color ...
3
votes
1answer
315 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. ...
1
vote
2answers
1k views

Adding polygons from an existing layer to a new layer (shapefile)?

I have an existing shapefile that contains parcel data. I would like to add some of the existing parcels to a new shapefile. I am using ArcMap 10.1.
5
votes
2answers
4k views

Converting Longitude and Latitude Coordinates to Square Miles?

I have a set of Long and Lat co-ordinates making up a five point polygon which I have converted in excel using the following formula: ...
1
vote
1answer
88 views

QGIS create raster from cadastre (property lot data) polygon

I have a cadastre (property lots) polygon dataset of a region. Have used rule-base style in QGIS to show different groups of properties in the dataset classified based on their property lot size (ie. ...
2
votes
1answer
550 views

Calculate distances between polygon centres in QGIS

Is there a practical way to calculate distances between polygon centroids in QGIS? I have a UK city region map divided into administrative units (1 ward = 1 polygon). I want to represent their ...
2
votes
1answer
390 views

Delete duplicate polygon nodes with PostGIS

I'm trying to delete duplicate nodes from a shapefile with QGIS, but after running the tool to delete it, nothing happens and shows the same errors. I thought that maybe importing to postgis could be ...
0
votes
1answer
618 views

Drawing outline of points in ArcGIS for Desktop [closed]

Simple question, can Arc take a shapefile of points, calculate which ones are at the "edges" and draw a polygon or polyline around it. I know there are masks and bounding geometry and all of that, but ...
1
vote
1answer
146 views

Snapping with polgon drawing

I am drawing a polygon with the drawing function within ArcGIS 10.1. Is there a way to snap orthographically at 90 degrees while using the polygon draw command. I added a picture of what i would ...
3
votes
2answers
229 views

Add rectangle polygon

I have a polygon shapefile layer. I want to add a rectangle polygon (just like in Arcmap), and another one using the previous polygon edge. I need it to be accurate, my hands do not meet this ...
-3
votes
1answer
2k views

Extracting Cities, Towns and Villages boundary coordinates [closed]

How can I extract the polygon coordinates of cities,towns and villages from OpenStreetMap? Are there any other free databases available?
1
vote
1answer
375 views

How to generate random GeoJSON polygons (latitude, longitude)

I am looking how to generate polygons in GeoJSON format with random locations (latitude, longitude), if I generate totally random set of points it will not produce valid polygons. So my question is ...
4
votes
2answers
4k views

Creating donut holes without losing existing polygons using ArcGIS for Desktop?

Using ArcGIS 10.1 for Desktop is there a way to do a similar operation to creating a donut hole or island in a polygon without losing the existing features? I have mapped small lakes as several ...
4
votes
1answer
391 views

Determining if Polygon Contains Negative Space using ArcGIS SOAP Web Service?

I am running queries against a polygon layer using the ArcGIS SOAP Web Service. A user selects a point within that layer and the resulting feature set contains PolygonN objects. Occasionally, the ...
7
votes
3answers
10k views

Filling in Donut Polygons using ArcGIS for Desktop?

I have a set of polygons that represent bodies of water. In the same feature are polygons that are the islands in the body of water. So for a given lake, there are smaller polygons within that ...
5
votes
2answers
972 views

Including polygons as part of network for ArcGIS Network Analyst?

I am creating a pedestrian walking network of a downtown area. I am digitizing line segments for paths and sidewalks, but I need to incorporate parking lots into my analysis. So far, I have been ...
3
votes
2answers
206 views

problem merging polygons based on a column value - using Spatialite

edit: as I am unfamiliar with any tools I decided to try my luck with PostGis. I imported my data. and executed the query : create merged as select delomrade_code, st_union(geometry) from grunnkrets ...
1
vote
0answers
50 views

Joining polygons with same boundaries

Sorry if my question feel stupid but I'm a new QGIS 2.4 user. My shape is composed of 7 polygons which are supposed to be adjacent (ie sharing sharing same nodes). Would like to join the polygons by ...
3
votes
1answer
124 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
193 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 ...
1
vote
2answers
401 views

QGIS Convert Polygon M to polygon

I have been using Argis 10.1 and been able to convert polygon m to polygon shapefiles. I would like to do this with QGIS but I am having difficulty in finding the correct tool to do so. Please Help
7
votes
3answers
5k 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 ...
2
votes
0answers
173 views

spatialpolygons heatmap in R - NAs in grey?

I have a spatial polygon data-frame and I am trying to plot a heatmap via spplot. It's a map of Europe and the values for the heatmap are in a column of the data-frame. Plotting it works fine but I ...
1
vote
1answer
241 views

Automating Intersect between two polygon layers

I have a spreadsheet that has county-level occurrences of around 1000 species within the US in the column headings (Species State County). Thus, for some counties there may be multiple species. I ...
1
vote
0answers
287 views

Way to split and create buffer space between polygons in QGIS or ArcMap

After performing a feature extraction of rooftops, some of my buildings have been joined together as one polygon. I want to split these large polygons so that each new division is only covering one ...