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
1answer
129 views

Is it possible to draw polygons along Google Maps Polyline?

Web application has option that user draws polyline on Google Map. After he draws it, there is a button 'Add polygons', which should draw polygons along that line, based on some width and height in ...
0
votes
1answer
198 views

Polygon grid shape file for landmass

I am interested in generating a polygon grid shape file for the landmass of the world. What I have presently is two tables in postgreSQL. Table 1: Coastal area shapefile ...
2
votes
1answer
99 views

Dynamically drawing a polygon around another shapefile, ArcGIS 10.2

Let's say I have a vegetation raster that indicates the density of forest all over the world. I also have a shapefile that contains the admin boundaries of each country in the world. The easy part is ...
2
votes
1answer
18 views

Error converting a raster to polygons

When I am converting a raster using the polygonize tool, I get this error: ERROR 4: 'C:/Users/Vitor/Desktop/Cartografia EE_Portimo/COS RASTER/cos_raster_reeditada.tif' does not exist in the file ...
2
votes
1answer
433 views

How to perform a true GIS clip of polygons layer using a polygon layer in R?

I would like to do a true GIS Clip in R of soils polygons using a series of single boundary polygons, but I cannot find an R function to properly do it. It should work just like the CLIP function in ...
0
votes
0answers
99 views

Polygon dynamic grid creation for a shape file

I have used QGIS Vector->ResearchTools-> Vector Grid to create a 1lat x 1 long grid for the landpolygon shape file (from osm). Now, I am interested in creating dynamic grid for the original ...
2
votes
0answers
18 views

R Spatial: Trouble with disjointed polygon that has self-intersections

I have a shapefile which represents the areas of a city which have higher risks of flooding than others. This is a spatial polygon object however the polygon is disjoint and not connected. I also have ...
1
vote
2answers
187 views

Integrate grid and polygon of municipalities keeping the biggest municipality per cell with QGIS (or another)

I have a 9x9 grid and a polygon of municipalities of an extensive area of Brazil. My goal is to have a field indicating the biggest municipality per grid cell. I've been trying with intercept without ...
0
votes
0answers
9 views

.net arcobjects draw polygon(rectangle) can not start at the preferred location

I am using the sample code (draw a polygon on the screen) provided by Esri but it seems I cannot start the drawing from a location I want, every time it starts at wherever the function(or tool) ...
0
votes
1answer
26 views

Testing correlation between two polygon features

I am working on a project looking at county boundaries for the state of California. I have 2 polygon datasets with this same geographic boundary, and these datasets, when mapped individually, visually ...
1
vote
2answers
30 views

postgis - get nth point of a polygon

I would like to create a postgresql function to correct geographic coordinates inside a polygon that are outside the -180 to 180 range of longitudes. To do this, I thought I would create a function ...
3
votes
1answer
2k views

Joining polygons in R

I am wondering how to join spatial polygons using R code? I'm working with census data where certain areas change over time and I wish to join the polygons and the corresponding data and simply ...
1
vote
1answer
134 views

autocad-map of real estates with own coordinate system and information to be converted to use it in QGIS

I have a question regarding CAD and QGIS, but unfortunately I don't have a clue of CAD. Here it goes: Real estates data has been mapped. There are several reference points surrounding the area. So ...
0
votes
1answer
17 views
1
vote
0answers
21 views

QGIS polygon - filling a polygon gap

I do not use Python, I'm afraid. I need to fill in a polygon gap for this map of Scotland. Here is the gap: How do I fill in this gap? I have already tried drawing another polygon inside the gap ...
1
vote
2answers
14 views

how can we save vector layer as a file in openlayers

Im using mapserver + openlayer for GIS API and im new to GIS. I'm done with drawing line, point and polygon features in openlayer. but not being able to save it in some shapefile afterwards i got to ...
0
votes
2answers
190 views

Calculating minimum/maximum width for overlay of two polygon strips in ArcGIS or some Opensource GIS

Is there some solution for calculating minimum and maximum width for overlay of two polygon strips? When I clip these strips the result is another strip with variable width about 1 km and 20 km long. ...
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 ...
2
votes
0answers
16 views

Error ET Geowizard Clean Polygon() takes no arguments (3 given)

