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

0
votes
2answers
177 views

Conversion of diagonally adjacent pixels into one polygon?

I am trying to vectorize a raster whose digital numbers indicate different classes they belong to. ArcGIS and QGIS yield similar results: separate shapes out of pixels sharing the class that are ...
0
votes
1answer
125 views

How to send polygon data to wms?

I use OpenLayers and GeoServer. I can read kml file format from OpenLayers. And I want to edit this polygon in kml. So I want polygon data(polygon circle and center coordinate etc..) to GeoServer.
0
votes
2answers
110 views

Zooming into a particular polygon

I am getting the polygon id by doing identifyParams.geometry = evt.mapPoint; identifyParams.mapExtent = map.extent; identifyTask.execute(identifyParams, function(result) { var i; var ...
0
votes
2answers
103 views

Why is polygon used as range in GIS and maps?

I am enroute to create an app that finds nearest venues. I already have another SO question on this regard. I don't have any experience with such features, and some of the concepts are not being very ...
0
votes
3answers
431 views

Calculate 'Rectangle' Coordinates Given 2 Points and width [closed]

I want to create a rectangular polygon using two points as guides. So let's say a journey starts in Egypt and ends in London, my polygon should have 4 points: 10 miles further from London than Egypt ...
0
votes
1answer
640 views

CenterPoint of Polygon in ArcEngine .Net 10

I am currently trying to get the center point of a polygon. In GIS, i can see the "x" mark in the center of the polygon, but I do not know how to get it from the IPolygon object. I tried getting the ...
0
votes
1answer
30 views

ST_Intersect with ogr2ogr and Spatialite

I am trying to intersect Spatialite datasets with ogr2ogr, the OGR Virtual Format and SQL Syntax. I can't seem to locate whether the error is in my SQL query or my VRT file. Data ...
0
votes
1answer
39 views

How to convert features of layer from POLYGON to MULTIPOLYGON?

How can I convert features of a layer from POLYGON to MULTIPOLYGON? I know how to do that using the postgis function ST_Multi but how could I do to same thing for a layer in QGIS?
0
votes
1answer
70 views

How to scrape polygon data from web map?

for each value of parcel no: in http://www.ma-investment.gov.bh/bps_ppd_en/ the map generates polygons. I want to extract xy values corresponding to polygon shapes which i can convert to ...
0
votes
1answer
32 views

Copying attributes of one row to another row in polygon shapefile in ArcGIS?

I have a single polygon shape file in ArcMap with 25*25m grids, and I want to assign the attribute values of a single grid/polygon to another one close by i.e. copy attributes from a row to another ...
0
votes
1answer
30 views

ggplot2 plots polygons with wrong topologies

I'm trying to plot polygons in R using ggplot2. In GRASS, QGIS and normal R the map renders fine, but ggplot2 seems to have some kind of topological difficultes I can't explain. With normal R it looks ...
0
votes
2answers
77 views

How to calculate a set of minimum bounding boxes for a polygon

I need to calculate a set of minimum bounding boxes for a polygon. Id est having a complex polygon I want to envelope it with a set of small boxes instead of a big one.
0
votes
2answers
234 views

How do I json_encode without those quotes for the coordinates in leaflet geojson polygon?

I have a field name: 'coordinates' I have the coordinates stored in there: like this: [[ [100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0] ]] when I json_encode($geojson); I get ...
0
votes
1answer
31 views

How to use Clip_analysis (in_features, clip_features, out_feature_class, {cluster_tolerance})

I draw Polygon any, how to clip it and save to shapefile. .png
0
votes
1answer
182 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 : > ...
0
votes
1answer
50 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 ...
0
votes
1answer
98 views

Determining direction of longest segment of polygon?

I have a shapefile with 9000 agriculture fields and what I like to do is to determine for each field (=each polygon) the direction of the longest segment. For instance, the selected polygon in the ...
0
votes
1answer
84 views

Find polygons that contain a specific number of points

I want to make a polygon selection based on a specific number of points. For example, I want to select those polygons that contain more than 30 points. I don't want to select every polygon that ...
0
votes
1answer
67 views

Extracting info on polygons from underlaying raster layers

In ArcGIS 10.1, I have two layers: 1) raster of Topographic Wetness Index 2) vector layer of polygons representing soil types I am wondering how to accomplish what I am after, that is to get ...
0
votes
2answers
140 views

