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
307 views

Zipcode to Polygon/Boundry

Is there any API out there which can give me Polygon value for a zipcode? I really thought that it would be fairly easy for me given the number of Maps APIs out there. Either Google Maps API or ...
0
votes
1answer
461 views

How to export to all points within Leaflet polygon?

Is it possible to export all points within a polygon drawn using Leaflet? (http://leaflet.github.io/Leaflet.draw/).
0
votes
0answers
21 views

Changing Polygon shape on Zoom in and Zoom out in google maps using javascript

In my application iam using google maps v3, on page load with default zoom level of 15 i load few polygons by passing points(latlng coordinates) from database on the google map now my question is when ...
4
votes
1answer
93 views

Creating shapefiles using textfiles in QGIS

I have a shapefile in QGIS which has polygons in it . There are several other attributes for each feature . I want to add another attribute to each feature . The value for this attribute is available ...
1
vote
1answer
52 views

Performance Improvement of Postgres vs PostGIS

I am trying to run the following query thousands of times per second to determine which is any polygon contains the passed in point. SELECT * from areas WHERE poly @> ? Poly is the name of the ...
0
votes
1answer
35 views

Multipolygon From Multilinestring PostGis

I have been looking for a answer for days. I dont even know if its possible. Tried: ST_AsGeoJson(ST_MakePolygon(ST_transform(geom,4326))) ERROR: Shell is not a line ...
0
votes
0answers
13 views

How to load points in a SQL server polygon table?

I have a spatial table in SQL server which stores both points and polygons geometry and I am using the table to return geoJSON for API calls. I want to load some points to this table with shapetype ...
1
vote
1answer
31 views

Convert Postgresql Polygon to PostGIS POLYGON

I have an existing table in postgres which contains a plain old posgresql polygon. I have added a new column using SELECT AddGeometryColumn ('public','fences','geom',4326,'POLYGON',2); I would ...
1
vote
0answers
22 views

Collect near polygons [closed]

I have the following data: The data have 5 level (in tones blue). I want to collect only the nearest polygons with the same level and sum the number (represent client number). When I collect only ...
1
vote
2answers
272 views

How to resample polygon vertices so that they are evenly spaced in Arc 10

I have digitized the outline of many river channels (by both manually picking points and using streaming mode), but now I need the vertices to be evenly spaced (for input to another program). I tried ...
0
votes
0answers
22 views

Intersecting polygons to a focal polygon with the same cell ID and also obtaining the length of the joining edge

I have a series of polygons, where there is a focal polygon (a type of coral reef). The other polygons are cut to the centroid of a cell where the focal polygon is included. The cell ID is given by ...
0
votes
0answers
12 views

how to use st_intersection() with re-projection in POSTGIS?

This is a shipping route from 'portland to busan' and I want to check the route against land_polygons like how much distance is traveled by a route through land.And the problem is while checking the ...
1
vote
1answer
95 views

CartoCSS: labels along inside of polygon boundary

I'm using CartoCSS to render maps that include large polygons (like national parks). At higher zoom levels I want labels along the inside of the polygon boundaries, like in OpenStreetMap: I ...
4
votes
1answer
4k views

Creating polygon based on spatial extent in ArcGIS Desktop?

Is there anyway that I can input: The Coordinates System (projected is OK) The bounding box and create a rectangle polygon based on these?
1
vote
1answer
38 views

Difference between intersect {raster} and gIntersection {rgeos} in polygons - R?

I am interested in knowing the difference between tools: intersect {raster} and gIntersection {rgeos}** tools in R. I have several overlapping polygons and I am interested in their overlap, but mostly ...
0
votes
1answer
53 views

Clip lines by overlapping polygons

I want to cut a line shape into parts by polygon areas. No problem so far. But the polygons overlaps each other at the border. I need one line result for the whole area of every polygon. Any ideas for ...
0
votes
2answers
35 views

PostGIS Multipolygon - holes

I have MULTIPOLYGON in my PostGIS database to store countries (with islands etc.). But I need to add holes to my borders for lakes. How can I store multipolygon with holes? I am using ...
1
vote
1answer
33 views

How can I assign an object in a shapefile to a location based on another shapefile?

I have two different shapefiles to work with: one of them has polygons representing tree canopy data and the other is a shapefile for census tracts in the area I am working on. I am trying to figure ...
0
votes
0answers
13 views

Donot Polygon in QGIS [duplicate]

When I am creating a polygon inside of another polygon, both the polygons are selected, Please help me to create donot polygon in QGIS.
1
vote
0answers
25 views

QGIS split line into segments on polygon

Is it possible in QGIS to split a line into segments given which polygon it falls within? I am using 2.8. For example, a line that passes through three polygons will become three separate lines. Each ...
6
votes
3answers
2k views

Easily calculate “roundness/compactness” of a polygon

I am trying to find ways to quantitatively describe the shapes of various polygons. For my project, these polygons represent lakes, rivers, lagoons, and parks. So they can be almost any shape. One ...
1
vote
1answer
217 views

Overlapping polygons in the same layer

I am working in QGIS on a vector layer where areas are classified using an attribute "typo". The problem I'm encountering is that many polygons are duplicated or overlapping, with the result that some ...
4
votes
3answers
185 views

Creating map with same-area hexagonal polygons using ArcGIS for Desktop?

I'm trying to figure out (1) what this type of map linked here is called (I've been unable to find the name through search), and (2) whether there is an Arc tool that will transform a shapefile or ...
1
vote
0answers
23 views

