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

5
votes
1answer
880 views

Shapefiles - Polygon type - is it in fact multipolygon?

I'm wondering about the ESRI shape file with shape type 5. When reading the spec I see that "A polygon may contain multiple outer rings.". Does this mean that these outer rings must be combined to ...
0
votes
1answer
551 views

Is it possible to join points to a polygon in MapInfo Professional v10.0?

This is what I have... ... and I would like to assign the points to the polygons that they belong to. In ArcGIS this is accomplished fairly easy through using Spatial Join, but I have no clue how ...
3
votes
3answers
256 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 ...
9
votes
1answer
242 views

Cutting out the world into polygons of equal population size

I would like to cut out the world into polygons of equal population size, say 100 million persons (starting for example with raster data of population density as provided by the NASA). I know that ...
1
vote
1answer
931 views

How to extracting raster data to multiple polygons?

I have a reclassified raster dataset (10 classes) and I want to find out the area of each class contained within multiple (hundreds-to-thousands) polygons. I have all the polygons in the same ...
1
vote
0answers
58 views

How to merge DMAs using QGIS — Creating Custom Regions?

What I am trying to do might seem basic, but bear with me as I am just hacking my way through a lot of this space. What i am trying to do: I am trying to create a new .shp file of custom regions. ...
3
votes
1answer
93 views

How to insert some holes in a polygon?

I have a problem with QGIS digitizing advanced tool plugin. I have a landcover-like shapefile. I have to perform some corrections on it, and I have to cut or split some polygons. I want to insert some ...
2
votes
2answers
84 views

Check if a polygon is at one elevation

I have a polygon (pond) and I need to ensure it is at one elevation. I have converted all vertices of the polygon to points, used summary statistics to determine the range in elevations and if the ...
0
votes
0answers
50 views

RasterToPolygon tool is looking inside the output location and not reading the fields

