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
2k views

Cannot insert simple geometry data

I installed PostgreSQL 9.2.4 and PostGIS 2.0.3 on my Windows 8 machine. Then I created a table using phpPgAdmin and added a geometry column using the following statement. SELECT ...
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 ...
1
vote
3answers
3k views

Openlayers vector feature coordinates are not transforming,

I have a OpenLayers vector with a single feature [0]. It's coordinates are in the map projection (EPSG:3413) and I want them in WGS84 (EPSG:4326) decimal degrees. I have the following code which ...
3
votes
1answer
2k views

How do you convert raster to polygon while avoiding small polygons

I intend to convert a raster to several polygons, but I want to ignore too small polygons, and just keep larger polygon. How can I do that? Thanks in advance!
3
votes
1answer
144 views

How can I check if a multipolygon can be represented as a simple polygon?

I have a large (30m+ records) spatial data set I have imported into a PostGIS database. I did not expect to find multipolygons in the data set, but it does have a few of them. I'd like to take a ...
3
votes
1answer
240 views

How to determine the longest side of a polygon in QGIS?

Is there a possibility to determine the longest side of a polygon with QGIS? As I need to do that for hundreds of polygons I would prefer an automized method (like a plugin). So far my idea was: ...
1
vote
1answer
161 views

Polygon Nodes do not have separate coordinates [duplicate]

I'm attempting to measure the distance of a series of points from a smaller number of polygons. As a first step, I've changed the polygons into points along their border, via the Vector> Geometry ...
2
votes
0answers
114 views

Cannot reselect polygon after modify

I've got various vector layers on a OL map. On one layer I have a few draw controls. If I draw a polygon I can select it (the whole pop-up thing works). This also works for all the other features. ...
2
votes
1answer
275 views

Evaluate minimum points required to define polygons based on an error threshold

I need to build a model or write an algorithm to do this, which I would like you to share your ideas with me. here is my cadastral problem: I have plenty of polygons and I need to make a report of ...
2
votes
3answers
193 views

Best program for crowd-sourced polygons on Gmaps

Looking for a way to crowd-source polygon creation on GMaps (in a wiki environment) that doesn't involved ESRI's expensive server software. Requirements: - a bunch of different wiki pages can be ...
1
vote
0answers
584 views

Line to Polygon via Polygonizer in QGIS

My question is in the same vein as this one. I'm attempting to convert precipitation lines (Precipitación Media Anual) to a polygon for Mexico in QGIS using the Polygonizer plugin. After running the ...
3
votes
0answers
126 views

Why doesn't Polygonizer copy the line ids to my polygonized shapefile?

I am trying to convert a line shapefile into a polygon shapefile using Polygonizer plugin, and when my new polygons are created all the cells in my id field are "Null", although I have clicked "copy ...
0
votes
0answers
190 views

Offset a Polygon defined in Lat Lng points by a given distance of miles or km

I am trying apply a positive offset/buffer (enlarge a shape equally from the borders) to a polygon that is made up of a series of latitude/longitude coordinates by a distance that is defined in either ...
1
vote
0answers
266 views

How can I move two layers at once in QGIS?

I'm trying to move two digitized layers, one containing points, the other polygons to a different location at the same time. QGIS doens't seem to allow this. Even if I select both layers and features ...
3
votes
1answer
430 views

Convert polygons to a number of randomly located points based on polygon size

ArcMap 10.1 on a PC. Working with a large shapefile with ~50,000 poygons with a wide range of size from 1,000+m. to <1m. I would like to convert these polygons into points so I can do some analysis ...
2
votes
1answer
163 views

In OpenLayers, is there any way to convert polygons to tiles?

I have a OpenLayer map which by enabling a feature by user, a very huge table of polygons (lots of small areas, with information and metadata for each) will appear on the map, which rendering this big ...
0
votes
1answer
809 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 ...
6
votes
1answer
597 views

QGIS define hexagon area around mapped points

I am using QGIS to map a number of radio antennas (for mobile network). Once I have the layer of the sites (done), I would like to assign to each site a coverage area (envelope). I could achieve that ...
4
votes
1answer
690 views

MongoDB: Search for polygons which have a certain location

Good day :). I am trying to implement a search feature on MongoDB using Mongoose.js , the short version of which is this: I tag locations on a map as polygons. and give them names. Then when an user ...
0
votes
1answer
448 views

matching a border of one polygon to another [duplicate]

I have a polygon (A) that I drew the eastern border of in QGIS. I have another polygon(B) whose western border I want to nest against the eastern border of polygon a so they are touching but not ...
2
votes
0answers
155 views

Matching points in table to polygons

this is my first post to this forum. I hope to start participating actively. I have a table with several records (aprox 200.000), each with its own coordinates. And I need to identify the "Polygon" ...
1
vote
0answers
152 views

graduated pattern polygon fill

I'm sure this question is really really basic but I appeal to you because I hate the idea that I have spent 20 minutes trying to do such a simple thing... All I want to do is style a polygon layer by ...
3
votes
1answer
348 views

How to delete one polygon from a multi polygon record in a spatialite database using QGIS

I have a spatialite database with multi polygon records within the database. When i try to edit these records i cannot delete just one of the polgons for a specific record. It only allows me to delete ...
7
votes
3answers
922 views

maximum circle inside an irregular polygon from a random point

I am trying to work out an algorithm for creating the maximum radius circle within an irregular polygon (a census tract) based on a given center of the circle. The motivation for this is to obscure ...
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 ...
2
votes
1answer
491 views

Remove intersect of one polygon from another in R

I am trying to remove the intersect from Poly2 onto Poly1. Below are the coords of the 2 polygons. > coords1 [,1] [,2] [1,] 992.0161 7462.531 [2,] 950.1962 7413.532 [3,] 902.3632 ...
3
votes
1answer
402 views

