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

1
vote
2answers
531 views

QGIS Valmiera, Labels only show for part of polygons

Using 2.2.0-Valmiera on Ubuntu 13.10 I have for Croatia 21 Counties as polygons. Labels show only for 12 counties: here I see that no labels are shown for multipart features. So I checked "Show ...
3
votes
3answers
2k views

How to add a polygon from PostGIS ST_AsGeoJSON into Leaflet?

I try to use the following function to add polygons to my Leaflet map. function polygon(geojson) { alert(geojson); // alert for testing layer = L.geoJson(geojson); layer.addTo(map); } ...
4
votes
2answers
311 views

Converting shapefile to raster: Character attributes

I've got a shapefile that I would like to convert into a raster, but the trick is that the attribute I want a raster version of is character data. I'm familiar with geoprocessing using GDAL (in the ...
3
votes
1answer
2k views

Calculate polygon area inside extent

We're using ArcMap 10.0 sp5, creating a tool in c# using the ArcObjects sdk. Is there a built in function or simple set of steps that calculates the area of each feature of a polygon layer within a ...
3
votes
1answer
220 views

How to give elevation information to a polygon feature class using existing TIN file ? (geological mapping)

I'm an ArcGIS 10.1 user. My issue: I have a printed form of a map which depicts geological bodies being surface rock occurence. Additionaly, there are elevation contour lines. I digitized the map by ...
0
votes
1answer
189 views

How to obtain the maximum/minimum longitude and latitude for a polygon?

I have the MSA/CMSA shape file which contains 274 metropolitan areas. How do I have to obtain the maximum/minimum longitude and latitude for an area? So, it's like drawing a box right outside and ...
4
votes
3answers
155 views

How to shrink polygon on two sides?

I have a polygon which I know is a rectangle, although it may be at any orientation: I want to shrink this polygon by a third of the width from two sides, so that I just get the strip in the middle ...
1
vote
0answers
64 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 ...
2
votes
1answer
259 views

Compute the area of a given polygon (in vector format) lying between specified lines of latitude

I have species distributions (in vector format) and I would like to calculate how much of the area for a given species distribution is within certain lines of latitude, such as temperate and tropic ...
1
vote
1answer
3k views

Control view of Multi polygon in Google map

We have multipolygon WKT. We have no issue to draw all of them in Google map. Below are the codes. The only issue is that we want only the first polygon to be visible but the rest to transparent. How ...
1
vote
1answer
113 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 ...
12
votes
3answers
2k views

Self intersections for polygons, how to solve?

I have a question about repairing a self intersecting polygon shapefile. I have a shapefile containing Polygons (ZM) which have self intersecting features. If I use the "repair geometry" tool, it ...
0
votes
2answers
164 views

How to select and shade polygons I am interested based on existing shape file in Arcgis 10.2

The shape file already includes polygons I am interested and others. I want to make a map put in my paper showing which regions in the world I am interested. Thanks.
2
votes
1answer
67 views

How to dissolve geodatabase map across two subdivision levels in Arcgis 10.2

The existing polygon database contains attribute table with the following structure, and has three levels; country, state, and city (and many other countries not listed below). I want to dissolve the ...
0
votes
1answer
64 views

CartoDB simple process

I'm attempting to create a simple process with CartoDB, I have a layer with number of polygons, I want to to run a SQL with a multipoint line to report which polygons were intersected.
2
votes
2answers
382 views

Simplify Multigeometry polygons in QGIS

I am really new to QGIS and KML so this might be obvious but I am too ignorant to know what to do. I have some KML files I would like to use in an application but they are much more complicated than ...
1
vote
1answer
375 views

JTS Polygon simplification without holes

I have a set of polygons without holes. I wish to merge any intersecting polygons. I don't want to have any holes in my simplified polygons. Is there a recommended way to achieve this using JTS? The ...
3
votes
1answer
306 views

PostGIS - when I add a polygon, delete overlapping areas in other layers

I'm starting to work with PostGIS and I'd like to solve the following problem: In my database, I have multiple land use class layers, for example: "residential", "industrial", "commercial". The ...
0
votes
0answers
56 views

Why does it take so long to run zonal statistics?

QGIS 2.0 Windows 7 I have pulled agricultural data from NASS CDL in tiff format. I want to track where a certain crop has grown over the years. My intention was to use a county shapefile overlaid ...
2
votes
1answer
165 views

Area of polygon split by a line

I need a query that return the area of two polygons that have been split by a line. This is what I did so far: SELECT ST_Area(ST_Split(surface.geom, limite_a.geom)) from surface, limite_a where ...
2
votes
1answer
231 views

Batch create fishnet using FME

I want to create a fishnet based on the extent of individual polygons from a list of polygons. I plan on processing each resulting fishnets further. I am maintaining a worldwide data set on Quarter ...
1
vote
1answer
101 views

How do I add coordinates to a polygon layer to be able to sort the polygons from north to south in QGIS?

I have a polygon file, where each polygon represents one property. I want to be able to sort the polygons from north to south or vice versa. I need them to be sorted in this way when I export them to ...
0
votes
1answer
160 views

Numbering rows and columns in polygon grid (fishnet)

I seem to be a bit stuck on what i thought would be quite straightforward. I've created a fishnet of polygons, all 25 x 25 metres, 100 polygons by 100 polygons. My main task is to create a ...
2
votes
1answer
500 views

How can I filling ring in QGIS 2.2?

I created a polygon which covers a park. But I want to distinguish some small buildings located inside the park. Consequently, I want to distinguish them and use them as independent patches inside the ...
13
votes
6answers
8k views

How to use ST_Intersection?

Here's a quick summary about what I'm trying to do: I have 3 tables in Postgres, 'a' and 'b', each have a Polygon column, and 'c' has a Point column. What I'm trying to do here is to get the ...
3
votes
1answer
113 views

T-shaped polygons

Is there any coefficient that can indicate T-shaped polygons ? Examples of T-shaped polygons :
0
votes
1answer
346 views

Using polygon layers to cut holes in other layers

I have a number of polygons in a layer (old rehabilitation areas) and want to be able to selectively bring one to top and use this to cut a hole in the others and fill this with the cutting polygon ...
0
votes
1answer
35 views

Non-deletion of nodes in QGIS

I've come across an annoying irritation. I have a .SHP converted from MapInfo which consists of a large number of features, a lot of which are made up of a whole heap of combined/multipart polygons. ...
0
votes
1answer
56 views

Get all points with in some range of a point (or range of point)

I have got a list of points and a fixed range (10m). So what I have to do is for each point I have to find all the points present in a table with the 10m range of the given point. For example: Let ...
2
votes
1answer
60 views

Identify geographic location to points

I am quite new in QGIS and I really need your help. I have a map of Kenya divided into 68 districts and I have coordinates of 30.000 schools. The points have one variable besides the latitude and ...
0
votes
1answer
62 views

How to select/create polygons of interest based on existing polygon database and indicate other polygons that share boundaries in ArcGIS 10.2

The existing polygon database contains attribute table with the following structure, and has three levels; country, state, and city. I am interested in the state of 'Anhui' for example (and many ...
5
votes
2answers
251 views

How to calculate the area between two line shapes?

I'm a newbie using QGIS (2.0). I'm trying to calculate the sidewalk area of a city. For that I have some shapes, extracted from Mricostation, with the topology (facades, fords, fences, etc.), but ...
2
votes
1answer
240 views

how to create an outline polygon (footprint) from raster data with postgis?

how can I create a polygon, containing the actual outlines (aka footprint) of a raster file with postgis? I just need the outlines of the data containing parts of the raster. ST_PixelAsPolygon ...
11
votes
3answers
18k views

How to convert .shp to .csv including attributes AND geometry?

I have a .shp file with 60k+ entries, all of which are polygons with corresponding attributes (acreage totals, landowner names, tax ID #s, etc.). What I ultimately need is a .csv file with all of ...
0
votes
2answers
57 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
102 views

Can QGIS report/calculate areas/perimeters of individual polygon components within multipart shapefile?

Can QGIS report/calculate the areas/perimeters of individual polygon components within a multipart shapefile without using the "explode" vector tool to generate a new file? using QGIS 2.2.0 on ...
0
votes
1answer
59 views

Add a field to output feature of a geoprocessing tool?

I am running the Watershed tool and RasterToPolygon tool in a loop for a number of points: flowdir = "flow.tif" flowacc = "flowacc.tif" pnts = [arcpy.PointGeometry(arcpy.Point(x=0.0, y=0.0, ID = ...
1
vote
1answer
175 views

How to count number of stores per company per region?

I have two layers. One point layer and a Polygon layer. It is simple to count the points in the polygon layer by the "points in polygon" function. But I also need some more information of the point ...
1
vote
1answer
73 views

Generating vineyard's rows in a polygon

Does anyone know if it's possible to generate line (the distance between each one is 2 meters) in a polygon?
1
vote
1answer
809 views

How to spatially join polygon fields onto a point layer in QGIS?

I have gridded depth points in CSV format that I'm trying to add other map data to, in additional columns. I've tried joining fields, hoping that I could link the Shapefile data to the csv, but when I ...
0
votes
1answer
140 views

Visualizing information when click in polygon‏ - Spatial join

I am new to cartodb, right now I am trying to do something similar to the cartodb tutorial: Create your first map with CartoDB.js, but with polygons using my own map. For example: I did a spatial ...
2
votes
1answer
80 views

How to check how much of a line (percentage-wise) is covered by a polygon in arcpy?

I'm searching for an efficient way to check if a line is covered by a polygon (see image, this case should return 2x "true"). Right now I only check wether a line is within a buffer with ...
1
vote
2answers
68 views

Distance from one point to many polygons

I'm using ArcMap 10.1 and have a shape file of polygons of municipalities. I also have the coordinates of the centroids of the polygons (if I need to use them). I want a column in my attributes table ...
1
vote
1answer
58 views

How to automatically add identical new polygons to a layer?

I am seeking a way, using QGIS, to automatically add polygon features identical to others on the layer. In this case, they are water valves on a water network. Anyone know of a user-friendly way to ...
1
vote
1answer
234 views

Algorithm to move polygon nodes when simplifying

I want to simplify polygons that come from a raster analysis. In order to avoid overlap and gaps, I first convert my polygons to lines. The problem is that all algorithm are then keeping the two end ...
2
votes
1answer
204 views

QGIS - How can I convert a raster file to a vector file without making same value cells into one polygon?

How can I convert a raster file to a vector file without making same value cells into one polygon? In the attached image, the values "2124", "2269", "2321", "2634", and "2920" are the polygons ...
0
votes
1answer
104 views

How to copy closed loop lines into polygon feature class

I'm trying to utilize line contour data to find the volumes of local depressions. To do this, I want to copy the closed loops formed by depression contours into a polygon feature class to find the ...
0
votes
1answer
286 views

Smooth polygon boundaries

I have a kml file with boundary polygon. It has a lot of gaps and overlaps in them. I converted them into shapefile and tried to use smooth and generalization feature tool in a couple of GIS ...
2
votes
3answers
317 views

Shapefile with overlapping polygons: calculate average values

I have a very big polygon shapefile with hundreds of features, often overlapping each other. Each of these features has a value stored in the attribute table. I simply need to calculate the average ...
1
vote
0answers
81 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 ...