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
0answers
41 views

summarize multipart feature by another multipart feature

I have one shapefile with many polygons, each representing the area of a selection of crops. I would like to determine the total area of each crop by county using a shapefile of counties in Arcgis ...
1
vote
1answer
78 views

ST_Intersection for polygons

I'm looking for a query that returns overlapping areas of two tables with polygon geometries. Using row_number() over() the entries of the gid column are not unique in the case of dumped ...
6
votes
2answers
170 views

Summing up over area based on distance related function?

Through a field study, we learned that the density of a bird species in the forest was related to the distance to forest edge: ln(density) = 1.89*(distance to edge) + 0.34 Now, for any forest ...
1
vote
3answers
667 views

How to create one KML per polygon (from one Shapefile)?

I have a shapefile containing hundreds of polygons. I need to create a kml of each of the polygon. Is there any way that I may not have to deal each polygon individually and my polygon file may give ...
1
vote
2answers
761 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. ...
1
vote
1answer
25 views

Not all polygons removed when cutting from vector layer in QGIS

I have created ten polygons representing lakes on a vector layer, and I am trying to cut them from an imported and re-projected vector layer of administrative districts. When I use the 'Cut with ...
5
votes
1answer
81 views

Clipping features depending upon percent coverage by other features

I have a shapefile composed of several thousand square polygons of equal size, arranged in a grid. I have another shapefile with a few dozen circles. The squares are about 1/10th the size of the ...
1
vote
1answer
81 views

gDistance to determine closest point to polygon: does changing projection change results qualitatively?

I'm using gDistance from the rgeos package for R to find the nearest point to a polygon. The projection of both points and the polygon is +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 ...
0
votes
0answers
20 views

Aggregate polygons based upon adjacency to an acreage threshold

I work as a forester. I have a feature class of approximately 750 polygons that range in size from a few acres to more than 250 acres. I would like to combine these polygons based upon their proximity ...
3
votes
2answers
178 views

Extract polygon points

I have a map in .shp format with buildings. I'd like extract the coordinates of this polygon. E.g. if a house has a polygone of 4 points, i'd like to know the coordinates of those points and how to ...
0
votes
0answers
40 views

Points nearest to polygon: nearest to edge of polygon or centroid?

When using ArcGIS and performing a Spatial Join of points to polygons, there is an option to choose the closest point. Is the point that is chosen closest to the edge of the polygon or to the centroid ...
2
votes
2answers
164 views

Merge polygons in CartoDB?

I created this map in cartodb: http://cdb.io/1xBj4Xo Now I have to merge some of the districts to a bigger district. Is it possible to do this in Cartodb? Using a SQL query for instance? I can also ...
1
vote
2answers
847 views

Dissolve polygons - group to others with touching corners

I am working with some data that shows land management. There are many places where corners "touch". I would like to dissolve my dataset so that features are grouped (dissolved) with those that they ...
0
votes
1answer
67 views

Extruding a 3D stack of polygons on top of a map, e.g. with KML

I have data for the composition of rock layers in several polygons on earth. I would like to plot a stacked chart of the rock layers, colored based on layer metadata. Here's a mockup, where rock ...
3
votes
3answers
129 views

ArcGIS - possible to set the drawing order of polygon features [duplicate]

I have a table with polygons that I wish to display in a map. I would like the smaller polygons to appear on top of larger polygons. Is there a way to set the drawing order such that the larger ...
0
votes
0answers
46 views

What is the best way to store GML polygons in MySQL?

I have large .GML files with polygons of regions around the country, some are a single polygon, some are multiPolygon. What is the best way to store this in MySQL? I was assuming that I would ...
0
votes
0answers
34 views

Merging two regions of several into one, to get output SpatialPolygonsDataFrame file

I've been using the large SpatialPolygonsDataFrame file with outdated border of regions. I want to correct boundaries, but also hope to get in the end Polygons with Data Frame again. I used the ...
0
votes
0answers
66 views

How to get a “clean” polygon after using dissolve in QGIS?

I'm trying to obtain the boundaries of shapefile, thus to clean the inside as a matter of speaking. While I had expected that dissolve while get me a proper polygon, unfortunately it still has some ...
0
votes
1answer
57 views

How to eliminate polygon overlap areas in QGIS?

Is there a way to remove polygon overlaps within the same layer using QGIS, preferably removing the overlap area of the biggest polygon (having the greatest surface)? All of my polygons are in the ...
0
votes
0answers
47 views

Convert polygons to optimized lat long radius

