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
252 views

Checking if point is within multipolygon using ST_Contains?

Why is this query always returning false? SELECT ST_CONTAINS(the_geom,(select ST_GeomFromText('POINT(26.8715 80.7799)'))) FROM blockgeom Can I not check if a point is within a multipolygon using ...
1
vote
1answer
147 views

Split lines by polygons in QGIS 2.4

I have a river network (lines) and a shp with states (polygon). I would like to split the lines at the state boundaries --> split lines by polygon boundaries. Is there a geoprocessing tool to do ...
1
vote
2answers
116 views

Moving polygons to points

I have a polygon shapefile that corresponds to a point shapefile in the same projection. I need to move the polygons so that the vertices line up with the points. Right now they are about 3 feet off ...
1
vote
1answer
1k views

How to get list of all markers from selected Polygon using OpenLayer MAP v2

I am able to run following features on OpenLayers Map Version 2.x Put Markers on Map Draw Polygon on Map Select Polygon on Map Now my requirement is when i select any polygon then i would like to ...
1
vote
1answer
148 views

IdentifyTask for “hollow” polygon (using ArcGIS API for JavaScript)

I have a web map application set up that's currently testing on a variety of Dynamic Map Service layer types, including points, lines, and polygons. This application includes a tool that makes use of ...
1
vote
1answer
708 views

StArea() in sqlserver is in which unit?