Enable editing only one feature in a Polygon Layer using PyQGIS

I was thinking of locking neighboring polygons (parcels) by disabling editing on them, while editing would be possible on the polygon at the center. This means other polygons can also be edited in ...
0
votes
0answers
10 views

Divide/Split single polygons from one Shapefile using ArcGIS for Desktop? [duplicate]

I have a map of Austria which shows all the federal states in own polygons. As a whole - sure - you get Austria. I know how to make several states invisible so that you can just see particular states ...
3
votes
1answer
186 views

How to map flood areas from a set of points containing surface and height of water?

I am working on the damages made by the typhoon Haiyan. I use QGIS 2.0 with extensions and toolbox, and MapInfo. I have vectors, rasters of the place. I want to map the flood area along the ...
1
vote
1answer
54 views

Elevation data from 3D shapefile of buildings to raster DEM

I have acquired LoD2 building models in the 3DShape format (Polygon ZM). This LoD2 data needs to be prepared for a R-script of solar irradiation calculations on roof surfaces, but which can only ...
23
votes
7answers
25k views

Removing small spaces (slivers) between polygons?

I have a set of polygons representing administrative districts. The districts were digitized by hand, and there are small spaces (slivers) between polygons where the polygons should be touching. How ...
3
votes
3answers
525 views

Determining the area of each polygon within a polygon boundary?

I have a series of maps representing a 1000m diameter around a point. These maps contain 40 different types of polygons that represent a land use (ex. Corn crop, Pasture). I want to select all ...
3
votes
1answer
44 views

Showing multiple burials in same grave for Cemetery GIS?

I am an intern creating a Geodatabase for a municipal cemetery. The one lot can hold up to 3 people (2 people, 1 cremation) two people at the most. How would I show that information on the map ...
0
votes
2answers
18 views

Java library for polygons interesection

I have an Android app when I have multiple polygons of a person's position, and I want the intersection of these polygon to know his exact position.
1
vote
2answers
53 views

How to create a polygon grid with un-even spacing between research plots?

I have an orthomosaic of a crop field with small research plots (3.8 X 1.44 m and 0.22m b/w plots and 0.50m b/w range spacing). I would like to create a polygon layer using this information. After ...
1
vote
2answers
52 views

Maximum distance to polygon edge

I have a point feature class and a polygon feature class, and each point is located within one polygon. Is there a way to programmatically calculate the distance from each point to the farthest ...
1
vote
1answer
36 views

sorting polygons extracted using Fishnet