I am trying to convert IMG classified rasters to polygons. I created a code using the Raster to Polygon tool and it worked for 8 of the 50 files; for the rest, I get errors 010157 (Unable to open ...
0
votes
1answer
63 views

largest area polygon

I have a layer of polygon shapes, I know this could be a quite easy question to answer but I am a beginner and probably I am not using the right concept or terminology when looking at the desktop help ...
2
votes
1answer
268 views

Generate territory polygon from sets of points

I'm looking for a simple way to generate contiguous "territories" from sets of points. Say, points A, B and C are in territory 1, and D, E and F are in territory 2, then generate polygons that lie ...
2
votes
1answer
216 views

Convert Layer to Shapefile without losing Feature definitions

I have created a worldmap with custom defined Features, representing State/Zip-Code sales areas. I want to convert them into a Shapefile, so I can convert the Shapefile into a polygon definition file ...
0
votes
1answer
88 views

How do I measure the area difference between polygons in different shp files?

I have couple if shp files with 1000 polygons scattered in them (around 1k in each file) , each shp file represents a time frame (3 months period) and I want to show the a report with a progress of ...
0
votes
1answer
159 views

How do I calculate the distance of a segment of line that is inside a polygon?

I would like to calculate the distance of a portion of a line that is inside a polygon, as well as the portion that is outside of the polygon, based on from/to lat/long points on the line, and the lat/...
0
votes
1answer
233 views

OpenLayers: showing polygon within donut hole

I Am using OpenLayers 2.13.1 to display Zip-areas. I have a postGIS database with multi-polygons, that I show on a map. The user can select / deselected them. Some polygons have an area (I think they ...
1
vote
1answer
122 views

How to hide grid's labels when zooming out?

I have used polygon grid layer on my map, and I used to label the layer with ID automatically, and the result was convenient for me: But when I zoomed out, the labels didn't hide at all! and they ...
1
vote
1answer
50 views

Point in zone problem in calculation

I have a strange problem that i believe its because the zone pass through international date line. My goal is to find if a point is within a zone and I use the geoPHP library, everything seems to be ...
4
votes
1answer
3k views

Convert Multipolygon Geojson to multiple geojson polygons?

I see a lot of questions going from Polygons to MultiPolygon, but is there some easy way to go the other way around? It would also be useful to preserve the attributes from the MultiPolygon to apply ...
2
votes
1answer
750 views

clipping two SpatialPolygons : Error in RGEOSBinTopoFunc

I want to clip two SpatialPolygons on R without success, I followed the article in the disscution How to perform a true GIS clip of polygons layer using a polygon layer in R? Polygone 01 : > ...
3
votes
0answers
176 views

What is the area that OGR extracts from the (geometry) shp files for polygons?

The ESRI July 1998 technical documentation for polygon shapefiles at page 10 makes no mention of either area measures or length measures (apart from byte/record-layout matters). Yet OGR enables me to ...
2
votes
2answers
191 views

Editing a Single Polygon Outline

Mapping geological contacts often needs true contact and inferred contact. I would like to know if it is possible to divide a single polygon outline which marks the outline of a granite body, so that ...
3
votes
0answers
54 views

Algorithm to find the boundary grid points [duplicate]

Let us consider a set S consisting of a collection of grid locations (i,j),i,j=1,\ldots,n, in 2-dimensional gridded plane. Here the point (i,j) corresponds to a rectangular grid in the X-Y plane. ...
6
votes
3answers
671 views

adjusting polygons to boundary and filling holes

here's the problem: Where: 1: department boundary 3: polygons inside department boundary that "touch" the department boundary(1). They are not necesary fitting well inside 2: holes between 1 and ...
1
vote
0answers
41 views

How to find the the boundary co-ordinates from a given set of coordiantes? [duplicate]

How to find the the boundary co-ordinates from a given set of co-ordiantes? I understand that this question asked previously and answered here How to find the boundary co-ordinates from a given set ...
3
votes
0answers
140 views

Dilating a polygon by a circle sector

I want to dilate a polygon by a circle sector in ArcMap. Because my python skills are not that good to figure out how I can use the R prototype of How to create an oriented buffer using arcpy? . Is ...
3
votes
3answers
752 views

How do I draw smooth vertexes around curves in ArcMap 10+?

I have some polygon layers (parcels) that have vertexes drawn around curves, as if traced. How do I click and drag to draw vertexes in a smooth shape? Big difference between what was originally there, ...
2
votes
5answers
481 views

Make a polygon out of a polygon's hole?

I have a large polygon with many vertices that has a hole in its center. I want a polygon of the hole, the empty space. How can I easily do that? (It is much too complicated to digitize easily)
3
votes
3answers
578 views

Removing small polygons gaps in a Shapely polygon

I know this issue has been addressed before with different software, but I am looking for an approach with Shapely. I have a polygon with a very small gap on the interior of the shape: Here is a ...
1
vote
1answer
120 views

Cutting polygons into smaller (more regular shape) chunks

I came up with a polygon shapefile like what you see here. There are some small polygons which exactly match what I want, though I want to cut(split) those bigger ones into smaller pieces. So far I ...
3
votes
0answers
121 views

Geoprocessing tool for finding specific point within polygon

I have a ArcGIS task and cannot find a solution. I try to find a certain point within a polygon (see picture). This example is handmade and I need a geoprocessing solution I point I try to get is ...
2
votes
1answer
187 views

Join attributes from multiple polygons to an overlaying polygon

I have a polygon-shapefile, containing 562 single features (feeding -layer). I want to add their attributes to an overlapping polygon-layer (bear_buffer -layer), containing 1330 features. The bear-...
4
votes
1answer
1k views

Count overlapping polygons in single shape file with R

I have a shapefile of species ranges for ~ 346 species. Some species have multiple polygon ranges so there are 1,078 polygons and many polygons are multi-part. It looks something like this: I ...
1
vote
1answer
79 views

How to add IDs of the links composing a polygon?

I built up a polygon layer from a road network for finding roundabouts using the compactness factor of a polygon. Then I have to intersect the extracted roundabout polygons with the road network so ...
2
votes
1answer
232 views

Polygon files corresponding to Russian Census

My team is using the 2010 Russian Census and we'd like to have polygons that correspond to these population values. We're flexible to any sort of polygon format (shapefiles, GeoJSON, KML, etc). ...
1
vote
1answer
176 views

IdentifyTask for “hollow” polygon (using ArcGIS API for JavaScript)

I have a web map application set up that's currently testing on a variety of Dynamic Map Service layer types, including points, lines, and polygons. This application includes a tool that makes use of ...
2
votes
2answers
198 views

Finding a point inside a polygon based on maximum value of a specific field

I have a Polygon Shapefile that represents US counties and a Point Shapefile that represents hospitals. The hospital attributes table includes fields like "Number of Beds", "Number of Patients" and "...
3
votes
2answers
3k 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: ...
1
vote
0answers
166 views

QGIS 2.4.0 doesn't support multiple types of geometry in GML file

I'm testing GML 3.2.1 data according to INSPIRE Data specification (version 3.0). Data for theme Cadastral Parcels shall have both polygon geometry and definition point. When I download data from my ...
15
votes
1answer
6k views

Instantiating spatial polygon without using a shape file in R

So, the usual way we read a shapefile in R is via the maptools package, like this: sfdata <- readShapeSpatial("/path/to/my/shapefile.shp", proj4string=CRS("+proj=longlat")) However, I have a use ...
1
vote
2answers
788 views

Count the number of points in a (multi)polygon in shapely?

I'm using Python, Shapely and Fiona to process some shapefiles. Is there an easy way to count the number of points in a polygon/multipolygon in Shapely and Fiona?
1
vote
1answer
604 views

Convert raster to polygon based on cell value ranges using ArcGIS for Desktop?

I have a floating point-valued raster which I need to convert to polygon as follows Put the cells with VALUE < 0.5 into (a small/the smallest number of) polygons Cells in the range [0.5, 1] into ...
0
votes
1answer
343 views

Add Marker on the polygons' centre using Openlayers?

I have written a code to draw polygon from the WKT format.Now I need to add the marker at its centre. In the following code I have passed the centre and shape in WKT format(extracted from database). ...
4
votes
3answers
423 views

How to count the sides or edges of a polygon?

I wondered if it is possible to determine the number of sides / edges (not vertices) that a polygon has. Imagine the following case. There is a shapefile with 10 polygons. Is there any way to ...
2
votes
2answers
318 views

Separate a polygon in different polygons depending of the distance to another polygon

I have a reference polygon "R", and others polygons (in grey). I want to separate each grey polygon in multiple polygons, depending on the distance to R with different Buffers : - The red line is R ...
3
votes
1answer
704 views

problem with polygon smoothing in R

With R I am looking to smooth my Polygon: inter2.csv code: inter1 <- read.table("c:/inter2.csv", header=TRUE) # add a category (required for later rasterizing/polygonizing) inter1 <- cbind(...
4
votes
2answers
2k views

Merge geojson polygons with WGS84 coordinate

I have a Geojson file with some adjacent polygons and I want to merge them into one. I know it's a recurrent question but I can't find information for polygons with latitude and longitude coordinates ...
2
votes
2answers
778 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 ...
4
votes
1answer
313 views

Showing Linestring from SQL statement with CartoDB

I have cartodb sql statement to return what polygons are intersected by a linestring, but I'd like to have the linestring visualized over the polygons on the results. Also not add the linestring to ...
2
votes
1answer
207 views

How to construct a line from points in pyshp?

I am reading a shapefile for a pipeline and what I've noticed is that if I just draw a line from one point to the next (in the order I read them), there will be points where the line terminates, and ...
11
votes
6answers
7k views

How to find the boundary co-ordinates from a given set of co-ordinates

Given a set of coordinates, How do we find the boundary coordinates. <== Figure 1 Given the coordinates in the above set, How can I get the coordinates on the red boundary. Boundary is the polygon ...