Questions tagged [polygon-creation]
Process of creating geometric polygon features.
480
questions
0
votes
0
answers
27
views
Land allocation to polygons with specific areas within a boundary
We are looking for a solution to create novel land allocations of an existing area into a subset of polygons for each allocation within the existing space.
A high level overview of the requirements ...
2
votes
2
answers
73
views
Splitting complex polygon in QGIS
I have a problem with a polygon in QGIS. Is a polygon that represents all street areas in a city:
And I want to slip all the area into smaller areas that represent the area of each street in the city,...
-1
votes
0
answers
18
views
Add ring in QGIS 3.22.10
Where is the 'Add Ring' to polygon feature in QGIS 3.22.10?
1
vote
0
answers
36
views
Create polygons with fixed size along lines or another polygon
My task is to create layouts for the grey polygon with a rectangle covering multiple parts for the map extend. I then have to calculate the area of they grey polygon within each rectangle. My idea was ...
3
votes
1
answer
70
views
Dividing city into blocks (polygons) in QGIS
I'm interested in dividing a city up into distinct blocks, with the end result being polygons for the blocks. I have a polygon for the city boundary and centerlines for the city streets.
Here's a ...
7
votes
1
answer
121
views
Merging layers and excluding some of the products
When merging two layers of polygons so that they produce a third layer where no polygon contains another polygon, I find that the product contains some very small polygons, almost too small to see.
...
0
votes
1
answer
51
views
QGIS shutting down when trying to create a polygon
QGIS keeps shutting down when I try to create a polygon. It only happens with polygons, not with lines, and only when I try to create a new one, while it works fine if I try to modify the nodes of an ...
4
votes
1
answer
81
views
Computing parallel polygons based on given perpendicular distance in GeoPandas
Say I have a GeoPandas GeoDataFrame of polygons (i.e. the "geometry" column contains polygons of GPS coordinates only).
import geopandas as gpd
from shapely.geometry import Polygon
...
6
votes
2
answers
177
views
Applying Geometry Generator for MultiPoint feature in QGIS
I have used the Geometry Generator in QGIS to successfully create a polygon around a point that represents the canopy of a tree based on the cardinal direction recordings.
What I cannot figure out or ...
1
vote
2
answers
102
views
Uneven polygon from points with sf package [R]
I have created a group of polygons from a data frame with that code :
P <- P %>% st_as_sf(coords = c("lon", "lat"),
crs = 31370) %>% dplyr::...
0
votes
1
answer
103
views
Buffer a polyline by variable distance [closed]
I have a list of points (x,y) that constitute a polyline, each point also has a value (v).
I want a polygon which is the buffer of the polyline with variable distance v. So at each point, the polygon ...
6
votes
1
answer
106
views
Detect largest area and generates polygons that arise from lines geometry
Starting from a layer with points geometry, the Geometry generator is used to create a line geometry layer that connects with the 8 nearest points. The function used is the following:
...
4
votes
1
answer
46
views
Representing points as polygons from Feflow data in QGIS
I have several Feflow files that are displayed as points in QGIS. I would like to display points that have the same value scale as a polygon (F Value in the attribute table). Is this possible?
Is ...
0
votes
0
answers
28
views
Plugin where one can make shapefile (polygon) with help of coordinate values [duplicate]
Is there any plugins or method where one can easily make shapefile (polygon) with the help of coordinate values?
You can find in the attached file.
0
votes
0
answers
150
views
How to draw polygons in python (giving coordinates) and number its edges?
I have a list of agroforestry plots (polygons) in python. Every polygon is represented as latitude/longitude.
polygon1_coords = [
(11.946898956, -86.109286248),
(11.947196373, -86.109159886),
...
-1
votes
1
answer
111
views
Creating Bounding Box in QGIS [closed]
I have four coordinates: north, south, east and west. How can I automatically create a bounding box in my shapefile? Can I do it through Python?
7
votes
1
answer
213
views
Splitting line buffers into two separate polygons in QGIS
In QGIS, I have a layer of numerous vector lines that need to be buffered. Once they've been buffered, I'd like to have those polygons split into two, with the original line being the segment that ...
1
vote
1
answer
61
views
Improving use of QGIS GDAL Contour Polygon function
I'm trying to extract vector contour polygons from a DEM, but it always takes a long time. While the Line function can finish the DEM in an hour at most, with the same parameters, the Polygon function ...
3
votes
1
answer
123
views
Getting the polygons contained in closed MultiLinestring using Python
Given a set of "streets", how can I get the "blocks" contained in those streets?
For example, I'd like to extract four blocks / polygons from this 2 x 2 "checkerboard":
...
4
votes
1
answer
881
views
Creating square polygon around center of the point using Python
How do I create a square polygon using center of the point (lat/lon) 25 kilometers (KM) by sides?
I am not looking for a radius i.e. buffer. Here I am creating edges of 25 KM from the center point ...
8
votes
4
answers
400
views
Importing grid layer from CSV in QGIS
In QGIS, I used the Create grid function to produce a grid. It produces an attribute table that looks something like that :
Now, let say I have a CSV file with the same attributes.
id
left
top
right
...
4
votes
2
answers
163
views
Creating polygons from points with postal codes in QGIS
I've got a collection of postal codes from all over the country. These are points. I need to determine the polygon areas from these points, for each of the postal codes.
That is: for example, I have a ...
10
votes
1
answer
387
views
Finding the largest empty circle that fits within point layer in QGIS
Is there any solution to calculate with a QGIS expression the largest empty circle of a point layer as shown in the image below?
Maybe there is some solution combining or improving the functions pole ...
4
votes
1
answer
398
views
Creating middle line between two lines in QGIS
I'm looking for a way or tool in QGIS that could create a mean line between two line features, from a line shapefile (not a polygon). See sketch image below for clarification.
0
votes
2
answers
102
views
Tool to create inscribed polygon from circular polygon in ArcGIS Pro
I have created a circular polygon feature class after applying buffer tool in a point feature class (dissolve option activated).
Is there a tool that automatically creates an inscribed polygon inside ...
5
votes
4
answers
336
views
Smoothing round border of created buffer in QGIS
I have created a buffer out of point values with a fixed buffer zone of 150m. I would like to make the buffer look more naturally.
I would accept an error margin of +/- 20 meters to flatten the curves ...
0
votes
0
answers
29
views
How to build ArcGIS line buffer based on raster depth value
I want to create a script in Python for ArcGIS that generates a buffer around a line feature, but I want the width to vary depending on the underlying raster layer. Specifically I want to create a ...
2
votes
1
answer
66
views
Shapefile with a pole inside
I am trying to create a shapefile with an inner and an outer ring. When one of the pole is located inside the polygon, the inner ring is not recognized
Here is a simple example reproducing my problem
...
2
votes
1
answer
53
views
Merging all polygons (and their respective attributes) into similar areas in QGIS
As you can see in the image, I'm trying to merge selected polygons and their respective attributes. I have thousands of these polygons (some very small, others very large). I have to create areas of ...
3
votes
2
answers
156
views
Union polygons by intersection lines in QGIS
I have two layers:
contiguous polygons without properties
lines with the name property that overlaps the polygons
I want to get a new layer of joined polygons if they are crossed by the same line ...
3
votes
1
answer
62
views
Splitting polygon on the curving edges using QGIS
I have a set of polygons with irregular shapes, I am interested in cutting these polygons in the curves:
What I want to achieve:
How could I solve it?
I tried to use the vertices of the curves ...
0
votes
1
answer
55
views
Disappearing polygons when editing in QField
I have created a project on my desktop in QGIS 3.22. It has a large TIF file which seems to be causing problems with the upload to Qfield cloud so i opted to transfer the project files to my phone and ...
1
vote
0
answers
75
views
Creating polygons from points using Python [closed]
I have a geopandas geodataframe with the following layout:
Index
Cluster
Geometry
1
0
Point (x,y)
2
2
Point (x,y)
3
4
Point (x,y)
...
...
...
I can directly plot it, but it looks like crap, ...
0
votes
1
answer
125
views
Create shapefile geometries from scratch using R
I would like to interactively create polygons from within R/RStudio. I am familiar with creating shapefiles using QGIS, but I would like to create a similar, but more streamlined workflow using R.
...
1
vote
2
answers
159
views
Dividing polygon using centerline in QGIS
I am wondering if it is possible in QGIS to cut a polygon using a centerline (polyline which represents its "median" line) that contains different values. An example is reported in this
.
...
1
vote
1
answer
130
views
Creating polygon by specifying area and some (irregular) boundaries
To assist with a multi-year planting project, I need to find a way to identify and map the portion of the whole planting area that will be planted in year 1.
With reference to the image below, the ...
6
votes
3
answers
440
views
Best practices to show extent of Print Composer maps in main canvas in QGIS
I want to display the extents of print composer maps in the main canvas as polygons ("map footprints"). Currently I am using the geometry generator with the expression make_rectangle_3points ...
0
votes
0
answers
41
views
Merge separate polygons inside of a single JSON that do NOT share a boundary
I am trying to see if there is a way to merge/connect polygons that do not share a boundary with one another. As you can see from the imagine, these are two polygons that I'm looking to connect, if ...
1
vote
1
answer
108
views
(QGIS) Unable to change shape of polygon
I am failing to change the shape of a polygon I just drew. I need to enlarge it by moving one or two vertices somewhere else. I have selected the shape, toggled edit mode on, selected the Edit Node ...
0
votes
0
answers
21
views
How can I automate polygon creation between a linear point path?
Working with shapefiles for a natural gas pipeline installation. I have the polygon for the LOD (limits of disturbance), and the surveyed station number point file that runs linear along that same ...
0
votes
1
answer
103
views
R paste polygon coordinates for SQL
Everyone,
I am new to this GIS data and SQL, but have pretty decent R knowledge.
I am looking to extract the Polygon coordinates from a list so that I can paste into a SQL input query.
I am pulling ...
1
vote
0
answers
39
views
Transform Lines to Polygons QGIS - FEMA SFHA
I am very new to GIS. Using QGIS LTR 3.22
I have downloaded the FEMA SFHA Shape files from FEMA's website. There are a few layers but the specific one I am working with is the S_FLD_HAZ_LN layer.
...
1
vote
1
answer
233
views
FME - Find and calculate part of area that is a rectangle in a polygon feature
I'm looking for a way to find the largest part of an polygon feature that is whole rectangle. Don't know if it make sense, but maybe the picture helps explain it.
So far I've been using Chopper with 5-...
2
votes
1
answer
79
views
Settlement area from buildings layer
I'm using QGIS 3.22.0 Bialowieza.
I have an osm-building-Layer. I would like to transform the single buildings into a settlement area as you can see in the image.
In the image you can see the ...
5
votes
2
answers
281
views
Getting part of polygon that is closer to point A than point B in QGIS
In QGIS I have a points layer and a polygon layer. Two of the points in the points layer lie within a polygon in the polygon layer. I'd like to generate a new polygon that includes all the parts of ...
5
votes
2
answers
543
views
Groupping points to clusters containing similar number of features using QGIS
The question
Using QGIS, how to cluster unevenly distributed points from the same layer to groups of about the same size / containing the same number of features?
The problem
I have a large point ...
2
votes
1
answer
105
views
Creating new polygons from intersecting polygon and polylines in QGIS
I want to create new polygons from the intersecting polygon and polylines shown in the images below. At the output, I need to get four polygons representing the polygons shown in the top image after ...
5
votes
3
answers
486
views
Creating nested hex grids in QGIS
I'm looking to replicate the kind of map seen here, where there are essentially multiple hex grids nested inside one another.
Author : Kate Berg
That example was made in ArcGIS Pro, whereas I'm ...
0
votes
0
answers
72
views
When drawing a polygon in QGIS, finding a point defined by two known distances
I'm looking for some tool or process that runs just like a tool present in Arcmap called 'Distance Distance'.
For example, to draw a irregular polygon defining the first four points, I would like to ...
3
votes
1
answer
2k
views
"Has no attribute geometry" error when creating polygon with Shapely
In Shapely I am getting an error:
"has no attribute geometry"
when I try to create a Polygon from a list with QgsPoint:
from shapely.geometry import Polygon
points = [<QgsPoint: PointZ ...