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

Export topology tables to txt files using ArcObjects, generating directed graph, and finding intersections

I want to export topology tables to text files: for points: 1 id x y for lines: line id fompoint.x from point.y topoint.x topoint.y for polygons: id line id 1, line id 2... 2 arc ...
1
vote
1answer
60 views

How to add IDs of the links composing a polygon?

I built up a polygon layer from a road network for finding roundabouts using the compactness factor of a polygon. Then I have to intersect the extracted roundabout polygons with the road network so ...
0
votes
2answers
241 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.
0
votes
2answers
5k views

How to delete polygon in Openlayers

I would like to delete my polygon in Openlayers after i have drawn it. <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> html, body, #map { ...
0
votes
2answers
241 views

Count the number of points in a (multi)polygon in shapely?

I'm using Python, Shapely and Fiona to process some shapefiles. Is there an easy way to count the number of points in a polygon/multipolygon in Shapely and Fiona?
0
votes
2answers
85 views

Joining two polygon layers based on distance?

I'm new to GIS so this question may be an obvious one. I have one polygon layer of urban land use and another polygon layer of swamps. How do I join the two layers so that I get a column in the ...
0
votes
1answer
212 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 ...
0
votes
2answers
66 views

Select area which is at least x meters away from other geometries

In my table I have the build-up area from a region as a big number of polygons. urban_area: id | name | geometry(polygon) I was wondering if and how I would be able to find the area within a ...
0
votes
1answer
118 views

QGIS: How to add a second polygon that is exactly 5km larger in all directions?

Given is a map with an airport. Within a distance of 5km around the runway there is a so called no fly zone for drones (in Switzerland). I want to show this zone in a map. What I would like to do is ...
0
votes
1answer
77 views

Difference between a region and a polygon (mapinfo pro 12)

I am new to using MapInfo and have recently noticed the convert to regions and convert to polygon (edit: convert to polyline) function. What is the difference between a region and a polygon? Also, ...
0
votes
1answer
41 views

largest area polygon

I have a layer of polygon shapes, I know this could be a quite easy question to answer but I am a beginner and probably I am not using the right concept or terminology when looking at the desktop help ...
0
votes
1answer
77 views

Cannot obtain correct area values *With* correct projections

I'm trying to get the percentage of each U.S. county overlaying groundwater (data from the census and USGS respectively). They're both polygons. I have 1) correctly projected the data and the layer ...
0
votes
1answer
304 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 ...
0
votes
2answers
504 views

PostGIS - Select points from a table that exist in a custom polygon

We have a property search site where the user draws a polygon on a map and then the app displays all properties that fall within the polygon. We have properties stored within a Postgres table that ...
0
votes
1answer
3k views

Does MySQL has function which will return the points inside polygon?

I have MySQL database with polygons, and also the database with points (column longitude and column latitude), is it possible to return all points inside one polygon? Thanks!
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
231 views

One large polygon or many little ones. What is better regarding performance?

I´m designing a geoprocessing service on ArcGIS Server using several nationwide datasets. Currently I´m preparing some of the datasets and I´m wondering if I should dissolve my polygon layers ...
0
votes
1answer
2k views

How to change events in the Oncomplete Drag function in Openlayers

