Questions tagged [polygon]

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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
111 views

ArcGIS Pro Symbology: Polygon boundary is displayed at the wrong size

This feels like a silly question, but ArcGIS Pro is displaying the boundaries of my polygons as very wide. Any suggestions on what settings to change to put it back to normal? Image 1 below is the ...
kristensb's user avatar
1 vote
1 answer
361 views

Adding new polygon attribute column based on location withing another polygon in R

I have here an example with two layers - one containing two large polygons Pol_large, and second containing 4 small polygons Pol_small. For Pol_small I want now to find the location of each of the ...
MIH's user avatar
  • 183
0 votes
1 answer
613 views

Downloading Polygon/Administrative Boundaries using WikiMapia

Is there any way to download administrative boundaries / polygons for a small city through Wikimapia? I tried to download the boundaries but the results were points not polygons. I need to download ...
user100157's user avatar
1 vote
1 answer
91 views

Buffering every polygon in layer

I'm trying to use the "Fixed Distance Buffer" from the Processing Toolbox to create a 500m buffer around all the woodlands in my layer, but the tool only puts a buffer around the smaller woodlands. ...
Watrevir's user avatar
1 vote
1 answer
78 views

Keep getting NAs when I run sp's over function on LatLon points on shapefile polygons

I am not sure why i am keep getting NA whenever I run the Over function with Latitude and Longitude point on the polygon from shapefile. Please note that this is first time for me doing the spatial ...
WannabeSmith's user avatar
3 votes
2 answers
1k views

Intersect of all polygons from the same layer in QGIS

I have various polygons within one layer in QGIS. As a result I need the area where all polygons overlap as shown in the picture. Is there a way to do?
Darleen's user avatar
  • 155
4 votes
1 answer
2k views

Finding zipcodes within line using GeoPandas [closed]

I have a shapefile of Houston zip codes and gdb folder of lines (within Houston). The lines are in a gdb folder containing over 125 files. The types of files included in this folder are GDBINDEXES, ...
Mualla Argin's user avatar
1 vote
1 answer
1k views

How can I make a heatmap of polygons using a graduated color scheme in QGIS?

I want to make a heat map of species biodiversity like the people did in the picture below. I can sort of get it to work by setting my layer with multiple polygon subclasses in the Layer styling panel ...
MapDeath's user avatar
  • 383
1 vote
1 answer
799 views

Eliminating sliver polygons automatically [closed]

I have thousands of sliver polygons outside of my study area. What is the best way to eliminate them automatically? In ArcGIS or QGIS. Those polygon islands are an example of the slivers. Note: I can´...
Abel's user avatar
  • 21
1 vote
0 answers
223 views

OpenLayers fill opacity increases after repositioning [closed]

I have created a test project where i'm trying to learn how to work with OpenLayers. I try to do a get request to a remote geoservice. Every time I reposition the filled polygons on my map get there ...
Stephen's user avatar
  • 275
1 vote
4 answers
649 views

How can I get a polygon of everything between two polygons in PostGIS?

I am trying to find all the neighborhoods located between two (or more) neighborhoods. The definition of between is obviously a bit fuzzy but for our purpose, I'd like to extract all neighborhoods ...
nbeuchat's user avatar
  • 229
3 votes
1 answer
511 views

QGIS - Use polygon orientation to rotate texture inside polygon

I'm trying to fill entities (polygons from 3 to x points) with a texture that I want to align with the 'general' orientation of each polygon, ie, I need a formula to assign to the Rotate field of the ...
Laurent's user avatar
  • 175
0 votes
0 answers
60 views

Joining two polygons that have information in same spatial location using ArcMap

I am using ArcMap 10.6.1. I have two shapefiles, one that has human disturbance and one that is fishnet grid and every grid has a unique value. I used the fishnet tool on my human disturbance ...
meggo.edgar's user avatar
3 votes
0 answers
78 views

Cut one polygon into smaller polygon with other polygons

I want to use one layer with numerous polygons in it (layer 2 in attached image) to cut a big polygon on another layer (layer 1 in image), so that said big polygon is separated into smaller polygons. ...
JHK's user avatar
  • 31
1 vote
0 answers
43 views

QGIS 3.10.3 crashes removing a polygon layer created via script

I created a polygon layer from a line layer(qgis:linestopolygons), set its style ('qgis:setstyleforvectorlayer') and put it in a group of layer table. Everythings works but when script has completed ...
Federico Pav's user avatar
1 vote
0 answers
95 views

Populating linestring column based on other table values (OSM nodes/ways)

I'm trying to populate a linestring column using points from another table. After reading a lot in this site and many experiments I'm still stuck. This is the table which I want to fill the road ...
federico's user avatar
1 vote
0 answers
47 views

Keeping same color when using "gdalogr:polygonize" function to polygonize segmented image