I want to clean polygon feature classes with ET Geowizards (clean polygon) because I cannot find any tool within ArcMap (ArcInfo) that does the same. I have really small gaps within the polygons (but ...
2
votes
2answers
60 views

How to extract a new linestring vector from a existing multipolygon in QGIS?

What I want to do: create a new line (named linestring in Postgis?) from existing multipolygon layer in Postgis. Purpose: once these lines are created, I'll run some distance calcs from specific ...
6
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?
1
vote
1answer
3k views

Openlayers get coordinates of a circle vector after draw

I have made a openlayers map. I have made two features on the map. Navigate DRAW POLYGON I have made 40 sides to my polygon which turns out to be a circle. After I have drawn my circle I want to ...
1
vote
2answers
43 views

Where to find neighborhood boundaries for Israel?

Is there a place that has neighborhood boundary data for Israeli cities as polygons? I have searched the web without results.
1
vote
1answer
43 views

r - increase speed of crop, mask, & extract raster by many polygons

I'm extracting the area and percent cover of different land use types from a raster based on several thousand polygon boundaries. I've found that the extract function works much faster if I iterate ...
3
votes
1answer
112 views

How to map flood areas from a set of points containing surface and height of water?

I am working on the damages made by the typhoon Haiyan. I use QGIS 2.0 with extensions and toolbox, and MapInfo. I have vectors, rasters of the place. I want to map the flood area along the ...
4
votes
2answers
3k views

How to find polygons within polygon using ArcGIS Desktop?

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 ...
1
vote
1answer
23 views

postgis calculate distance between point & polygon/circle

By basic requirement is to find the nearby fences to a particular point(user lat long alt) within a N meters. I have list of polygon/circle in DB with 900913 srid ...
2
votes
1answer
218 views

Why is field calculator returning NULL for $x and $y in line and polygon layers?

I am trying to include XY coordinates in the attribute tables of several of my vector files; they are line and polygon files. I have tried two methods; first I used $x and $y in the field calculator ...
2
votes
1answer
197 views

Determine when I have crossed state line?

We are currently using the Google Maps API to get route information and total mileage but we would like to determine when we are crossing into a new state. When we return the route information we can ...
8
votes
2answers
4k views

Converting point sets to polygon boundaries

I'm trying to convert sets of points to their respective polygon boundaries. I think this is something like a Voronoi diagram or Convex Hull, but not quite. I'm sure there's a technical term for it, ...
8
votes
5answers
6k views

How do I convert a Polygon into a single or all Points?

I want to convert polygons into points. I know how it's done in ArcGis and I think this may sound trivial but it's a serious issue :/. I'll appreciate any hints :)
0
votes
1answer
143 views

The best way to convert points to polygons using ArcObjects

I have a set of points from GPS I want to convert them to polygons..I have two approaches to do this.1- convert points to polygon..I do this with below code: private IPolygon ...
1
vote
1answer
54 views

Convert polygon to point with QGIS [duplicate]

I work with QGIS and I tried to convert polygon into point. I need points all over the perimeter of the polygon. I saw several answers like: Problems converting polygon to point but I didn't see an ...
0
votes
2answers
828 views

How to get a list of OSM relations (id numbers) of cities and countries only?

I want to get OSM polygon shapes (GEOJson or WKT) of countries and cities only. I know that it is called a "relation" in OSM and each relation has its own id (New York is 175905, for example). How may ...
3
votes
1answer
114 views

Postgis 2.0 geographic polygon has max longitudinal range

My problem is that I have a load of geographic point data (srid 4326) in a table. A user may do a bounding box search - essentially create a polygon as follows: l_poly geography(Polygon,4326):= ...
1
vote
1answer
18 views

Calculate raster mode with r.mode - problem with decimals

I am working with a raster file that represents the percentage of vinyards by commune (e.g., municipality) in a region in France. The statistics were calculated for each commune based on surveys from ...
0
votes
0answers
3 views

Clip Multipatch Feature class with Polygon Feature Clas

i have city_gml data with 3D buildings lod2. I now want to extract the buildings which intersect with a polygon feature class and create a new multipatch feature class. How can I do that? Thanks in ...
4
votes
1answer
571 views

How to split a polygon using R

I have an irregular polygon which is a spatial object. I want to divide it into multiple polygons (say, n=25) with equal height. To show how I want to divide it, I've plotted grids on the ...
1
vote
1answer
123 views

How to get a centroid of a closed line in MYSQL

I have a table that contains only closed lines (lines where endpoint is the same as startpoint). I would need to find a centroid for those lines. How would I be able to achieve it? It does not ...
0
votes
1answer
100 views

Optimizing ArcPy code to cut polygon?

There is a lot of nested loops and wondering of ways I could speed up this code? Any ideas? Note: This requires ArcMap 10.2 def cut_geometry(to_cut, cutter): """ Cut a feature by a line, ...
2
votes
1answer
55 views

Merge polygons in CartoDB?

I created this map in cartodb: http://cdb.io/1xBj4Xo Now I have to merge some of the districts to a bigger district. Is it possible to do this in Cartodb? Using a SQL query for instance? I can also ...
2
votes
2answers
42 views

Create lines from polygon borders with polygons attributes

I have a shapefile of polygons that border each other perfectly, each with a numerical attriubte. I'd to create a shapefile of lines, where every line is created from the border between two polygons, ...
1
vote
2answers
122 views

How to resample polygon vertices so that they are evenly spaced in Arc 10

I have digitized the outline of many river channels (by both manually picking points and using streaming mode), but now I need the vertices to be evenly spaced (for input to another program). I tried ...
0
votes
0answers
23 views

polygon will not project correctly into project

I have a project that one shapefile( I believe created in arcgis) layer mysteriously quit projecting correctly. I am using Q 2.6.1 On the fly is enabled, coord system set at EPSG:4326 - WGS 84, when ...
1
vote
2answers
42 views

Extracting/Exporting coordinates from polygons (shape) to text?

Is there any well working way to extract the X and Y coordinates of a polygon from shapefile to some sort of text (preferably csv)? The whole process should be somehow done automated through a ...
2
votes
2answers
218 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
2answers
83 views

How to mask labels in QGIS using an inverted polygon?

I created a file consists of a raster (snow load) and a vector with municipal boundaries. I added a vector with the contour lines of the snow load. Labels represent the snow load (kN / m2). With the ...
1
vote
1answer
28 views

CartoDB - How do you do a line fill of polygons in CartoDB?

I would like to show overlaping layers with hash marks, is this possible by editing the css in some way?
1
vote
1answer
71 views

How to clear areas outside map in R

I succeeded thanks to the eblonde in the disscution (problem with polygon smoothing in R) to smoothing polygons in R. Code: inter1= read.table("c:/inter2.csv", header=TRUE) #add a category ...
1
vote
0answers
82 views

Convert polygon feature to line feature

I have a polygon shape-file i need to extract the line segments where the polygon features intersect each other and also the segment where they don't. Can we automate this process or can scripting ...