I have a research project where I need to search Instagram and Twitter for geo coded data. The APIs allow lat, long, and radius, but I have shape files with polygon shapes and some long lines (think ...
1
vote
1answer
30 views

Number of lines within specified distance of thousands of polygons

I have ~5000 polygons in green (districts). I have storms that I am interested in as red lines. Each storm has a unique ID. Looking to add fields to the districts. The fields are 25km, 50km, 100km, ...
0
votes
2answers
68 views

Polygons of countries including territorial waters

Where can I get polygons (multipolygons) of all countries of the world including the territorial waters of the countries? OpenStreetmap displays these areas but I can't find an extract of this ...
2
votes
2answers
103 views

Cutting a polygon out of another polygon with python [duplicate]

Licence: ArcEditor Version: ArcMap 10.0 i have some issues to separat my data with python. To illustrate the problem, i have simplifyed the data with figures. I want to cut the blue polygon ...
2
votes
0answers
57 views

GDAL equivalent to ArcGIS Union?

I have a single shapefile full of overlapping polygons. The ArcGIS Union tool will generate individual, non-overlapping polygons with that geometry. Is there a way to do this with GDAL/OGR or another ...
0
votes
1answer
54 views

Cannot edit polygons in Qgis

I have a google Layer map on top of which I have added a raster layer of Image and then mapped image coordinates from Google layer. I made transparent (75%) image map layer and now mapping and ...
0
votes
2answers
81 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
90 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
0answers
22 views

Need to find polygon info from postgis

After importing shapefile into postgis I got geom data as MultiPoligon Like: ...
1
vote
2answers
60 views

Automating selection and sliver elimination using QGIS

At the moment I do this manually: open a shape file open the attribute table use "select features using an expression" - the expression is "area" < 200 then I use vector/geoprocessing ...
0
votes
0answers
169 views

Efficient way of determining polygon intersection with bounding box

I have a set of polygons, and I need to check whether they are intersecting with a given bounding box(rectangle). What I am doing is, I am taking every vertex of polygon and checking whether it's ...
6
votes
1answer
187 views

PostGIS polygon edge analysis (orientation, edge length)

I am rather new to the world of GIS and especially PostGIS, so please excuse me if the answer seems evident... I would like to do analysis on a number of buildings. One thing I am interested in is ...
3
votes
2answers
148 views

How to automatically calculate maximum cell values contained within polygons?

I've got a dataset made up of a large range of polygons (about 70 or so) which represent structures. I also have raster layers which detail a flood depth across an area. The floods depth raster has a ...
4
votes
1answer
268 views

Polygon to Raster taking longer in script than in ArcMap?

I have a large dataset that I am working with. Basically I have a table with 900,000 records that I join to a geodatabase feature layer, then convert that to a raster. This process takes a total of ...
2
votes
1answer
126 views

Extract raster value to polygon

I am trying to extract raster values within multiple polygons. It would be nice if I could choose between say the maximum or an average raster value within the polygon. For example, I have created ...
0
votes
1answer
102 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?
1
vote
1answer
33 views

How to calculate the area of a raster within a polygon which is greater than a specified value?

I'm using QGIS (2.8.1-Wien) and I have a raster layer showing chlorophyll concentrations in the ocean. I have also defined number of regions of the ocean using polygons. What I'd like to calculate for ...
2
votes
0answers
65 views

Digitizing complex archaeological scenarios in various levels

I don't know if this issue has already been answered, but I can't get my head around it. I used to do this in Illustrator, and there it was simply a matter of clicking "bring forward/bring back" etc. ...
3
votes
0answers
221 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 ...
2
votes
2answers
12k views

Openlayers How would i get a hover label over my polygon

make a hover/mouseover label for a polygon in Openlayers? I made a map with draw, delete and drag polygon function. Now I need to make a hover mouseover for this. How to get a hover label for ...
1
vote
1answer
33 views

How to Convert db.ListProperty(GeoPt) to GeoJSON Polygon

My Python Google App Engine (no tag?) app has a datastore model of an Area of Interest, simplified as import geojson class AreaOfInterest(db.Model): name = db.StringProperty(required=True) ...
0
votes
0answers
56 views

Visualizing overlapping polygons by occurence

I work in a library providing geospatial services and I have a patron with about 60 surveys with perceived accent regions in Mexico. Individuals drew on maps where they think people speak with ...
1
vote
1answer
157 views

Calculating distance between borders when one polygon inside another polygon?

I am brand new to ArcGIS and having some trouble. I would like to calculate the distances between the border of one polygon to another polygon. However, these polygons overlap. Thus when I use the ...
3
votes
1answer
97 views

Using arcpy to find geometry within another feature

In Arcpy, I would like to start with a point and then using its geometry method to find out if it is inside my polygon feature (Urban Areas) deeper than the buffer distance. This is a follow up to ...
0
votes
0answers
17 views

Losing polygons when importing shapefile in GRASS

I have a complicated mapinfo .tab file of wildland urban interface zones. They are represented as polygons. I am importing into GRASS using the following command: v.in.ogr -c dsn="C:....path" ...
1
vote
0answers
61 views

Convert polygon to raster and give value to null cells

Is there a way to convert polygon features to raster while also populating null cells with a specific value? As in, can I create a raster from a polygon shapefile and have the tool populate all null ...
2
votes
1answer
57 views

Using pyQGIS transform a layer of polygons into a layer of holes inside a bbox

I'm using python in QGIS. I have a layer of polygons (its a result of some earlier dissolving and has no overlapping polygons but some holes and islands in holes etc). I want to build a new layer ...
1
vote
0answers
61 views

QGIS - Polygon to Lines Tool Incredibly Slow

I am trying to convert a few polygons to polylines so I can save them as a .GPX file. I'm using QGIS 2.8.1 (Wein) on the Mac. It seems to be hanging. I only have a few small polygons (see ...
1
vote
2answers
31 views

add polygon to layer from text file [closed]

I am completely new to Qgis and to gis in general. I have start to work my way through the documentation but have a question that I can not find a answer to. When looking into the documentation ...
0
votes
1answer
34 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 ...
1
vote
0answers
45 views

Correcting polygon geometry so edges can be reshaped to match that of subsequent layer in ArcGIS for Desktop?

I have two layers; a polygon layer representing maritime boundaries/economic areas of countries in the world and another polygon layer representing all countries but with a detailed coastline. In the ...