This is one example of images that I have: Now I want to polygonize it to get shapefile of different polygons. Every time I run this algorithm I get polygons of different colors but I want to keep ...
Ivan's user avatar
  • 145
0 votes
1 answer
51 views

Identifying zip codes that cover multiple townships

I have shapefiles with zip code tabulations in Massachusetts and township areas. Some zip codes fall completely within a single township, while some zip codes cross multiple town borders. I want to ...
AlJones1816's user avatar
-1 votes
1 answer
382 views

Clipping complete building/closed polygons only from polygon shapefile using QGIS

I have a polygon layer of buildings and a polygon layer of AOI. Now I want to clip only complete/closed polygon that falls within this AOI. As you can see there are certain buildings that have a ...
Abhishek Pandey's user avatar
0 votes
1 answer
215 views

Fill out irregular grid with polygons

I'm using QGIS 3.10.0 A Coruna. As you see in the picture, I have an unregular grid with some buildings on them. I would like to fill out all the other rectangles between the points with a polygon ...
rtaani's user avatar
  • 557
0 votes
1 answer
72 views

Kriging for Soil Nutrient Analysis

I have collected soil analysis results on a gridded basis within fields. These grids were generated on a 35m based upon digitised polygons of the field extents. I have imported my soil analysis ...
user156683's user avatar
2 votes
0 answers
364 views

Spatial similarity between polygons

I am using PostGIS and python3. I have a table with polygons objects, the polygons have year as an attribute. I need to identify the uniqueness of the polygons trough time. For instance I need to ...
Laura's user avatar
  • 21
1 vote
1 answer
769 views

Enlarge the size of multiple polygons contained in a shapefile QGIS

I have a shapefile which contains many polygons and because I work on a large geographical extent, I'd like the polygons to be slightly bigger, for presentation purposes. Basically keep their extent ...
Tim56's user avatar
  • 1,032
0 votes
1 answer
984 views

Weird problem with st_polygon in the sf package

I would like to create a simple polygon using the sf package. From my understanding, I have to create a two column matrix where the last row is identical to the first one to close the ring of the ...
Maikol Solís's user avatar
0 votes
0 answers
400 views

Model or script to calculate distance from each point in a multipoint file to the center of a matching polygon in ArcGIS Pro

I am working in ArcGIS Pro. I have a series of multipoint features that represent release locations for individual animals. I have a series of these, for multiple study sites. At each study site - I ...
Brewkeeper's user avatar
1 vote
0 answers
35 views

Extract IDs from polygons intersecting with other polygons

I'm currently building a model where I have to extract all IDs from the red outline polygons containing the green polygon. In the provided example I would like the green highlighted polygon to get a ...
Baccanazzo's user avatar
1 vote
1 answer
69 views

Calculating list of existing polygons with distances from newly created QGIS/PostGIS

I have two polygon tables (SRID=4326) in postgres: t_areas and t_sites. Once I insert through QGIS 3,8 a new area in t_areas I'd like PostGIS (by a trigger) to list all sites within a certain km range ...
Stas's user avatar
  • 33
5 votes
1 answer
555 views

Calculate volume of MultiPolygon Z using Postgis

I am trying to calculate the volume of a multipolygon z using Postgis. SELECT ST_Volume(geom) from grb; And I get this error: MultiPolygon is invalid : Polygon 0 is invalid: points don't lie in ...
LanderM's user avatar
  • 73
2 votes
1 answer
684 views

Selecting features inside a polygon - PyQGIS

I have just started working with PyQGIS and I would like to ask this question. I have a rather big dataset (cell phone towers) and I want to narrow it in the towers that exist inside a certain ...
ovidius's user avatar
  • 21
0 votes
1 answer
1k views

Looping through list of coordinates to create polygons on Google Earth Engine

I have imported a CSV file with just one column. Each row of the column has multiple coordinates required to draw a polygon. (This was collected on the ground) I have used the below code to extract ...
Abheeshta Rao's user avatar
1 vote
0 answers
139 views

Adding border style to country which has geometry type polygon? [closed]

I have a drop down list and when I select a country name and the map goes to this country, I want to add a specific border style to this country (polygon geometry).
Amr Rizk's user avatar
1 vote
1 answer
509 views

GRASS v.transform tool producing no results QGIS

I'm working on a simple polygon feature representing the Western Cape province of South Africa. My goal is to enlarge the polygon so it can stand out from the others. To do so I've used the v....
Tim56's user avatar
  • 1,032
4 votes
1 answer
1k views

How to create Polygons of a specific size?

I'm trying to create polygons of specific size in square meters that represent the areas surrounded by roads. The roads are stored in PostGIS as points / lines. If required, I can convert the data to ...
Shuji's user avatar
  • 141
2 votes
1 answer
9k views

Combine multiple polygons into a single one (with holes)

I have the following GeoDataFrame with multiple polygons which represents a single area (raster_val = 1.0) with holes in the middle (raster_val = NaN): geometry ...
ksnn's user avatar
  • 141