below is code that works for Openlayers drag function: drag = new OpenLayers.Control.DragFeature(polygonLayer, { autoActivate: true, onComplete: function() {alert('Are you sure this is the ...
0
votes
3answers
62 views

Counting number of Raster Cells satisfying a criteria within a Polygon

I have a USA raster dataset, which assigns to each cell a value from 0-100. I also happen to have a USA county shapefile. I simply want a count of the number of pixels/cells in the raster data with ...
0
votes
2answers
47 views

Count objects in polygons

I have a .txt file containing the coordinate of the two polygons in the picture below as well as coordinates for each of the lines inside the polygons. Could anyone help to count each line inside ...
0
votes
1answer
35 views

How to use Clip_analysis (in_features, clip_features, out_feature_class, {cluster_tolerance})

I draw Polygon any, how to clip it and save to shapefile. .png
0
votes
1answer
138 views

Is it possible to join points to a polygon in MapInfo Professional v10.0?

This is what I have... ... and I would like to assign the points to the polygons that they belong to. In ArcGIS this is accomplished fairly easy through using Spatial Join, but I have no clue how ...
0
votes
3answers
102 views

Counting building polygons in neighborhood polygons

I have two layers, one of them is neighborhood data and the other is the buildings in the city. I want to count the buildings in a neighborhood (by using borders) and add this value to the ...
0
votes
1answer
327 views

How do I overcome this problem of converting a raster layer to polygon form?

I am trying to convert a raster layer of U.S. climatic regions into polygon format using ArcMap 9.3 under Windows XP. The original data are to be found at the following address: Koppen Climate ...
0
votes
1answer
332 views

Get the outer ring inner ring for a given polygon using ogr python binding

I am trying to read the geometry of some shapefiles, now I meet some problem when I try to identify the polygon with holes, since a polygon may(or not) have one hole(or multiple holes). This is the ...
0
votes
1answer
334 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?
0
votes
2answers
189 views

Conversion of diagonally adjacent pixels into one polygon?

I am trying to vectorize a raster whose digital numbers indicate different classes they belong to. ArcGIS and QGIS yield similar results: separate shapes out of pixels sharing the class that are ...
0
votes
1answer
133 views

How to send polygon data to wms?

I use OpenLayers and GeoServer. I can read kml file format from OpenLayers. And I want to edit this polygon in kml. So I want polygon data(polygon circle and center coordinate etc..) to GeoServer.
0
votes
2answers
117 views

Zooming into a particular polygon

I am getting the polygon id by doing identifyParams.geometry = evt.mapPoint; identifyParams.mapExtent = map.extent; identifyTask.execute(identifyParams, function(result) { var i; var ...
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 ...
0
votes
1answer
3k views

How to create polygon with DBGeography Class in Csharp

I want to create a polygon with csharp 4.5 via DBGeometry class. I found example on csharp to create a point via System.Data.Spatial namespace. (Requires Reference System.Data.Entity) This code is ...
0
votes
3answers
447 views

Calculate 'Rectangle' Coordinates Given 2 Points and width [closed]

I want to create a rectangular polygon using two points as guides. So let's say a journey starts in Egypt and ends in London, my polygon should have 4 points: 10 miles further from London than Egypt ...
0
votes
1answer
652 views

CenterPoint of Polygon in ArcEngine .Net 10

I am currently trying to get the center point of a polygon. In GIS, i can see the "x" mark in the center of the polygon, but I do not know how to get it from the IPolygon object. I tried getting the ...
0
votes
1answer
51 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
1answer
50 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?
0
votes
1answer
102 views

How to scrape polygon data from web map?

for each value of parcel no: in http://www.ma-investment.gov.bh/bps_ppd_en/ the map generates polygons. I want to extract xy values corresponding to polygon shapes which i can convert to ...
0
votes
1answer
39 views

Copying attributes of one row to another row in polygon shapefile in ArcGIS?

I have a single polygon shape file in ArcMap with 25*25m grids, and I want to assign the attribute values of a single grid/polygon to another one close by i.e. copy attributes from a row to another ...
0
votes
1answer
38 views

ggplot2 plots polygons with wrong topologies

I'm trying to plot polygons in R using ggplot2. In GRASS, QGIS and normal R the map renders fine, but ggplot2 seems to have some kind of topological difficultes I can't explain. With normal R it looks ...
0
votes
2answers
109 views

How to calculate a set of minimum bounding boxes for a polygon

I need to calculate a set of minimum bounding boxes for a polygon. Id est having a complex polygon I want to envelope it with a set of small boxes instead of a big one.
0
votes
2answers
335 views

How do I json_encode without those quotes for the coordinates in leaflet geojson polygon?

I have a field name: 'coordinates' I have the coordinates stored in there: like this: [[ [100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0] ]] when I json_encode($geojson); I get ...
0
votes
1answer
235 views

clipping two SpatialPolygons : Error in RGEOSBinTopoFunc

I want to clip two SpatialPolygons on R without success, I followed the article in the disscution How to perform a true GIS clip of polygons layer using a polygon layer in R? Polygone 01 : > ...
0
votes
1answer
55 views

Using ArcGIS Polygon to Raster tool does not divide resulting raster on cells?

I try to create raster composed of small (5x5 m) cells (pixels) from a polygon in ArcGIS-10. I created a polygon (as a single object), and use Feature to Raster Tool and Polygon to Raster tool (of ...
0
votes
1answer
109 views

Determining direction of longest segment of polygon?

I have a shapefile with 9000 agriculture fields and what I like to do is to determine for each field (=each polygon) the direction of the longest segment. For instance, the selected polygon in the ...
0
votes
1answer
88 views

Find polygons that contain a specific number of points

I want to make a polygon selection based on a specific number of points. For example, I want to select those polygons that contain more than 30 points. I don't want to select every polygon that ...
0
votes
1answer
73 views

Extracting info on polygons from underlaying raster layers

In ArcGIS 10.1, I have two layers: 1) raster of Topographic Wetness Index 2) vector layer of polygons representing soil types I am wondering how to accomplish what I am after, that is to get ...
0
votes
2answers
147 views

I have a table with a series of lat/long points - how do I convert them into polygons?

I have an Excel sheet with about 150 points (lat and long in decimal degrees) which belong to about 15 different polygons. The columns I have are FID, NAME (the same between polygons), POINTS (points ...
0
votes
1answer
73 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
69 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
2answers
58 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
125 views

How to automate creating box (rectangular) polygons in ArcGIS for Desktop?

Can anyone suggest a way to automate creating rectangle shaped polygons in ArcMap? If I had many 30m x 60m rectangles to digitize and I just want to click a starting corner coordinate on screen, ...