I generated polygons using fishnet in ArcMap, since the polygons didn't fall exactly on top of my raster image, I had to edit and move some of them. Now the FID of my polygons are all messed up, and ...
1
vote
1answer
53 views

Remove lines from inside a polygon in QGIS

Through a "dissolve" process in QGIS, I achieved some polygons that have some fails, like this one in the screeshot: Is there any automatic process I can make in QGIS to remove those lines inside ...
0
votes
2answers
1k views

How to get a list of OSM relations (id numbers) of cities and countries only?

I want to get OSM polygon shapes (GEOJson or WKT) of countries and cities only. I know that it is called a "relation" in OSM and each relation has its own id (New York is 175905, for example). How may ...
1
vote
1answer
28 views

Edit raster classification manually using polygons - ArcMap

I want to edit the elevation/z values of certain zones on a raster in ArcMap. I followed this example by creating a polygon, assigning a value of 7.5, then converting the polygon to a raster, finally ...
0
votes
1answer
66 views

Assign overlapping polygons based on attribute

I am using ArcGIS 10.1 and have a polygon shapefile with 16000 records. There are many polygons that are overlapping and my goal is to determine the overlap portions fix the problem, so that there ...
2
votes
1answer
515 views

Is it possible to have self intersecting polygons in shapefile?

GIS vector data for example shapefile contains polygonal data. Lets assume, we have polygon A which has self-intersection which means that the edges in this polygon intersect with each other. Lets ...
1
vote
1answer
40 views

In PostGIS: How to delete completely overlapping polygons?

I would like to eliminate overlapping polygons from a table that is often updated with new polygons, but only if a certain attribute has a higher value. If this higher-priority polygon only partly ...
1
vote
1answer
54 views

FeatureToPolygon (to cut polygons by line) not working correctly outside of ArcGIS

I asked a question yesterday, about splitting polygons using a line, and I ended up using the approach that is described in the comments here. Although this worked with my test data, it causes a lot ...
1
vote
0answers
25 views
1
vote
2answers
67 views

How to make a circular polygon in QGIS?

I am trying to make a floor plan for my office, have managed to make all of the rectangular components (e.g. the rooms) however some of the desk layouts are circular and I haven't been able to work ...
14
votes
8answers
25k views

Extracting coordinates of polygon vertices in ArcMap?

I've got about a dozen polygons in a feature class loaded in ArcMap 10, all in geographic WGS 1984. How do I easily obtain the coordinates associated with each vertex of each polygon in that feature ...
6
votes
3answers
2k views

Creating square grid polygon shapefile with Python?

I have the following coordinates minx, maxx, miny ,maxy = 448262.080078, 450360.750122, 6262492.020081, 6262938.950073 I wish to create a square grid of size 1 m using python. import math ...
2
votes
1answer
349 views

Optimizing ArcPy code to cut polygon?

There is a lot of nested loops and wondering of ways I could speed up this code? Any ideas? Note: This requires ArcMap 10.2 def cut_geometry(to_cut, cutter): """ Cut a feature by a line, ...
4
votes
2answers
124 views

Dissolving/Unifying Ill Behaved/Irregular Polygons in R

I'm working on a project involving bringing together multiple subjects circling difficult to find parts of an image. The output from users is pretty awesome. Cool, right? However, what I want is ...
0
votes
1answer
44 views

Adding pixel value data from a raster layer to a number of buffer polygons ArcGIS

I have created a layer of polygons with buffers around my points of interest, all of the same size, in Arc GIS. I also have a raster layer of nighttime lights with pixel values between 0 and 63 ...
5
votes
1answer
228 views

Create raster with grid cells values based on area covered by polygons

I have a polygon data with area covered by the forests (data is here - https://www.dropbox.com/s/zgckliydalljw6a/sp_data.zip?dl=0). I want to convert polygons to raster. The value of each grid cell ...
2
votes
1answer
118 views

Cutting polygon using line - cutter, cut() - using ArcPy?

What I'd like to do, using ArcPy: use a line to split a bunch of polygons into separate parts. Here is what the inputs could look like: In this case the line should split each polygon into two ...