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
0 votes
2 answers
34 views

Join multiple geospatial polygons to their nearest lat/long point in a different table using GeoPandas or other Python tool

I've got a list of voting precinct geospatial polygons that need to join to a different table with just lat/long points for each zip code. How can I join each of the precinct polygons to its nearest ...
user avatar
0 votes
0 answers
16 views

R : Reading KMZ and appending geography to polygon from png

Question: How do I make a png embedded within a kmz useable as a polygon? Context: I am trying to read a KMZ file generated by a free 3rd party tool and to make the .png image within useable as a ...
user avatar
  • 1
0 votes
0 answers
29 views

How to remove areas of overlap within the same layer in QGIS

I'm currently working with some data on soil survey areas in the US, and have run into a small issue when intersecting this data with another set of parcel areas. The problem appears to be that there ...
user avatar
1 vote
1 answer
31 views

Calculating area's region in DEM

I have a DEM map in my project Tsunami Assesment project.The white area below the mentioned map is sea and we know that possible tsunami height is 14 meters(please neglect the line, there is an error ...
user avatar
0 votes
0 answers
29 views

Problem Importing KML QGIS

I'm pretty new at QGis. Whenever I try to import KML into QGIS, I do not see any of the points I imported. Somedays ago I could. I don't understand what's happening and the reason about this.
user avatar
  • 13
2 votes
1 answer
25 views

How to determine data used for plotting polygons in QGIS

I have this shapefile of soil characteristics in Massachusetts, but when looking at its attribute table, I can't determine what values are being used to plot each polygon. This becomes an issue when I ...
user avatar
0 votes
0 answers
31 views

Merging DEM with polygons/lines

I want to connect my DEM (digital elevation model) with the map which was divided into polygons/lines. I am analyzing tsunami events in my project. I have the following documents: one of them contains ...
user avatar
5 votes
2 answers
161 views

Ordering polygons from north to south in QGIS

In QGIS 3.10 I want to order 22 polygons north to south based on their position using their centroids. I have used the centroids tool to determine where their middle is. But now I'm not sure now how ...
user avatar
  • 53
3 votes
1 answer
29 views

Request attribute information from multiple polygons below a point

In QGIS I created a "grid" with points 100 m apart from each other. Below this layer of points there are multiple layers of polygons. Each polygon has a column with values in its attribute ...
user avatar
  • 33
1 vote
1 answer
23 views

Checking surface area of com.vividsolutions.jts.geom.Polygon

I would like to compare the area of a polygon created with some coordinates passed and ensure that it is less than half the sky or a set area. My approach to create the Polygon is as follow: Geometry ...
user avatar
  • 11
1 vote
1 answer
37 views

Leaflet.PolylineOffset Polyline drawing issue

I don't have much experience with Leaflet JS and I'm using Leaflet.PolylineOffset in order to draw a polyline around a polygon: L.polygon(coords, { fillColor: 'white', fillOpacity: 0.5, weight: 20, ...
user avatar
  • 197
0 votes
0 answers
12 views

How to iterate through polygons, create buffer and intersect with point features in ArcMap [closed]

I am new to ArcMap. I have two map layers: Map 1 with more than 500 mini polygons and Map 2 with more than 2000 points. My goal is to extract the points falling within 50km from the border of each ...
user avatar
  • 1
0 votes
0 answers
17 views

Measuring distance avoiding shapefile layer in QGIS [closed]

I want to measure the distance between two polygons (different layers) avoiding another shapefile layer in QGIS. Is there a tool for this?
user avatar
1 vote
2 answers
58 views

Leaflet.PolylineOffset Polyline with offset is drawn on the inside of a polygon

I'm new in Leaflet JS and I'm using Leaflet.PolylineOffset in order to draw a polyline around my polygon: L.polygon(coords, { fillColor: 'red', fillOpacity: 0.5, weight: 20, color: 'red', opacity: 0.5,...
user avatar
  • 197
3 votes
1 answer
65 views

Removing black lines in between shapes in QGIS

In QGIS 3.22.7 I have a large dataset consisting of small square geometries (for reproducibility, a sample of this data can be downloaded from here; the total file size is 9 KB for all of them). When ...
user avatar
1 vote
1 answer
51 views

Distance between polygons and points in GeoPandas

I have a main polygon of polygons that have areas mapped out on a map and a bunch of points such as sample below NAME lt ln 1 12.9336806 77.6122669 2 12.974768 77.767745 ...
user avatar
  • 95
1 vote
1 answer
21 views

QGIS 3.22.8 Raster sampling with polygons

This is a DEM of a slope. I have made a polygon grid 10X10. I can't find a command to sample the raster by polygons. I've thought something similar with r.neighbours picking the minimum value of the ...
user avatar
  • 677
0 votes
0 answers
33 views

Looking for QGIS equivalent of ArcGIS tool for buffering without polygons overlapping regions of neighboring boundaries

Is there a way to create buffers around a group of polygons (vector file) in QGIS where the overlapping buffer parts are not in the result? Please see picture example: I've seen a question asked ...
user avatar
  • 1,420
0 votes
0 answers
14 views

Bringing in another layer in the Geometry Expression coding

Im looking to create a output triangle using the Geometry by expression tool. I have two layers, layer 1 is a viewpoint and central location and layer two is a collection of locations. I want make a ...
user avatar
  • 33
0 votes
0 answers
17 views

There's any way to export data from Access to polygons without having UniqueIDs?

I have polygons. I would need to have more information on them. I have that information in an Access database. But I don't have any identifier to serve as a reference. When I do a CSV import, it doesn'...
user avatar
  • 13
0 votes
0 answers
17 views

Multiple hatched fills in polygon layer (ArcGIS Pro)

The problem I am facing is, that the "historical" map has different pipes in terms of orientation as well as separation and I need to digitize them: The historical map contains several pipe ...
user avatar
  • 67
1 vote
1 answer
42 views

Exporting data from points to a polygon

I'm new on GIS. We were migrating from an old map program to QGIS. My problem is that I need to have Polygons with data. And I have the information that I need in the polygons in "entities" ...
user avatar
  • 13
0 votes
0 answers
35 views

Split polylines at each polygon boundaries in QGIS [duplicate]

How to split polylines at each polygon boundary in QGIS ?
user avatar
1 vote
1 answer
39 views

Leaflet js add polygon with offset around another polygon

I am pretty new in working with Leaflet js and I have a polygon var coords = layer.getLatLngs(); L.polygon(coords, { fillColor: 'red', fillOpacity: 0.5, weight: 20, color: 'red', opacity: 0.5, fill: ...
user avatar
  • 197
1 vote
2 answers
81 views

Same symbology and color for all attributes of layer in QGIS

In QGIS 3.22.0 (Bialowieza) I have a polygon layer with different attributes. I'm making a categorized map for each attribute in my table. For that I'm duplicating and renaming my layer corresponding ...
user avatar
  • 563
1 vote
1 answer
49 views

Map View in R: Labelling Name for Polygon in Map

I have created following choropleth map for cropland. The code I used is:- library(mapview) library(dplyr) library(sf) setwd("C:/Users/lenovo/Desktop/IEM") Province3Miscellaneous<-...
user avatar
  • 133
1 vote
1 answer
29 views

Subtracting area of a specific set of raster values from polygon area using QGIS

I am currently working with parcel data and a raster slope analysis in % change I created with DEM data. I symbolized the slope analysis discrete 0-2.5%, 2.5-5%, 5-7%, 7-12%, 12+% and overlayed it ...
user avatar
2 votes
1 answer
32 views

Dividing a square into smaller squares by using their shapes rather than their bounding boxes in R

I want to divide a square into 25 smaller squares. The square layer has a UTM coordinate system, so when plotted, it doesn't have flat bottoms and tops. When I try st_make_grid() function to overlay a ...
user avatar
  • 55
0 votes
1 answer
25 views

Merging adjacent polygons with aggregated sum beeing inside a certain range

The data I have a polygon layer with polygons (download the data here) of different sizes as can be seen on the screenshot. Each polygon contains a value for the attribute called count. The range of ...
user avatar
  • 41.1k
2 votes
0 answers
45 views

Raster values ​changed after clipping with polygon [closed]

The procedure went well. Image 1 represents the raster (Chelsa) of annual mean temperature (bio1). I clipped it using a shapefile of country boundaries and the resulting image is image 2. As you can ...
user avatar
0 votes
1 answer
20 views

Counting total number of points within polygon (Buffer) layer using ArcGIS Pro

I'm trying to count the total number of points contained within a polygon layer. I have a series of buffer layers, each getting progressively larger and encompassing more points. I have used the "...
user avatar
  • 1
0 votes
1 answer
27 views

Clipping a raster converted to a polygon with a polygon [closed]

I have a task to figure out how many agricultural areas are located in a defined altitude. The agricultural areas were a polygon, while the altitude/DMNV was a raster. I converted it to a polygon and ...
user avatar
  • 9
6 votes
2 answers
166 views

Creating graduated classes for election swing map in QGIS

I am using QGIS right now to create an election swing map. This is different from a usual election map in that it measures differences in winning margins from one election to another. For example, Joe ...
user avatar
0 votes
2 answers
31 views

Polygon cordinates to array

I have an array of Polygons where each object looks like this {'type': 'Polygon', 'coordinates': (((-98.03706782884247, 44.72279408402323), (-98.03706782884247, 44.71524098343729), (-98.02951472825653,...
user avatar
0 votes
1 answer
36 views

Clipping features in a polygon from another feature in the same layer

I have a polygon layer with a number of features which overlap (in my case this wildfires in an area over time). I would like to clip the underlying features so there is no overlap. To elaborate I ...
user avatar
1 vote
0 answers
22 views

How to modify the coordinates of polygon by GDAL?

I'm used the GDAL to modify the coordinates of polygons. I have referenced the C++ and Python versions of the code and modified them in Java: String ShpPath="G:\\GeoData\\New_Shapefile.shp&...
user avatar
  • 21
2 votes
1 answer
48 views

Generate random polygons within another polygon using shapely in python

I have a use case where given a polygon on the US map, I need to generate n rectangles within the polygon defined on the US map. I have been trying stuff with shapely, but stuck. So the code would ...
user avatar
0 votes
0 answers
15 views

How to identify narrow/cutbacks/spike for lots of polygon

I'm working on vector data and want to detect/identify a polygon called narrow/spike like the attached image. Is it possible to use open source software? It can't be done using integrated in ArcGIS.
user avatar
2 votes
1 answer
38 views

Iterating over each pair of coordinates in Multipart geometry using Shapely

This question is related to Access each (x, y) within Multipart gdf.geometry.interiors. With a MultiPart geometry.interiors: from shapely.geometry import Polygon exterior = [(2, 8), (7, 8), (7, 3), (...
user avatar
  • 123
6 votes
1 answer
92 views

Representing difference between polygons only with Symbology in QGIS

In QGIS 3.22 I am trying to visually represent a difference between polygons after its change. In the end I want to know where the polygon was enlarged (#72ff85) and where it was degraded (#ff7272). ...
user avatar
  • 1
0 votes
0 answers
25 views

QGIS 3.24 - how to export points as arc or polygon

I have a GPS coordinate file that defines points (locations.) I have a second application that is limited in that it can only show arc or polygon shapefiles. This application can't process a point ...
user avatar
  • 1
4 votes
2 answers
308 views

Why do single-part WKT polygon vertices require double parentheses?

Regarding the WKT standard: Wikipedia: Well-known text representation of geometry Why do single-part polygon vertices require double parentheses? That seems inconsistent with single-part points and ...
user avatar
  • 808
5 votes
2 answers
141 views

Flipping polygon around arbitrary axis in QGIS

I want to flip a vector polygon about an arbitrary axis. What I would like to do is select the polygon to flip, pick two points (A & B in image below) identifying the axis about which the flip ...
user avatar
  • 2,041
0 votes
0 answers
37 views

Error of polygon

How to find errors in polygons, such as likely gaps but not, but can't use the topology tool at ArcGIS, because the error results are not the error I want to find. So one polygon should overlap with ...
user avatar
1 vote
0 answers
51 views

Merging vector tile polygons for perimeter labelling in QGIS

I'm working on recreating a base map style inspired from Mapbox Outdoors in QGIS. For this, I am using the Mapbox Terrain vector tileset as a Vector Tileset in QGIS. I can style features and add some ...
user avatar
0 votes
1 answer
18 views

gBuffer filling polygon holes

I am working on a large polygon containing multiple polygons, which requires me to set a buffer in order to perform other analyses. I used R to do the buffer, for example, a -> gBuffer(b, byid = T, ...
user avatar
0 votes
0 answers
23 views

MySQL - Filter a table based based on location / distance - ST_Distance

I have table with Polygon geometries. I'd like to filter the table to include rows that are at a certain distance from a Point coordinate. Here's a fiddle link for table schema, data etc. https://...
user avatar
  • 345
3 votes
1 answer
89 views

Highlight polygons using comma delimited text coordinates QGIS

I am new to GIS. I have significant CAD experience and some limited Python knowledge, and am generally familiar with basic QGIS functions. In short, I will have several CSV files containing co-...
user avatar
2 votes
2 answers
113 views

Expression for extracting specific parts/geometries from dataset in QGIS

Solution below worked for a small subset with a filesize <<1 gb, for larger file sizes another solution would be needed I'm trying to formulate an expression which extracts specific parts/...
user avatar
1 vote
0 answers
23 views

Spatial clustering with areas in QGIS or Python

I am working in QGIS with shapefiles containing several polygon features with various areas. I would like to cluster neighbor polygons in a way that results in clusters of approximately the same total ...
user avatar
  • 236

1
2 3 4 5
81