R: How can I create a polygon from several polygons and a line?

I have some spatial objects that I want to combine, namely three polygons and a line. The ultimate goal is to create a polygon that I can overlay on an area of a map of administrative divisions of the ...
6
votes
1answer
83 views

Is there a way to select only a certain polygon for editing?

I have a spatialite data base with 4300 polygons contained within. I wish to be able to edit the polygons but once i have highlighted the Polygon from the attributes table i find it hard to edit the ...
1
vote
0answers
59 views

Avoid rounding of coordinates in pyQgis

If I get the coordinates of a polygon in qgis by x = geom.asPolygon() It rounds off the coordinate from i.e. -27,200,334.86 to -2.72003e+07 How can I avoid that?
1
vote
0answers
112 views

Is segment of polyline contained in polygon

I am pretty new to arcpy and am slowly learning all its functions. I have a scenario where I am traversing a polyline. I get a start point and an end point on the polyline and form a segment with ...
6
votes
3answers
2k views

OpenStreetMap Neighborhood Boundaries

Is it possible to download neighborhood boundaries from OpenStreetMap? I see on maps that they often indicate neighborhood names; is there a way to retrieve their coordinates and boundary polygon ...
9
votes
4answers
7k views

using shapely: translating between Polygons and MultiPolygons

[EDIT: the solution to this was simply to use OGR to read shapefiles. See geographika's example.] In an ESRI shapefile, there is no distinction between Polygons and MultiPolygons. Furthermore, there ...
14
votes
2answers
2k views

Creating Thiessen (Voronoi) polygons using lines (rather than points) as the input features?

I have a set of line features inside a particular polygonal boundary. For each line, I'd like to generate a polygon inside which every possible point is closer to the given line than to any other line ...
5
votes
2answers
438 views

Need an Algorithm to Determining Polygon Borders

I'm currently writing a program in Java and I'm dealing with polygon objects. I want to create a different color border between touching objects depending on their class (i.e. land, ocean, etc). I ...
1
vote
3answers
3k views

How to auto fill or delete sliver polygons without losing precision?

I am developing some boundaries in which precision holds the key value. Using ArcGIS 9.3 I am converting lines to polygons using the "feature to polygon" tool. The lines are accurate but I find ...
11
votes
2answers
5k views

How to check Topology in QGIS?

I have two Shapefiles with Polygons ( City and Forerst) Is there a Plugin who is able check the topology (QGIS)? Like "Knots do not overlap" or something like that? I dont want that they overlap. ...
4
votes
5answers
988 views

Python loop Polygon to raster not working

I want to convert a large number of different shp polygons to raster in ArcGIS 10.1, using an existing field column "class" for the new raster classes. I am not very fluent in python but I thought ...
1
vote
1answer
1k views

arcpy points in polygon check

I have a list of points and a list of polygons both in a separate shape files. I am trying to write a ArcPy script to loop through the points, and then the polygons respectively and tell me when a ...
4
votes
4answers
3k views

Remove Polygon Islands

I'm really stumped with the problem. I have a polygon layer with no intersects or holes and I need to remove some 'islands', as defined by attributes of a certain size within the layer. It's a hard ...
3
votes
2answers
2k views

How to create a multipart polygon?

I have two polygons that consist of two separate polygons/lines in QGIS). How can I make this into a multipart polygon, which consists of 1 line in QGIS?
9
votes
1answer
625 views

Compare spatial cluster/agglomeration patterns for polygon data

I have agricultural data in form of polygons which I would like to test for spatial clusterings/spatial agglomerations. All in all I have about 40 variables which I can aggregate and standardize in ...
11
votes
3answers
4k views

How to merge two Polygons in OpenLayers?

I have two polygons. polygon1 = new OpenLayers.Feature.Vector(new OpenLayers.Geometry.Polygon([linearRing1])) polygon2 = new OpenLayers.Feature.Vector(new OpenLayers.Geometry.Polygon([linearRing2])) ...
4
votes
1answer
6k views

How do i calculate line segment lengths within a polygon?

I have a layer with line segments and a layer of polygons (in this case, buffers around points). I need to create a new field for each polygon that contains the total length of all line segments ...
0
votes
1answer
868 views

Geojson multipolygon doesn't work with Leaflet bindPopup?

I have polygon and multipolygon data in Geojson format and when I try to bind popup for polygon, it works perfectly, and when I try to bind it for multipolygon, it doesn't work. Is that some Leaflet ...
1
vote
0answers
32 views

Suggestions for vector format for polygons

I am using two polygon tables in postgis (A and B ). I need to make a vector file that incorporates information of the overlapped polygons B intersecting each polygon on (A). I can make a single ...
1
vote
0answers
68 views

When digitizing, objects are not saved well

I've some problems with digitizing. If I draw a line or a polygon, the line or polygon is saved in the attribute list, but not visible and its location is not saved either (when I zoom to the object ...
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 ...
1
vote
3answers
7k views

Understanding the polygon handler function in Openlayers

Using openlayers, I want to be able to draw one polygon on a map. After one polygon is drawn, I want an event to fire that stops any more from being drawn until a button is pressed. My current code ...
0
votes
0answers
167 views

Where can I get polygons for the Municipalities of Puerto Rico?

I'd like to find GeoJSON files to draw the polygons of municipalities of Puerto Rico. It might be nice get the Nokia Map (or any reasonable publicly available map) of the same regions and overlay ...
3
votes
1answer
2k views

Merging multipolygon data into a polygon

I have a MultiPolygon representation of some shapes in POSTGIS, I am trying to convert them to Polygon data. I tried, st_geometryn(r.geom, 1) but that didnt work because the way polygons are ...