2 votes
1 answer
7k views

Creating Latitude & Longitude from polygon shapefile using QGIS

Could you help me to create long & lat (x and y coordinates in degrees) for polygon shapefile? When I used directly QGIS export vectors to csv file, it didn't work. Here is the example file: ...
billy damanik's user avatar
1 vote
2 answers
675 views

Maintaining coordinates when converting SpatialPolygonsDataFrame to simple feature in R

I am ultimately trying to determine the area of a home range, but I need to remove areas that overlap land. To accomplish this, I have calculated and plotted my home range, and want to use one polygon ...
guestly's user avatar
  • 13
1 vote
0 answers
337 views

Extracting SpatialPolygonsDataFrame attributes into a dataframe in R. Assigning new vars based on other polygon in R

Here you can see a group of small and large polygons. Small polygons are cropped as I am only interested in their properties, such as size inside the large polygons. I have two furhter objectives ...
MIH's user avatar
  • 183
5 votes
3 answers
2k views

QGIS alternatives to GDAL contours to polygons

I have Windows 7 running 3.10.2-A Coruña. The only success I have had in creating nested polygons from a raster dataset is using GDAL with -p to create polygons. However, I recently cancelled the ...
Dr Richard Langford's user avatar
2 votes
1 answer
680 views

Check if shapefile Polygon has a valid number of points - Python [closed]

I'm trying to create a polygon from ShapefileReader.shapes() object in python using the shapely.wkt library. But I'm having the followeing error: IllegalArgumentException: Invalid number of points in ...
Paulo Calado's user avatar
4 votes
2 answers
360 views

Why is a vertical polygon defined by WKT PolygonZ invalid?

Can you tell me, why this PolygonZ is invalid? PolygonZ ((409662 5317369 285, 409662 5317377 285, 409662 5317377 302, 409662 5317369 302, 409662 5317369 285)) The polygon is completely vertical, but ...
Marcel Gangwisch's user avatar
2 votes
2 answers
4k views

Which method to find intersection between lines with polygon

How could you find intersection between lines intersected with polygon? I want to find the lines only that located inside the map and intersected with polygon then change the colour of intersected ...
potter90's user avatar
  • 111
0 votes
1 answer
863 views

Find lines whose both start and end point ends in a polygon

I have a river dataset, which is dissolved, so between two lakes there will always be one single river line. Now I want to find all rivers that starts in a lake, and ends in a lake. So if my rivers ...
Agnar Renolen's user avatar
2 votes
1 answer
544 views

Where is the "Intersection" tool located in QGIS 3?

I would like to generate the intersection between lines and polygons lines and polygon in QGIS 3 and extract the id number for each line. I would like to assign a red color to the resulting lines ...
potter90's user avatar
  • 111
0 votes
1 answer
94 views

Aligning Polygons to Margins in Data Driven Pages

I'm creating a data driven page of polygons (forest subcompartments) on a basemap in ArcMap 10.4.1. The scale required for outputted maps is predefined (1:5,000). Output is multi page pdfs. Users of ...
Yi_Harr's user avatar
2 votes
2 answers
170 views

Merge donut with its hole

I have a layer with polygons in QGIS. The one selected on the bottom has a hole in it, the hole is also a shape. So I have the donut and his hole. How can I merge these two polygons? EDIT: I didn't ...
LanderM's user avatar
  • 73
4 votes
2 answers
412 views

Different Results in GEE when using manually upload polygon and uploaded shapefile

I have a code that classifies polygons based on their NDVI values (based on mean and std, classes into 3 ranges: high, medium and low). The code suppose to do this process for each polygon, but I ...
ReutKeller's user avatar
  • 2,137
5 votes
3 answers
1k views

Simplifying a multipolygon into one polygon respecting its outer boundaries

I have a multipolygon containing a one large polygon, itself containing a number of smaller polygons, which constitute 'holes' in the largest polygon. My goal is to simplify the multipolygon into one ...
Glenn's user avatar
  • 163
5 votes
0 answers
759 views

Close gaps between some polygons, which are adjacent in reality

I have tens of thousands of polygons (farmer plots) which have been measured while on the fields. This has caused plenty of gaps between some polygons, which is not the reality. I would need to close ...
Agnes's user avatar
  • 145
4 votes
1 answer
2k views

Converting polygon to line in QGIS

When I'm doing "polygon to line" analysis on ArcGIS the result is individual line features but in QGIS is not. How can I execute "polygon to line" in QGIS where each polygon becomes individual line ...
Damar Panoto's user avatar
3 votes
1 answer
2k views

Quartile calculation option in QGIS?

I need to calculate the quartile value (e.g. 75%) of the pixels of a raster layer within a polygon file. I try to do that using QGIS, and found that the zonal statistics might be able to do that. But ...
Jian Zhang's user avatar

1
28 29
30
31 32
90