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

3
votes
2answers
2k views

How can I group Points to make polygon via Python

I have an array of coordinates Point= [lat,long] ListPoint= [[38.203655,-76.113281],[38.10,-76.12],..] I wanna make a polygon that contains all these points ? There is a project developed by ...
3
votes
1answer
510 views

How do I smooth edges of polygons in QGIS?

Is there a built in function or plugin I can use to achieve smooth lines for my polygons instead of the blocky ones I have now?
0
votes
1answer
98 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
90 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
1answer
215 views

calculate distance between points crossing the antimeridian

How can I calculate the distance between two points (lon/lat) if any of the points exceeds the antimeridian (+-180 longitude)? Im using the distVincentyEllipsoid {geosphere} to calculate the shortest ...
4
votes
1answer
914 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
402 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 ...
1
vote
0answers
93 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 ...
3
votes
1answer
670 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 ...
6
votes
3answers
691 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
1answer
232 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 ...
4
votes
2answers
1k 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 ...
0
votes
2answers
776 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
86 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 ...
1
vote
1answer
417 views

How to generate random GeoJSON polygons (latitude, longitude)

I am looking how to generate polygons in GeoJSON format with random locations (latitude, longitude), if I generate totally random set of points it will not produce valid polygons. So my question is ...
4
votes
3answers
246 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 ...
0
votes
1answer
113 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.
0
votes
1answer
705 views

Looking for a simple hatching algorithm

If I have an arbitrary polygon, and wish to hatch it with lines at a given angle and spacing, is there a simple low-level algorithm which will return the set of hatch lines inside the polygon?
2
votes
2answers
796 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 ...
3
votes
1answer
650 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
100 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
342 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 ...
0
votes
1answer
359 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 ...
3
votes
1answer
1k views

How to fill in a ring polygon 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 ...
2
votes
2answers
544 views

Calculate the number of points in a freehand polygon ArcGis Javascript API

I'm drawing a free hand polygon on my map. Now I want to calculate the number of points found in that polygon. I have done this code, which my now is giving me the number of points found in the map ...
2
votes
4answers
2k views

Combining different geometry types into same feature class?

I've searched the question in this blog. Maybe I don't use the right words but anyway my problem is not present in any post so I'll try to explain my question by opening a new one. I have a polygon ...
1
vote
1answer
173 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
60 views

Query to create polygone from lines that touches in POSTGIS

I am trying to create polygons from a line layer with a spatial query in postgis the probleme is i dont have a lot of information on the lines only id of each line and geometry thanks for your help
2
votes
1answer
423 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
2answers
690 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 ...
1
vote
1answer
97 views

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

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 ...
3
votes
1answer
208 views

T-shaped polygons

Is there any coefficient that can indicate T-shaped polygons ? Examples of T-shaped polygons :
2
votes
1answer
89 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
2k 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
2answers
76 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
332 views

Intersecting Overlapping Polygons Individually in ArcGIS

Map Layers: -Census Tract Shape File w/Population Data -Set of Store Locations with 5 Mile Buffers (Significant Overlap Between Buffers) I have create feature layers for both and I am trying to ...
5
votes
2answers
361 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 ...
0
votes
1answer
90 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. I'...
0
votes
1answer
146 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 ...
2
votes
1answer
608 views

Calculate distances between polygon centres in QGIS

Is there a practical way to calculate distances between polygon centroids in QGIS? I have a UK city region map divided into administrative units (1 ward = 1 polygon). I want to represent their ...
1
vote
1answer
1k views

CartoDB.js - Accessing table fields in hover function

I am new to CartoDB.js and javascript in general, and I am attempting to highlight polygons in response to a mouse hover. My plan of attack attempts to utilize one of the interesting templates ...
2
votes
1answer
210 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 line....
1
vote
2answers
133 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
64 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 ...
0
votes
1answer
75 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 = 12))...
1
vote
2answers
3k 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 ...
1
vote
1answer
431 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 ...
0
votes
1answer
226 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 ...
3
votes
1answer
341 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 ...
2
votes
2answers
799 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 ...