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

5
votes
1answer
1k views

How to calculate the size of a particular area below a buffer in QGIS

I have a point shapefile of villages where data was collected in Northern Kenya. I created a buffer around those villages. The second vector layer contains polygons defining areas according to ...
2
votes
2answers
2k views

How to automate point-in-polygon queries in ArcView?

Layer1 = point shapefile (multiple points, geocoded) Layer2 = polygon (1 attribute; (1,2,3...)) I want a non-gis person to be able input a single address and be told the attribute of the polygon ...
3
votes
1answer
365 views

Splitting raster pixels by a polygon's edge?

I have a a polygon shapefile of different regions, and a raster grid of precip data. I want to take the polygon and add up all the raster precip data in each zone. I could use zonal statistics to do ...
5
votes
1answer
2k views

How can I transform a polygon to a linestring in QGIS?

I have a polygon, imported from a shapefile in QGIS. I would like transform it to a linestring instead so I can save it as a GPX file later. How can I transform a polygon to a linestring in QGIS?
4
votes
1answer
2k views

How to select and copy a group of polygons in QGIS?

I'm new to QGIS. I opened a few shapefiles that cover Europe. Now I want to select a smaller area and if possible copy the polygons in this area so I can work with a smaller set. How should I do this ...
5
votes
1answer
998 views

How to persist a polygon to SQL Server database and vice versa?

How do I extract all the points from a Polygon drawn in ArcMAP and then persist that data into a SQLServer database table containing a geometry column and then when I've got the data persisted read ...
5
votes
1answer
2k views

Count number of unique raster pixels in polygon using ArcMap?

I have a polygon shapefile and I want to generate a table of a count for each pixel value in each polygon. My main goal is to find out what pixel is most abundant in each polygon. I am using ArcMap ...
3
votes
3answers
2k views

How to select the vertices from a polygon?

I am writing some VBA code to extract vertices from a polygon. I would like to ask, how to select the vertices from a polygon ? Regards Gary
7
votes
1answer
944 views

Should I split MultiPolygons into Polygons?

In the system I'm implementing I have a table T1 with an associated geometry. Most of the geometries are a set of n polygons, with 10 < n < 100. At the moment in the table T1 I have a geometry ...
4
votes
1answer
2k views

Convert shapefile lines to a polygon in GRASS

I have a shapefile of a map that is the outline of a number of islands. I would like to convert the lines into polygons (ie all islands filled in) using GRASS. I searched on how to do this with GRASS ...
6
votes
2answers
1k views

Finding parcel polygon features with frontage on multiple streets

The Department of Public Works would like to know how many properties in the city have a sidewalk at both the front and back. To get at this, I'm looking for a method to find parcels with frontage on ...
4
votes
1answer
1k views

Create overlapping polygons from contour lines

Working in ArcGIS 10, I have a set of contour lines representing density of commercial square footage, and I have a set of points representing local maxima for each peak of the dataset. For each ...
6
votes
1answer
990 views

How to eliminate gaps in the ArcGIS union operation?

I have a layer that has nested polygons in them. I want to aggregate the polygons. I do this using the Union function. I use the "No Gaps" option when I perform the union. However, when I overlay ...
5
votes
3answers
1k views

Why doesn't the split tool return any records in the attribute table?

I've been trying to split a large land use shapefile using a set of study area polygons as the split feature, but when the function finally finishes running (the land use dataset is quite large), all ...
4
votes
2answers
3k views

Arcgis: How to find polygons within a polygon?

I am new to GIS and ArcGIS. I have a problem I need to solve: I have a set of polygons, some of which enclose other polygons. They are lake polygons, and within lake polygons, are smaller island ...
5
votes
3answers
1k views

How can I display with OpenLayers the geometry returned from a ST_Buffer in POSTGIS?

Im using PostGIS, GeoServer and OpenLayers, and the thing is that i want to display the geometry result from a query like this: SELECT ST_Buffer(ST_GeomFromText('POINT(100 100)'), 500); To perform ...
5
votes
1answer
1k views

How to create a polygon from other polygon boundaries?

I want to write an algorithm that creates a polygon inside a hole made by a set of other polygons. It's something like a flood fill and it's like the "boundary" tool in Autocad. The image shows an ...
4
votes
2answers
4k views

ArcObjects - Finding the intersection of a polyline and polygon?

I have a polyline and polygon. The polyline will intersect the polygon at two or fewer points. I would like to get these intersection points as X and Y values. EDIT: Here is a quick code sample using ...
3
votes
1answer
275 views

Polygon Shared Boundaries in GML

Last week I was told on a phone conference that GML supports shared boundaries in Polygon's. I have been unable to find any documenatation to substantiate the claim. Here is the situation: I have a ...
8
votes
2answers
739 views

Resize polygon along one axis

Using the following example I'm able to resize by scale and origin. polygonFeature.geometry.resize(scale, origin); vectorLayer.redraw(); But does anyone have any suggestions or sample code ...
4
votes
3answers
7k views

How can I calculate the center point inside a polygon in ArcGIS 9.3?

I'm using the JavaScript API 1.6 on ArcGIS 9.3. I have a polygon geometry in an ArcGIS map, and I'm trying to find a way to get the point that lies in the exact center of the geometry. What is the ...
3
votes
4answers
354 views

Creating Polys and Displaying geo points within. ( Where to start? ) [closed]