I have a problem with saving STArea in sqlserver. Here is a query where I get the area of a polygon: select Geometry::STGeomFromText('POLYGON ((51.3386535086000000 31.7951253522000000, ...
1
vote
1answer
212 views

Filtering out a subpart of a polygon shape file

I have ArcGIS 10.1 for Desktop software. I am working with a polygon shape file (having n rows) in ArcMap. The project demands splitting this file into two polygon shape files having n1 and n2 rows ...
1
vote
1answer
307 views

XY data in sketch properties

Does anyone know if there is a way to export the xy data from sketch properties in the editor to a .txt file?
1
vote
1answer
244 views

Get Coordinates of Voronoi Polygon Vertices [duplicate]

Is there any chance to get the exact coordinatas of the voronoi polygons? I am using Qgis software and I have the "center" (redpoint) of the polygons and I would like to export the polygons corners ...
1
vote
1answer
222 views

Automating Intersect between two polygon layers

I have a spreadsheet that has county-level occurrences of around 1000 species within the US in the column headings (Species State County). Thus, for some counties there may be multiple species. I ...
1
vote
1answer
145 views

How to close spaces within a polygon in QGIS 2.2?

I have a shapefile displaying the borders of several city units. One of its polygons, however, had free space consisting of four vertices in it. I created another polygon inside the free space and ...
1
vote
1answer
280 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 ...
1
vote
2answers
860 views

MySQL Polygon (Spatial) Insert Statement works sporadically

I know that MySQL doesn't have great spatial support at the moment, but is it that buggy that my insert statements would work sporadically? In general, longer coordinates seem to be failing on insert ...
1
vote
1answer
180 views

QGIS: Line to polygon conversion

Currently we are working in a geological project..in which all the Contacts, Linear & some other geological features have to be captured. The thing is most of the features have to be Captured as ...
1
vote
1answer
206 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 ...
1
vote
2answers
651 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
82 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 ...
1
vote
1answer
945 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 ...
1
vote
1answer
62 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 ...
1
vote
1answer
370 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 ...
1
vote
1answer
757 views

Converting a raster to a polygon

I need to convert a raster into a polygon, and I ran into "Error 000863: Invalid GP Data Type" After searching, I saw this solution online. Basically I needed to convert the float raster to an ...
1
vote
2answers
255 views

Polygon inside polygon invalid in QGIS

Looking at this map data from naturalearth (part of Oman & UAE to be specific), each country is defined as a multipolygon. In this case UAE (in red) contains two polygons and Oman (beige) three. ...
1
vote
2answers
420 views

unionize intersections of merged polygons

[Updated quesion] I am using the following code to merged polygons from shapefiles for the purpose of calculating the surface area; library(maptools) library(rgdal) library(rgeos) #enter slots, ...
1
vote
2answers
121 views

How to convert small overlaping polygon features to inner ring in QGIS

I have a polygon vector layer with overlapping features (like below) and I would like to convert the features that are fully contained inside the bigger polygons (ie feature 2 and 4 below) into inner ...
1
vote
1answer
90 views

Raster Data to Polygon [closed]

I need to "translate" raster information to a set of polygons. The raster to polygon tool will not work. I created a fishnet with the same resolution of the raster and converted it to polygons. I now ...
1
vote
1answer
138 views

How to find out to which polygon each points belongs to?

I have searched for an answer to this, but couldn't find anything useful. I have got a shapefile consisting of a number of polygons, and another shapefile with a number of points. I want to add a ...
1
vote
1answer
530 views

Intersection of multi-polygons in postgis

How can I get the intersection of 3 multi-polygons in postgis? I have three geometry collection and I want a fourth with the result of intersection of the other three. ...
1
vote
1answer
631 views

QGIS: CSV point grid to polygon - not raster

I have a CSV file with various data in 1 degree wide by 0.5 degree high rectangles, for which I have the N,S,E,W, & centroid lat/longs, i.e. every bit of spatial data required. I'm trying to ...
1
vote
2answers
221 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 ...
1
vote
1answer
242 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 ...
1
vote
1answer
243 views

How to get average polygon? [duplicate]

Is there a way to get an average polygon of unioned stack of polygons in ArcGIS 10.0? I would like to get an average polygon that would be centroid (but polygon) of whole stack of polygons.
1
vote
1answer
917 views

Polygon to raster without losing any polygons

I'm trying to convert polygons to raster. But the output raster dataset doesn't have polygons which went into as input data. I need all the date in the attribute to follow with to the raster dataset ...
1
vote
1answer
747 views

Failed to convert polygon to raster

I have two steps here. First select layer by attributes. Second convert polygon to raster. It failed when it goes to second step and kept giving me error 999999: Error executing function. I pasted my ...
1
vote
1answer
626 views

identify percentage of raster cells within a polygon

As per the title I want to determine the population inside multiple polygons according to different land use zoning (High Residential, Low Residential, National Parks etc) that's in raster format. ...
1
vote
1answer
106 views

problem in merging adjacent address polygons in qgis

I am having 15 polygon shape files of a sub locality of a city that is having address in their attribute table. I want to merge these polygons based on the address in the attribute table?how can i do ...
1
vote
1answer
213 views

Aggregating a raster to fit a polygon grid

I am working at the scale of 10 square km grid cells for the UK, and have a polygon layer of the Ordnance Survey 10k grid cells in ArcGIS. I have another layer of the human footprint index, also for ...
1
vote
1answer
157 views

How to paste pictures into data frame?

I have a polygon feature class and I want to trace (select with a polygon) a picture that is solely comprised of a couple of interlocking letters. In ArcMap when I would do this I would simply drag ...
1
vote
1answer
173 views

Remove parts of line that fall within a polygon

I have a polygon and two lines. How can I remove the portion of each line that falls within the polygon? # polygon coords <- matrix(c(-1.798123, -1.793072, -1.805767, -1.804129, -1.798123, ...
1
vote
1answer
4k views

Control view of Multi polygon in Google map

We have multipolygon WKT. We have no issue to draw all of them in Google map. Below are the codes. The only issue is that we want only the first polygon to be visible but the rest to transparent. How ...
1
vote
1answer
80 views

For each polygon, return yes/no value if it intersects another layer

I have a polygon grid overlaying several other polygon vectors. I wish to visit each polygon in the grid and ask yes/no if each of these layers fall within the grid cell or not. I can do this easily ...
1
vote
1answer
667 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 ...
1
vote
2answers
173 views

information from a shapefile to another shapefile

I am very new to GIS and learning by myself so what I'm about to ask is possibly quite basic. I am using QGIS. I have a shapefile, which categorizes areas (land cover) by numbers (corresponding to ...
1
vote
1answer
2k views

QGIS, how do you break segments of a polygon, ie break 1 polygon into 2 or more?

I have a polygon but would like it to be in broken up to put into different layers. I can't work out how to do this.
1
vote
1answer
183 views

gdal_rasterize -at function still won't capture covered pixels properly

I'm currently using the gdal_rasterize tool in bash. My code looks like this: gdal_rasterize -l $(basename $file .shp) -burn 1 -a_nodata 0 -te -180 -90 180 90 -tr 0.1 0.01 -at -ot Byte $file ...
1
vote
1answer
450 views

Summarize polygon area using another polygon

I have a shapefile representing public/private lands in Montana. This is a multipart shapefile where I've simplified attributes so that #1==private and #0==public. Next I have a shapefile of ...
1
vote
3answers
993 views

How to create a generalized polygon layer from a raster?

I have a tiff file where I have extracted vegetation in a height interval from LIDAR. At the moment the picture is kind of blurry with no data cells between vegetated cells. I would like to create a ...
1
vote
2answers
95 views

How to query points that fall outside their designated regions?

I have a shapefile with 250 points. Each point has a region attribute. In another shapefile I have all the possible regions with their names (it is polyline geometry). Unfortunately the coordinates ...
1
vote
1answer
243 views

How to identify Polygon within another Polygon layer

I have two polygons files. The first one has several smaller polygons within it eg.a shapefile with all US states, the other polygon file has a single polygon eg. a river basin. I am trying to get all ...
1
vote
2answers
528 views

How to combine “positive” with “negative” polygons

I have 2 polygone classes (1 and 2). Inside the polygons are holes (white). Now I want to combine them with the polygon in witch the holes are. Understand? Sorry for that bad english... The white ...
1
vote
1answer
725 views

How to color markers based on polygon area?

I have a map with around 317 markers and each marker is the center point of a polygon. The polygonal area varies throughout, so I want to represent the markers in such a way that the polygon with the ...