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

How to add IDs of the links composing a polygon?

I build 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 ...
4
votes
2answers
70 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. ...
8
votes
1answer
90 views

Cutting out the world into polygons of equal population size

I would like to cut out the world into polygons of equal population size, say 100 million persons (starting for example with raster data of population density as provided by the NASA). I know that ...
5
votes
1answer
431 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 ...
2
votes
0answers
25 views

Geoprocessing tool for finding specific point within polygon

I have a ArcGIS task and cannot find a solution. I try to find a certain point within a polygon (see picture). This example is handmade and I need a geoprocessing solution I point I try to get is ...
1
vote
1answer
100 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
13 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
193 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
175 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
29 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
41 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
162 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
36 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
1answer
172 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 ...
3
votes
1answer
70 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
57 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
207 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
47 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 ...
1
vote
1answer
52 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. ...
2
votes
1answer
40 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
163 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 ...
3
votes
1answer
89 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 ...
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
19 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 ...
6
votes
1answer
96 views

Suitable algorithms for simplifying isochrone polygons

I'm looking for an algorithm for simplifying isochrones which were generated using OSM data. These are generally characterised as having lots of small "holes" mostly due to missing OSM data but also ...
1
vote
1answer
46 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 ...
0
votes
2answers
152 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
3answers
141 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
211 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 ...
0
votes
1answer
297 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
28 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
48 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 ...
1
vote
1answer
88 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 ...
4
votes
1answer
209 views

Clip polygon and retain data

I have these two polygons: library(sp); library(rgeos); library(maptools) coords1 <- matrix(c(-1.841960, -1.823464, -1.838623, -1.841960, 55.663696, 55.659178, 55.650841, ...
5
votes
3answers
210 views

adjusting polygons to boundary and filling holes

here's the problem: Where: 1: department boundary 3: polygons inside department boundary that "touch" the department boundary(1). They are not necesary fitting well inside 2: holes between 1 and ...
0
votes
2answers
619 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 ...
5
votes
2answers
80 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 ...
2
votes
1answer
58 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
39 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
62 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
3answers
209 views

How to change 0,360 WKT string to -180,180?

I'm reading POLYGON WKT strings using OpenLayers.Format.WKT().read(). The polygons use 0,360 longitudes but my map is -180,180. When I display the polygons on the map they are displayed outside of the ...
0
votes
0answers
29 views

OpenLayers 3. Only one label for composite polygon

I am trying to show labels of GeoJSON polygons on hover, but now it is showing one label for each separate part of composite polygon. Is it possible to show only one label only for the biggest part of ...
0
votes
1answer
400 views

How to narrow the result from Nominatim with only cities and countries, no additional areas with the same name?

I'm trying to get WKT or GeoJson polygons of cities and countries from Nominatim (for example, Paris and France). I send a GET request but it returns me several results named "Paris" or "France". How ...
2
votes
1answer
127 views

What methods exist for geohash of polygon?

GeoHash is an excellent method to code the latitude and longitude of a point into a string. It's concise, due to the use of numbers + letters, and the precision can be tuned adding characters at the ...
2
votes
1answer
55 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 ...
3
votes
1answer
96 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):= ...
2
votes
0answers
30 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 ...
5
votes
1answer
371 views

Rgeos drops associated values when intersecting polygons

I am trying to intersect two SpatialPolygonsDataFrames and get a SpatialPolygonsDataFrame as the result. Unfortunately, using the gIntersection function from rgeos (which works impressively quickly ...
3
votes
1answer
72 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
41 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 ...