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

3
votes
0answers
69 views

Find Distance Between Two Polygons

Given two polygons (point, line, or up to 8 vertices) I need to be able to calculate the shortest distance between them via code I write or a call to an API (I haven't been able to find one that does ...
7
votes
2answers
171 views

How to calculate how many polygons I can put inside a polygon?

I usually use qgis. I explain my problem with an example: there is a forest (irregular geometry1 ) and one tree (geomery2). I want to know the maximum number of trees that the forest can contain. ...
0
votes
0answers
11 views

MSL/AGL bounds checking in PostGIS for Line/Polygon Intersection

I have a table with Polygons and columns defining an optional upper and lower altitudes bounds and altitude type. The Type can be MSL, AGL, or NULL, if unbounded, and can be set separately for upper ...
1
vote
0answers
20 views

scale polygon in Qgis [duplicate]

The task is to scale a polygon in QGIS. The procedure is performed tracing the polygon and then apply a scaling factor ( the factor used is " Distance on the ground" / " Distance on map " ) . Both ...
0
votes
0answers
11 views

Allocating premises between postcode polygons and telephone exchange area polygons in QGIS?

I have telephone exchange areas as one polygon layer and postcode (codepoint) polygons as another. The postcode polygons have the number of premises in each postcode as a field. I want to estimate the ...
0
votes
1answer
87 views

Inverted lat lon on drawn polygons in Openlayers 3

I am working on a map in openlayers 3 with geoserver I display the layers as WFS and I added the draw and modify interactions, but when I save the drawn polygons the coordinates of the newly drawn ...
5
votes
3answers
164 views

Smoothing method for big polygons

I'm looking for an alternative to 'snakes method' for smoothing very big polygons, which I created from SRTM elevation datasets. The problem is that the smoothing is getting stuck after a while with ...
3
votes
2answers
71 views

PostGIS - Get a point inside a line or polygon

I need to get the center point of a line or polygon to make marker for my app. So that when you click a marker the geometry appears (line or polygon). I used ST_Centroid to make it work. The result ...
1
vote
0answers
26 views

SRIDs do not match for the two geometries in oracle spatial

I am trying to resolve where some points from Point Geometry lying outside the Polygon geometry. I want to filter those points which are lying outside the polygon geometry. I am getting error where ...
1
vote
0answers
29 views

Polygons created with R are corrupted when imported into ArcMAP

I created some polygons using R and to get a better visualization and some other stuff I need to import those into ArcMap. However, when I imported the polygons I realized there are some holes in some ...
0
votes
1answer
66 views

Google Earth: Circular polygons that follow earth curvature

I'd like to draw filled circles in Google Earth which follow the curvature of the earth, i.e. for 1000ft altitude, not only the circle's edge but also the center is required to be 1000ft above ...
3
votes
0answers
48 views

Emulating Polygon Neighbors tool in ArcGIS Desktop 10.0? [duplicate]

I'm using ArcGIS 10.0 SP5. Have a set of 4000 polygons (featureclass A) and I'd like to summarise the values of the polygons (featureclass B) which touch the boundaries of these polygons (ie. those ...
0
votes
0answers
22 views

Why do area calculations of OSM polygon shapefiles return negative values in ArcMap?

Whenever I tried to calculate the area of polygon shapefiles (OSM, Geofabrik) part of the polygons have negative values. All values appear to be right except the fact that around half of them are ...
0
votes
1answer
21 views

Cut Tool or Process to mimic cutting in a “cookie cutter” like fashion

Say I have a sidewalk polygon, and on that segment of sidewalk I have 5 tree grates that I want to cut out of the sidewalk polygon. Is there a tool or an easy process that I could cut out one tree ...
0
votes
1answer
30 views

Triangulation method to create multipatch objects (decomposition of polygon surfaces)

Which triangulation method or algorithm does arcscene use to create multipatch parts (patches) as you see in the attaching picture. The algorith decompose the polygon area into a set of triangles ...
0
votes
0answers
16 views

Loading Data into Vector Layer Polygon

My first layer is a map. My second layer consists of points: bars with GPS coordinates (.cvs file). My third layer consists polygons, creating different area's for the bars. So, the points of the ...
2
votes
0answers
34 views

PyQGIS: intersection of one node layer with two polygon layers

I´m new with the use of PyQGIS and I´m working in a problem applied to a water supply systems modelling, where I need to distribute the water demand in about 5000 nodes (network junctions). I´m ...
2
votes
1answer
54 views

How can I calculate the percent of a raster cell covered by a polygon?

First, I am going to try and intersect a raster and a polygon shapefile. I'm not 100% sure how to do this (or if I need to do this for the next step), so if you have any suggestions please let me know!...
2
votes
2answers
83 views

OpenLayers 3 / Cesium polygon projection issue

I am using OpenLayers 3 and Cesium (via ol3-cesium). I have created a few rectangles (using a MultiPolygon) stacked on top of each other. Whereas in OpenLayers the rendering (left) is as expected, ...
0
votes
1answer
63 views

How to calculate distance from point to nearest polygoin via road network (polyline) ARCMap 10.3.1

Using ArcMap, is it possible calculate distance from a postcode (point) to nearest polygon using a road network layer (polyline)? As opposed to just calculating Euclidean distance?
3
votes
0answers
48 views

Can I reorder the points in a GEOS LineString?

Using libgeos, when I buffer() a polygon and then getExteriorRing() [to make a slightly smaller outline copy of the polygon just inside the original], it seems that which point on the new geometry is ...
1
vote
0answers
20 views

Why does connected polyline (KML file) appear unconnect in arcmap as layer?

I created polygone in google earth and imported it to arcmap as layer. All things are OK but when I converted polygon to polyline, there some parts of polyline has not shown although its vertices ...
0
votes
0answers
47 views

OpenLayer WMS Polygon Fill color dynamically

i am new to OpenLayer Geoserver and PostGIS. I want to color my WMS Polygon Layer which has multiple polygon in different color based on some value. Is this possible with wms or wfs. Color for polygon ...
1
vote
1answer
28 views

Storing GML Polygon in PostGIS 2, ERROR: unknown spatial reference system

I am receiving GML as part of a larger XML message. When I receive the XML it is unmarshalled to Java objects. I have no rights to alter the schemas or the generated Java code. Therefore, I later have ...
0
votes
1answer
46 views

Finding neighbors for non adjacent polygons in R [closed]

I'm looking for a method or function in r-project that create a neighborhood matrix from a group of polygons that don't touch each other, like polygons of set of blocks separated by streets in a town. ...
2
votes
0answers
28 views

How do I merge a point attribute table to a polygon attribute table in QGIS or GRASS?

I have a point layer containing the following data: I want the following polygon areas to be added to the point attribute table as all the points occur inside the various features of the polygon ...
2
votes
2answers
197 views

What is the difference between Polygon To Line and Feature To Line in ArcGIS?

What is the difference between Polygon To Line and Feature To Line in ArcGIS? Is feature to line a more abstract way such that it takes in not only polygon but like dots and other feature classes also?...
1
vote
1answer
24 views

ArcGIS: segmenting buffer based on polygon corners

I have hundreds of square polygons which I've created a single continuous buffer around the polygons. What I'd like to try and do is try and break this buffer down into segments based on the corners ...
4
votes
1answer
64 views

Change feature class from ESRI native geometry to SQL Server geography

Original question: I have found a lot of documentation on importing and using query layers from SQL Server into ArcCatalog/ArcMap/etc. However, when you change the projection of a feature class or use ...
4
votes
2answers
102 views

How to place only one symbol on the centroid of a multipart polygon?

I am using QGIS version 2.14.1 (Essen). I would like to place symbols on the centroids of my data. The problem is that some of my data has multi-part polygons, which means it places the symbol at the ...
5
votes
2answers
155 views

Are there any multipolygons in my shapefile?

In QGIS 2.x, is there a simple way to determine if a polygons layer contains multipolygon geometries and if yes: which are these features?
2
votes
0answers
49 views

Filtering Small Areas of Shapefiles Using R

I'm trying to use the method proposed by the @ialm in the Question "How to speed up the plotting of polygons in R?" There, he loads the maps using getData from the raster package, I tested and it ...
0
votes
0answers
21 views

Percent overlaying [duplicate]

I have a raster dataset of points and a polygon features. The two are over the same area and I am trying to find the percent of the raster that overlaps the polygon features. I have tried clip, ...
0
votes
1answer
48 views

Intersection of a raster and polygon in ArcGIS 10.3

I have two data sets one raster and one polygon. I am interested to see learning the area where the two overlap. I was thinking that I could use the intersect function, but since one of the layers are ...
5
votes
2answers
143 views

How to sum attribute values for areas where multiple polgons overlap?

I have one shapefile with many polygons (at least 100). Each polygon has a value. Almost all these polygons overlap with each other. I want to sum the values of the polygons in the overlappings depend ...
3
votes
1answer
56 views

Create an optimised path between nodes avoiding polygons entities

I have a point shapefile representing seaports. I have the linear cost of shipping for every seaport pairing (specific shipping cost to go from one point to another point). I want to find a way of ...
1
vote
3answers
73 views

Comparing size between polygons in different UTM zones

I am going to compare size of different areas in Europe in different UTM zones. The areas I'm comparing are quite small (around 35-50 km2) and I was wondering how to do this the best way? Can I draw a ...
0
votes
1answer
26 views

Identifying the closest polygon to a point dataset

I have two large data sets one point and one polygon. What I was looking to do was identify which polygon is closest to each point. Hopefully I was looking for a automated process as the point data ...
1
vote
1answer
46 views

Splitting polygon into multiple fixed-width polygons along edge in R?

I have a polygon and would like to spit into grid with fixed width along with one edge. The result will look like the figure below. Are there algorithm to achieve my target? My language is R, but ...
1
vote
1answer
29 views

Colour a polygon depending on the number containing of point feature

I have 2 different shape files, polygon and points.I am using QGIS 2.14 as a software. The points are distributed inside of the different polygon shapes. I try to do a categorized map using different ...
1
vote
1answer
111 views

Checking if point is inside irregular polygon?

I'm using Javascript (https://github.com/substack/point-in-polygon) to test if a point is inside polygon, however I think it's adapted from https://www.ecse.rpi.edu/~wrf/Research/Short_Notes/pnpoly....
3
votes
1answer
66 views

Rule based polygon fill in QGIS?

I'm really quite new to QGIS, I want to style polygons fill with raster imagws based on a attribute contained in the property table. What do I have to write in the description in order to get for ...
1
vote
0answers
30 views

Offsetting polygon borders where they share border in QGIS?

Say you have 2 polygons with different coloured borders, where the borders are shared the colour is problematic. How do you offset/separate them in QGIS 2.10.1?
3
votes
2answers
72 views

Polygon shapefile has irregularities when viewed in ArcMap?

i am using ArcGIS 10.4 for Desktop and when i try loading my shapefiles into the arcmaps it shows extra incorrect lines in my polygon shapefile is there anyway to fix this inconsistencies ...
1
vote
1answer
60 views

“Direction/Length” Tool not working with Polygons in ArcMap 10.3

My "Direction/Length" right-click option is not working when trying to draw a polygon. I start a shape by dropping a single vertex, right-clicking and choosing "Direction/Length". I enter in the ...
4
votes
3answers
75 views

Convert .csv with polygon geometry to .shp QGIS

Working on a Mac in QGI 2.12, I have a csv file with polygon geometry coordinates that I would like to save to a shapefile. It displays fine as a csv. However, when I try to use "save as," I get the ...
1
vote
2answers
53 views

Animating polygon style over time in QGIS?

I have a shapefile, consisting of polygons. I can join a layer to a database file, and use an attribute (database value) to "style" (color in) the polygons to give me a visual representation of the ...
1
vote
1answer
23 views

Applying the attributes of polygons to a line segment

I am trying to classify a line segment (pipeline) based off of surrounding features. I have created polygons that contain the necessary attributes (count of total nearby houses) that overlap this ...
0
votes
0answers
13 views

Converting polygons to contours based on value in polygon table

I have the following and data and have been asked for a map that shows the same data set but displayed as contours. Each polygon has a value in it's table called "count". The "count" field is used to ...
1
vote
1answer
77 views

JTS: split arbitrary polygon by a line

I just discovered JTS through this stack exchange. I'm looking for a Java solution to cut an abitrary polygon into two by a line. I've implemented one that does fine on convex polygons, but it messes ...