Hey all, I'm somewhat of a newb when it comes to creating mapping solutions. I've stayed on a pretty high level playing with openlayers and pulling data from various webservices. The first part of ...
15
votes
4answers
743 views

Why do valid polygons repeat the same start and end point?

In the GIS world, for most modern formats and Standards (e.g., Shapefiles, WKB/WKT, GML, KML, etc.), valid polygons need to have closed linear rings, which is a linestring of coordinates where the ...
4
votes
5answers
22k views

How to connect points with a polyline in ArcMap 10?

I have a layer containing a few hundred points representing a survey track. The points are laid out in chronological order in the corresponding attribute table. How can I have ArcMap 10 automatically ...
6
votes
2answers
2k views

Openlayers geometry: how to convert area from degrees to square kilometres?

I get a multypolygon from my web service and want to calculate the area of that polygon. I was trying to use this piece of code: var poly = new OpenLayers.Geometry.MultiPolygon(poligon); var area = ...
3
votes
2answers
3k views

Label *beside* polygons in ArcMap 10?

I try to add labels to polygons in ArcMap 10 based on a field in the corresponding attribute table. However, the labels always appear inside the polygon, and I can't find an option that lets me put ...
1
vote
0answers
94 views

Getting started with storing LoST and GML searching

I am working on a logging and search database application. The application will receive event records containing XML LoST values (RFC5222 Location-To-Service-Translation). These records will be ...
10
votes
3answers
810 views

Polygons from Polylines in either ArcView or FOSS

I have 20,000 polylines in a .gdb that represent about 5,000 building footprints. Some of the building footprints have pretty substantial gaps (image below). I would like to snap the polylines closed ...
3
votes
3answers
5k views

How to create a polygon buffer from a line?

I have connected a series of points into a line in ArcMap 10 with the Points to Line tool in the ArcToolbox. The line is, of course, in its own layer, and I added a 5 meter buffer around the line. It ...
7
votes
6answers
3k views

Lines to Polygons

I have failed to find the "name" of the algorithm that would allow one to convert lines to polygons. Since this issues crosses GIS and the fields of computational geometry and computer science. I am ...
7
votes
5answers
2k views

Algorithm to find polygons enclosing points

I'm trying to find an algorithm that can determine the smallest possible polygons to cover a number of points. I know how to get the convex hull around all the points, but say that the points are ...
3
votes
2answers
277 views

Search for Multiple Polygons in ArcMap

Is there a way to do a search for features that occupy more than one polygon in ArcMap? I am working with a Parcel layer, and there are some cases where the parcels will take up multiple polygons ...
4
votes
1answer
3k views

Converting tax map polygons from Shapefile to table of map number and corner coordinates

Fairfax County, Virginia provides a Shapefile here which shows the boundaries of the tax maps as polygons. Each polygon simply consists of four corners, and what I'd like to do is create a table ...
9
votes
2answers
976 views

PostGIS: split a polygon in a given ratio

Is there a convenient way to split a polygon into n parts, more-or-less equal in size in PostGIS?
2
votes
2answers
558 views

How to query data from a vector map (shapefile)?

We want to obtain the specific place of the boundaries of a shapefile. We want to be able to get the points of each polygon corresponding to a specific place in order to use these data in an ...
4
votes
5answers
1k views

Simplify shapefile parcel layer

I have a very large shapefile with over a million parcels within it. The problem I am having is that the polygons representing each parcel are very jagged. What I am looking for is a simple and fast ...
2
votes
2answers
1k views

how trace polyline between two points?(Esri)

How i can draw a line between two points...e.g.: I have initial point and endpoint and i need trace a line between this points...how i can do that?
8
votes
2answers
677 views

Splitting polylines using regions with PostGIS

I was wondering if it is possible to split a polyline on polygon boundaries (regions) in PostGIS, the picture below is of what we have at the moment and showing where I need the polylines split: ...
0
votes
3answers
244 views

How illustrate cells in attribute table?

Firstly, many thanks to all of you who have been helping me greatly, just can say THANKS. Secondly...I have a new question. I have an attribute table with 2883 rows which are the OA of Leicestershire ...
8
votes
4answers
3k views

How to find the minimum edge to edge distance of polygons?

I have a a map of about 3000 polygons in ArcGIS 10. I'm looking to find the distance between each one of them. I know how to do it using the lat and long coordinates of the centroid, but I'm looking ...
8
votes
4answers
3k views

Best way to delete selected mass amounts of old data from a polygon shapefile attribute table?

Dumb problem that for some reason is giving me trouble. I have a polygon shapefile that is loaded with old demographic data in its attribute file, I just received the new data today in xls format. ...
7
votes
7answers
2k views

Intersection algorithm that correctly handles the 180° meridian and poles?

Is there a well known intersection algorithm that correctly handles 180 meridian and poles? For example, let's say we have a list of latitude and longitude values that represent Antarctica. Let's ...
3
votes
2answers
318 views

How to attribute lines with Ids of touching polygons?

I have two shapefiles: one contains streets of a city and one contains blocks (i.e. polygons bounded by the streets). I would like to have the streets attributed with the id of the left and right ...
18
votes
4answers
6k views

Separate polygons based on intersection using PostGIS

I have a PostGIS table of polygons where some intersect with one another. This is what I'm trying to do: For a given polygon selected by id, give me all of the polygons that intersect. Basically, ...