I have a table with a series of lat/long points - how do I convert them into polygons?

I have an Excel sheet with about 150 points (lat and long in decimal degrees) which belong to about 15 different polygons. The columns I have are FID, NAME (the same between polygons), POINTS (points ...
0
votes
1answer
67 views

Associate points with polygon QGIS 2.2

I want to associate a point layer with a polygon layer so that I can do zonal statistics. In the image below, the polygon layer represents roughly the metro area of a certain city. The point ...
0
votes
2answers
67 views

How to export a shape polygon to a file

Is it possible to to export a shape polygon to a file? I want to export the polygons from a country to use them on a different map system,
0
votes
2answers
58 views

Polygon Data to Fit Raster

I'm working with an NHD Flowline of streams and rivers in NC, and I'm trying to only retain the ones in the raster. I tried to convert to the raster to a polygon and was going to clip them, but in the ...
0
votes
1answer
118 views

How to automate creating box (rectangular) polygons in ArcGIS for Desktop?

Can anyone suggest a way to automate creating rectangle shaped polygons in ArcMap? If I had many 30m x 60m rectangles to digitize and I just want to click a starting corner coordinate on screen, ...
0
votes
2answers
472 views

“Identity” overlay in QGIS?

I have two polygon layers I'd like to overlay using QGIS or another open source tool. What I want as output is a polygon layer with the extent of one polygon, but with each polygon in that layer ...
0
votes
1answer
532 views

ARCGIS 10- Cutting down a tiff file layer to a smaller polygon?

I have a dynamic land map featuring open forest, closed forest ect of an area which is a tiff layer file. I want to be able to cut the layer file to my area of interest, the polygon I created? I also ...
0
votes
2answers
424 views

ArcGIS 10.1 - Using Polygon Neighbors with dissolved polygons

I've used polygon neighbors to find all neighbors of a polygon layer, which I then use to look up all possible neighbor combinations and dissolve the polygons into all possible combinations of two ...
0
votes
2answers
791 views

Detecting invalid polygons (self-intersecting or touching)

An invalid polygon can be defined as one that intersects itself, or one where the lines make contact, ie, the two shapes at the top of this picture. Given the XYPoints of a polygon, what logic ...
0
votes
1answer
67 views

Polygons Shrinking and Moving as if CRS Was Suddenly Out of Sync with Project

I long ago set the CRS for a linguistic geography project I'm working on involving Oklahoma data (EPSG:2836 - NAD83(HARN) / Oklahoma North), and I have been closely monitoring that the polygon ...
0
votes
2answers
700 views

How to scale/reduce my polygon without changing the central lat & long?

I am writing a VBA code to resize my polygon, I get a input as vector points(Shape file). The code below resizes it as according to my scale factor but my central latitude and longitude are also ...
0
votes
1answer
3k views

Merge attribute of points into a polygon : Arcmap 10

I have points layer which the attribute looks like this: FID Shape ID Lat Long 0 Point 2065 -5.51666 106.48333 1 Point 2319 21.93333 120.73366 I also have polygons layer : FID Shape ...
0
votes
1answer
362 views

OpenLayers generate random polygon

I have a world map. I need randomly to generate polygons and render them on map. I have no problem with rendering, but can anybody suggest how to generate polygons with random geometry? (I need n ...
0
votes
1answer
728 views

How to label each polygon in a layer?

QGIS 1.8.0 Mac OS 10.6.8: I want to label each polygon in a layer in a similar way to this image (done in WP Presentations) and am totally confused by the manual. Obviously I have to find a list of ...
0
votes
1answer
3k views

How to create polygon with DBGeography Class in Csharp

I want to create a polygon with csharp 4.5 via DBGeometry class. I found example on csharp to create a point via System.Data.Spatial namespace. (Requires Reference System.Data.Entity) This code is ...
0
votes
1answer
347 views

Using the ArcGIS Runtime SDK for C# is there a method to Hit Test for a polygon on the graphics layer?

I am very new to using ArcGIS runtime SDK for C#. I have loaded a polygon from a shapefile. I wish to query if a lat/long point is inside or outside the polygon? How can I do this? Thanks in ...
0
votes
1answer
3k views

Calculate maximum and minimum elevation for a polygon layer from a DEM [duplicate]

I have a polygon layer and would like to know the min and max elevation within each polygon. My elevation layer is a digital elevation model. I'm not quite sure how to extract that information. I am ...
0
votes
2answers
676 views

Adding values to Fishnet Grid?

I have developed a fishnet grid for my study area. I have various datasets for the area and want to allocate a value (from one of the pre-determined datasets) to each polygon within the Fishnet. ...
0
votes
1answer
262 views

How to remove polygon under other one?

Hi, lets say that green polygon is under red and part of blue with yellow stripes is also under red polygon. how can i make one polygon from every polygons that intersects my main ( red ) polygon ...
0
votes
2answers
39 views

testing if a Geodesic polygon contains a point c++

I am looking for an algorithm, preferrably in C++, that can take a point (lon,lat) and determine whether that point is inside a geodesic polygon. Is there such an algorithm freely available?
0
votes
1answer
17 views

TopologyException error during fortify SpatialPolygonsDataFrame

I tried to reproduce a recent question on spatial data visualization using ggplot2 and received the following error message during fortify(world, region = "ISO3"): Error: TopologyException: Input ...
0
votes
1answer
25 views

Python error in polygon to raster conversion

I want to convert polygon to raster. I converted the dbf file ( "cntymam") to table view to make use in the conversion. I am getting a error that the parameters are not called and also with the grid ...
0
votes
1answer
24 views

Assigning values from one polygon to second polygon if located within first using ArcGIS for Desktop?

I have two layers of polygons. I would like to know if there is a way to assign a value from a polygon in the first layer to any polygons from the second layer that fall within that polygon?
0
votes
1answer
103 views

Draw polygons from an array in OL3

I have an query that produces an array of coordinates like so: 95.61,38.60 95.22,37.98 95.60,37.66 94.97,37.65 (long/lat separated by "," and coordinates separated by a space). How can I use these ...
0
votes
4answers
78 views

Fix Self Intersecting Polygons Manually

I are looking to implement a method to fix self-intersecting polygons by editing the vertex order. We want to take the polygon rings and re-arrange/add in vertices to make a valid polygon. This is ...
0
votes
1answer
39 views

Sampling one shapefile with polygons of another using R?

I have two shapefiles that partially overlap. One (the bigger one) consists of several polygons which represent fields I am interested in. The second, is a rectangular shape that overlaps about 30% of ...
0
votes
1answer
45 views

Simplifying polygons in ArcGIS considering contains-one-point topology rule?

I want to simplify polygons using the "Simplify Polygon (Cartography)" tool in ArcGIS 10.2. Additionaly there is one point in each polygon and this condition should still be fulfilled after ...
0
votes
1answer
54 views

Merge two points of two different polygons to get one polygon at the end

I would like to join points from two different features. I already searched for plugins but so far but didn't find one working plugin or solution for my task. So here is a picture of 2 ...
0
votes
1answer
74 views

Merging polygons which have different coordinate system with map coordinate system?

in order to merge the polygon I go to editor tool and then select merge, however in my case when I want to edit it is giving me this statement" the layers are in a different coordinate system than the ...
0
votes
1answer
61 views

gdal_polygonize ignores some polygons

I want to polygonize this PNG. I try gdal_polygonize pic.png -f "GeoJSON" polygonized.geojson but I get only 11 polygons instead of more than 20. What is the cause or how can I fix it?
0
votes
1answer
84 views

How to combine multiple zipcode polygons into one polygon

In CartoDB, we have a table of chapters that make up a national organization. Each chapter record has a polygon that defines the geographical area that the chapter covers. The area a chapter covers ...