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
167 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
0answers
334 views

Rgeos drops associated values when intersecting polygons

I am trying to intersect two SpatialPolygonsDataFrames and get a SpatialPolygonsDataFrame as the result. Unfortunately, using the gIntersection function from rgeos (which works impressively quickly ...
4
votes
0answers
258 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
0answers
14 views

Is there a limit to the number of polygon points you can export to CSV in QGIS 2.4?

Using QGIS 2.4 I am currently importing a csv file with ~30,000 polygons (polygons in WKT format). I also have a United States shapefile. I have used the Clip function to get only the polygons that ...
3
votes
0answers
125 views

google map api v3 large/complex polygons

I have quite some large/complex polygons I'd like to overlay on a Google map. I can do this but wondered what the best/fastest way is to load them? I have tried using a KML but understand there are ...
3
votes
0answers
140 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 ...
3
votes
0answers
85 views

Reshaping polygons while preserving area

I'm looking to manually skew the shapes of areal polygons, but need to ensure their areas are not altered. Is anyone aware of any GIS tools or programming workflows that exist for manually reshaping ...
3
votes
0answers
155 views

Closest set of points to another set of (predefined) points

I have 10 sets of points which I call templates that I have manually classified from 0 to 10. Each point is a X, Y coordinate in a text file. Each template has 5-8 points. I have new sets of points ...
3
votes
0answers
111 views

Why doesn't Polygonizer copy the line ids to my polygonized shapefile?

I am trying to convert a line shapefile into a polygon shapefile using Polygonizer plugin, and when my new polygons are created all the cells in my id field are "Null", although I have clicked "copy ...
3
votes
0answers
196 views

Area-weighted rasterising of polygon data

I'm looking for any GIS tool to do detailed rasterising of polygons. I've checked GDAL's gdal_rasterize command (and API), and ArcGIS's Polygon to Raster tool, but they only rasterise 1 attribute per ...
3
votes
0answers
57 views

Passing attributes to neighbouring polygons

I have an ecosystem polygon layer that has been updated using a more recent tree cover layer (to remove cleared areas and also to re-align veg boundaries where growth has occured). Where the polygons ...
2
votes
0answers
23 views

Polygon parcel division in python

Is there an open source tool or module in python that does parcel division of polygons like in ArcEditor?
2
votes
0answers
21 views

ArcMap - proportion of polygon in lon/lat grid cells

I have a polygon representing a river basin on a 1 X 1 degree lat/lon grid. I need to create a boundary using the grid cells as the boundary to best represent the outline of the basin. I would like to ...
2
votes
0answers
18 views

CartoCSS: Don't show border between adjacent polygons

In OSM, riverbeds are created as multiple adjacent or even overlapping polygons. When styling these polygons in CartoCSS with a border, the overlapping can be seen: I'd like to hide that line ...
2
votes
0answers
34 views

Does converting polygon to raster generate more accurate results from the Zonal Statistics in Arcgis 10.2

I have heard the following for Arcgis 9.1 and wonder whether it is still an issue in Arcgis 10.2. If so, should I convert the polygon into raster before dissolve or convert the dissolved polygon ...
2
votes
0answers
112 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
0answers
57 views

Using ST_Affine() and trans_param() functions on vector layer

After reading this post How to georeference a vector layer with control points? I decided to give it a try to move/rotation/scale a polygon using Postgis. I have two polygons, polygon_from and ...
2
votes
0answers
102 views

Find and destroy duplicate OSM multipolygon/polygons in TileMill/PostGIS

In OpenStreetMap there are sometimes multipolygons where attributes are present on both the polygon and the multipolygon relation, such as the Grampians National Park: ...
2
votes
0answers
202 views

Divide polygon layer by point layer in QGIS?

I have two layers - one polygon layer that is a buffer of a road layer, and one point layer that shows certain locations along that road. What I want to do is to divide/split the polygon layer at the ...
2
votes
0answers
216 views

Clipped raster leaks outside polygons

I am trying to clip a raster (DEM) with a polygon layer in ArcGIS10.1, using Data Management>>Raster>>Clip. Basically the clipped raster has many pixels outside the polygon boundary, mainly for thin ...
2
votes
0answers
113 views

Matching points in table to polygons

this is my first post to this forum. I hope to start participating actively. I have a table with several records (aprox 200.000), each with its own coordinates. And I need to identify the "Polygon" ...
2
votes
0answers
99 views

Cannot reselect polygon after modify

I've got various vector layers on a OL map. On one layer I have a few draw controls. If I draw a polygon I can select it (the whole pop-up thing works). This also works for all the other features. ...
2
votes
0answers
139 views

How to dissolve polygons that have been split back into their original polygons?

I had a feature class containging about a thousand polygons.After some processing such as intersecting, dissolving, merging, more intersecting, I ended up with a feature class of about 6000 polys. ...
2
votes
0answers
501 views

cant find point/polygon intersect using qgis (windows only)

below i describe the method i am using. i have 2 machines: 1 ubuntu linux, qgis 1.4 - intersection works 2 WIN xp, qgis 1.8 - intersection dows not work hopefully, someone will ...
2
votes
0answers
688 views

How to calculate the area of a polygon considering the relief?

I work in a fire department and i'm mapping all the fires that occur in my area, creating polygons that represent burnt areas. my problem is that the values are not accurate... for instance, arcgis ...
2
votes
0answers
183 views

Polygons of Land Use Change

I am doing a project where I am digitizing a map of Haiti from the 70s. Through R2V I digitized the lines and then I exported it into ArcGIS 10. I am just interested in the land use change, therefore, ...
2
votes
0answers
79 views

Determine which points fall within a 3D polygon and export this subset to a flat file

I am working in ArcMap 10 and will have a 3D representation of a zone of transmission. I would like to determine which GPS points fall within this polygon and then export this subset out to a flat ...
1
vote
0answers
23 views

Merge overlapping GeoJSON GeometryCollections

I need to merge three overlapping GeoJSON GeometryCollections of Polygon. Ultimately, the end result needs to be a geom type for PostGIS (e.g. MULTIPOLYGON) so I can easily check if particular points ...
1
vote
0answers
24 views

How to understand google map overlay type from object (polygon or polyLine)

var Line = new google.maps.Polyline({ path:predectionArray, editable: false, strokeColor: '#FF0000', strokeOpacity: 1.0, strokeWeight: 2 }); var Rect=new google.maps.Polygon({ ...
1
vote
0answers
17 views

Reclassify based in neighbour polygons

I would like to do a simple operation in QGIS and I am not sure about which is the best option. I have a polygon shapefile and each one has one class attached. I want to reclassify one of them based ...
1
vote
0answers
34 views

Authoring map with advanced gradient symbol for ArcGIS web service?

I need to prepare a web service which will display the gradient of polygon points values. It has to look just like in this picture: link to the picture (please ignore the arrows). Each polygon is ...
1
vote
0answers
71 views

How do I smooth edges of polygons in QGIS?

Is there a built in function or plugin I can use to achieve smooth lines for my polygons instead of the blocky ones I have now?
1
vote
0answers
27 views

Entity handle from Visio

I have successfully imported the polygons from a Visio diagram via dxf into QGIS by using the "space" shape in Visio (a normal rectangular shape comes through as polylines, not as a polygon). Very ...
1
vote
0answers
47 views

Simplify by number of points in QGIS

I have a fairly simply question about something I just don't know how to do. I am aware you are able to simplify polygons in QGIS based on distance tolerance but my questions is, is there a way to ...
1
vote
0answers
32 views

How to enforce labels for all polygons?

I am trying to label polygons but it does not always work. Either the polygon is quite large, then the label appears, or the polygon is small, then the label is not displayed. I've already tried to ...
1
vote
0answers
20 views

Is it possible to create new polygon with the streaming mode on QGIS1.8?

I would like to create a new polygon with the mode of stream. In Arc GIS, it is possible to change the mode from stream to normal that vertec is placed based on click. Strem mode means vertex is ...
1
vote
0answers
81 views

Why might ArcGIS Export to PDF lose polygon?

How can I solve this problem? After exporting my map to pdf (or any other format), the exported map does not show the basic-polygon-layer, but only a blue/turquoise background with line and point ...
1
vote
0answers
96 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
0answers
91 views

DotSpatial: Convert a Polygon Feature to System.Drwing.Region

I want to paint a Polygon region with a color. I know I can use Symbolizer to do this but I want that region to blink (change it's color in a timer) and using symbolizer seems to be slow for this ...
1
vote
0answers
182 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
54 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 ...
1
vote
0answers
307 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
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 ...
1
vote
0answers
81 views

Free cartographic texture resources

I've been trying without success to find free textures to use in TileMill. I'm looking for fairly simple, abstract textures, like a dotted pattern (to indicate national parks). Are there any well ...
1
vote
0answers
68 views

level of spatial aggregation of polygons

I am looking for a method that allows me to obtain the spatial aggregation of polygons for each cell of a grid with 10kmx10km resolution. In each cell (10kmx10km), I want to be able to consider that ...
1
vote
0answers
101 views

Divide polygon based on points for even distribution

If I have a point layer, how can I create a polygon that includes all of the points and divide that polygon into n sections in which each section contains an equal number of points? Preferably in ...
1
vote
0answers
65 views

Convert polygon feature to line feature

I have a polygon shape-file i need to extract the line segments where the polygon features intersect each other and also the segment where they don't. Can we automate this process or can scripting ...
1
vote
0answers
88 views

how to avoid Intersection of polygons via python code

i am using QGIS 1.8 and i can set the check box in Setting\Snapping Options "Snapping and Digitizing " dialog to avoid polygon intersections and enable topological editing but i am looking for a way ...
1
vote
0answers
224 views

How to Smooth Polygons after converting DEM using Raster to Polygon?

I have a DEM SRTM that I classify using Spatial Analyst Tools > Reclass > Reclassify. The result is box shaped so I go to Layer Properties > Display and choose cubic convolution. The result is ...
1
vote
0answers
164 views

Divide polygon evenly based on lines and intersection points

I have this purple polygon illustrated in the figure below. I would like to split the polygon so that each line segment (green) split the polygon evenly with the surrounding line segments. A line ...