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

2
votes
1answer
42 views

Join attributes from multiple polygons to an overlaying polygon

I have a polygon-shapefile, containing 562 single features (feeding -layer). I want to add their attributes to an overlapping polygon-layer (bear_buffer -layer), containing 1330 features. The ...
1
vote
0answers
40 views

Invalid join selectivity error in postgis 2.1.3

I have 2 tables, one for points and one for polygons. I want to find points falling within theese polygons, so I quered: select p.id, l.id from points p inner join polys l on st_contains(l.geom, ...
2
votes
1answer
136 views

Count overlapping polygons in single shape file with R

I have a shapefile of species ranges for ~ 346 species. Some species have multiple polygon ranges so there are 1,078 polygons and many polygons are multi-part. It looks something like this: I ...
1
vote
2answers
103 views

How to draw polygons in shapefiles

I've hit a snag and realize this is probably a very simple and basic question, but how do I draw a polygon in a shapefile that I've created from joined points of 2 .csv files? Which specific tool do I ...
1
vote
1answer
50 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 ...
2
votes
1answer
56 views

Polygon files corresponding to Russian Census

My team is using the 2010 Russian Census and we'd like to have polygons that correspond to these population values. We're flexible to any sort of polygon format (shapefiles, GeoJSON, KML, etc). ...
1
vote
1answer
37 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 ...
2
votes
2answers
60 views

Finding a point inside a polygon based on maximum value of a specific field

I have a Polygon Shapefile that represents US counties and a Point Shapefile that represents hospitals. The hospital attributes table includes fields like "Number of Beds", "Number of Patients" and ...
3
votes
2answers
2k views

How to subtract Geometry Point Polygons in OpenLayers?

I have two json arrays, one for background polygon and one for other polygon. And from them, I got two polygon layers. backgroundLayer = new OpenLayers.Layer.Vector("Background Layer", {styleMap: ...
1
vote
0answers
36 views

QGIS 2.4.0 doesn't support multiple types of geometry in GML file

I'm testing GML 3.2.1 data according to INSPIRE Data specification (version 3.0). Data for theme Cadastral Parcels shall have both polygon geometry and definition point. When I download data from my ...
11
votes
1answer
3k views

Instantiating spatial polygon without using a shape file in R

So, the usual way we read a shapefile in R is via the maptools package, like this: sfdata <- readShapeSpatial("/path/to/my/shapefile.shp", proj4string=CRS("+proj=longlat")) However, I have a use ...
0
votes
2answers
65 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?
1
vote
0answers
25 views

How to use GIS data with CGAL?

I read a few posts here at GIS.SE that points to useful algorithms in CGAL. I'd like to test algorithms in CGAL such as medial axis transformation/polygon skeleton extraction, but the examples on the ...
4
votes
2answers
216 views

Order of polygon vertices in general GIS: clockwise or counterclockwise

Two days ago I asked a question about the internal storing order for the vertices of a polygon in ESRI shapefiles. That question was answered (Are polygons stored clockwise or counterclockwise in a ...
1
vote
1answer
44 views

Convert raster to polygon based on cell value ranges using ArcGIS for Desktop?

I have a floating point-valued raster which I need to convert to polygon as follows Put the cells with VALUE < 0.5 into (a small/the smallest number of) polygons Cells in the range [0.5, 1] into ...
1
vote
2answers
102 views

How to draw a polygon given a distance and bearing in QGIS

Apologies if this question has been asked before I'm not come across it. I want to draw a polygon given a length and a bearing, basically a square with lenght 1m. I cant seem to manage it with the ...
4
votes
2answers
92 views

Wrong $area from field calculator (QGIS)

The area of the polygons in a layer, calculated by the field calculator with "$area" is wrong (much too big) for some polygons. If I draw the concerned polygon again, the area is calculated correctly. ...
5
votes
1answer
522 views

How to Create Touching Multi-Part Polygons?

I have a set of parcels as illustrated in the image below. There are currently no multi-part features in dataset. What I would like to do is to merge (not the right word) all of the parcels with same ...
0
votes
1answer
30 views

Add Marker on the polygons' centre using Openlayers?

I have written a code to draw polygon from the WKT format.Now I need to add the marker at its centre. In the following code I have passed the centre and shape in WKT format(extracted from database). ...
2
votes
4answers
218 views

Polygon Shape Data for North America

Does anyone know where I can get data like this for north America (for use in SSRS). It does not have to be exploded. If I add Bing maps my 36 page PDF is 250MB when exported!
3
votes
3answers
203 views

How to count the sides or edges of a polygon?

I wondered if it is possible to determine the number of sides / edges (not vertices) that a polygon has. Imagine the following case. There is a shapefile with 10 polygons. Is there any way to ...
1
vote
1answer
96 views

How can I convert GeoJSON with multiple Polygons and MultiPolygons into single MultiPolygon?

Is this even possible? I have a GeoJSON file with multiple polygons and multipolygons, and I need to set styling on them (in Leaflet.js). I'd like to create a single, large MultiPolygon from the ...
3
votes
1answer
123 views

Polygon fill colour specified by column R spplot

I am trying to plot a geological map using the spplot function in R. For every unit I already assigned a specific color in the col-column of the SpatialPolygonsDataFrame. Now I would like to plot the ...
2
votes
2answers
192 views

Separate a polygon in different polygons depending of the distance to another polygon

I have a reference polygon "R", and others polygons (in grey). I want to separate each grey polygon in multiple polygons, depending on the distance to R with different Buffers : - The red line is R ...
1
vote
0answers
62 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 ...
3
votes
1answer
110 views

problem with polygon smoothing in R

With R I am looking to smooth my Polygon: inter2.csv code: inter1 <- read.table("c:/inter2.csv", header=TRUE) # add a category (required for later rasterizing/polygonizing) inter1 <- ...
3
votes
2answers
195 views

Merge geojson polygons with WGS84 coordinate

I have a Geojson file with some adjacent polygons and I want to merge them into one. I know it's a recurrent question but I can't find information for polygons with latitude and longitude coordinates ...
3
votes
2answers
270 views

google map api v3 large/complex polygons

I have quite some large/complex polygons I'd like to overlay on a Google map. I can do this but wondered what the best/fastest way is to load them? I have tried using a KML but understand there are ...
1
vote
1answer
91 views

Find all street names or addresses within a polygon

I have a geojson list of lat/long coordinates that make up a custom polygon of a section of my county. Ideally I would like to be able to find all the addresses that are within the polygon boundaries. ...
3
votes
1answer
83 views

Showing Linestring from SQL statement with CartoDB

I have cartodb sql statement to return what polygons are intersected by a linestring, but I'd like to have the linestring visualized over the polygons on the results. Also not add the linestring to ...
2
votes
1answer
167 views

How to construct a line from points in pyshp?

I am reading a shapefile for a pipeline and what I've noticed is that if I just draw a line from one point to the next (in the order I read them), there will be points where the line terminates, and ...
11
votes
6answers
3k views

How to find the boundary co-ordinates from a given set of co-ordinates

Given a set of coordinates, How do we find the boundary coordinates. <== Figure 1 Given the coordinates in the above set, How can I get the coordinates on the red boundary. Boundary is the polygon ...
2
votes
1answer
33 views

SQL Server equivelent to Arcmap Intersect for polygons?

I have three different sets of GEOMETRY Polygon datasets in SQL Server that completely overlap. I need to create a new dataset that has a polygon for each unique area of the three layers. So ...
4
votes
3answers
171 views

How to compute the outline of multiple tracks?

I have multiple gps tracks with depth data gathered from the lake. The tracks are overlapping/intersecting. I want to get an outline polygon. I have a multi-line shp. I've tried to diffuse it in qgis ...
2
votes
1answer
373 views

Why does clipping a line layer using a polygon result in an empty shapefile?

I am using QGIS 2.2.0 and want to clip a line layer (roads) so that only those inside a polygon are shown. When I do this using Vector->Geoprocessing Tools->Clip I only get an empty shapefile as an ...
1
vote
1answer
404 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 ...
0
votes
0answers
34 views

Map polygon property in one shapefile to polygons in another shapefile with same outer boundary

I have two shapefiles covering a region with the same outer boundary. The polygon shape coverage (tesselation) of the two is different. One file (A) has a property assigned to each polygon. How do I ...
2
votes
1answer
93 views

create polygons and fishnets of specific size and orientation and buffers

I want to study 6 areas in the field and in order to do so I want to divide each one of them into smaller areas/parts. What I would like to do is find an average square or rectangle area surface ...
5
votes
2answers
102 views

Automate Splitting Polygons Into Sections

I've searched for similar problems on this topic but can't find a solution. I need to split many, many, many cemetery sections into 8 (mostly) equal pieces each. Each section is for the most part ...
4
votes
1answer
269 views

How to find markers in selected dragbox openlayers 3?

Here is a part of code, draw = new ol.interaction.DragBox({ /* dragbox interaction is active only if alt key is pressed */ condition: ol.events.condition.altKeyOnly, ...
1
vote
3answers
59 views

Summarize the total area of land use polygons within map sheets - how?

I would imagine that at least some of you have encountered similar problems to mine and I´d like to hear how you solved them. I have a map sheet index (a grid as a shape file) covering a large area. ...
0
votes
1answer
80 views

calculate distance between points crossing the antimeridian

How can I calculate the distance between two points (lon/lat) if any of the points exceeds the antimeridian (+-180 longitude)? Im using the distVincentyEllipsoid {geosphere} to calculate the shortest ...
2
votes
1answer
66 views

Create a custom Identify dialog

How can I check if a point belongs to a polygon? I want to create a custom identify tool with edit option. I am using C# and ArcMap 10. My idea is to click on the polygon (building/park/etc) in ...
2
votes
0answers
57 views

Merge vector layers to fill gaps in QGIS

I have a zip code map which I added per zip code data too (a regional director for each zipcode), and then dissolved the map based on the director attribute. As you may or may not know, zip codes are ...
4
votes
1answer
160 views

Fixing orphaned holes in R

I'm trying to perform a union on a common field after merging two adjacent shapefiles. The shapefiles end up with at least one thin sliver of space between them. When I attempt a union I get the ...
1
vote
1answer
49 views

Looking for information on methods or algorithms used to calculate centroid from polygons across software

Looking for information on methods or algorithms used to calculate point centroids from polygons across software. ArcGIS uses a "gravity model" but can someone point me to the math or a paper on the ...
2
votes
3answers
392 views

Combining different geometry types into same feature class?

I've searched the question in this blog. Maybe I don't use the right words but anyway my problem is not present in any post so I'll try to explain my question by opening a new one. I have a polygon ...
1
vote
3answers
86 views

polygons to polygon conversion with attribute name [duplicate]

1) I have a polygon shapefile with 1000 multi-part polygons in it. Each Row of the table is a multipart polygon. 2) I need 1000 shapefiles with 1 multi-part polygon in each. 3) Each output shapefile ...
1
vote
5answers
4k views

How to determine if a polygon is self-intersecting using either ArcPad 8.0 or ArcMap 9.3.1?

I am try to automate a sync replica mxd a nightly basis. The issue I am running into is that in some the of the AXFs (that I get from the users and check-in) have polygons that are self-intersecting ...
2
votes
1answer
67 views

Get feature data from lat long input QGIS

In QGIS, I have a polygon dataset with feature data. I would like to extract data from this dataset using a latitude and longitude. To be more clear, I have a list of 1000 coordinates. I would like ...