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
1answer
16 views

Clipping a polygon based on feature from overlapping polygon QGIS

I am working in QGIS I have two overlapping polygon layers: A species distribution polygon named species_dist A bathymetry polygon named depth The bathymetry polygon attribute table has a depth ...
1
vote
0answers
17 views

Compute forest loss for polygons in Google Earth Engine

My query is in two parts: Part 1: I am trying to calculate forest loss per polygon. I uploaded coordinate points to GEE and then I drew a polygon around the points. I created a buffer of 250m to the ...
0
votes
1answer
24 views

Breaking down vector by line segments using ArcMap

A few colleagues and I are trying to break down a vectorized road network that is all connected (as if it is one polygon) and we are trying to break it down into multiple segments based off of a line ...
1
vote
0answers
31 views

How to automaticaly draw polygons inside polygon?

I would like to know if it is possible to automatically draw polygons patterns in a polygon. With more details I would like to go from this : To this : The large rectangles are 6.90m*31.05m and can ...
1
vote
0answers
25 views

Making a polygon from list of xy coordinates using Shapely

I am new to Python (moving over from Matlab) and am trying check if a set of points are inside a polygon using Shapely as I am not able to install GeoPandas (tried for over a week now and am tired of ...
1
vote
0answers
21 views

How to create a heatmap from overlapping polygons using ArcGIS Server JavaScript API?

Using the ArcGIS Server JavaScript API version 4.18, how can I visually highlight areas with high concentrations of overlapping polygons, such as these historical cyclone tracks? In addition I need ...
1
vote
0answers
36 views

Merging one polygon that is entirely contained in another polygon in R

I am working with subcounty division polygons obtained with the tigris package in R. Some of the county subdivisions polygons are entirely contained within another polygon. For an example of this, we ...
4
votes
2answers
135 views

Calculating distance between points only within same polygon in QGIS

I am using QGIS 3.10 and have shapefile that contains multiple polygons (1615 polygons to be precise). In order to calculate the "compactness" of the shape of each polygon I want to ...
0
votes
0answers
36 views

Feature to polygon tool not recognizing closed contour lines

I am using the Feature to Polygon data management tool in ArcMap (v.10.7.1) to convert contour lines (above 1200m) to polygons. The contour lines are closed (beyond the extent of the picture which is ...
0
votes
2answers
32 views

Placing a predefined polygon at a specific lat+long

Been a while since I played with arcpy. I have a couple of hundred shapes to add to a FeatureClass. I'm trying to find a way to "predefine" a polygon, like a square of 10m by 20m, and then &...
1
vote
1answer
33 views

How do I offset a point created at the midpoint of a line in QGIS?

I am trying to accomplish something similar to this question, but in QGIS. I am trying to create line segments from a polygon, while preserving on which side of the line, the polygon 'interior' is. My ...
0
votes
0answers
19 views

Points of LinearRing do not form a closed linestring issue for a closed polygon [closed]

I can't generate the Minimum Bounding Circle for this polygon: As you see, it is closed. Why I can't generate the circle? This is the SQL sentence: with figure as( SELECT ST_GeomFromText('POLYGON((0....
2
votes
2answers
51 views

Creating smallest-circle covering polygon using R with sf

How can I create the smallest-possible circle which covers a polygon geometry using the sf (preferred) or sp packages in R? One reprex using GADM data: # Load packages library(sf) # Load Nigeria ...
0
votes
0answers
28 views

How to “join” or “merge” two polygons in QGIS and fix “overlapping” points (green X)

I'm trying to digitize polygons from a map and I now decided to "join" two polygons that were separated originally. Here is a picture showing a polygon with the line which separates the two ...
1
vote
1answer
35 views

Problem when running the Clip Raster by Mask Layer - Layers were not correctly generated

I need help, this is for my Final Year Project. Yesterday before I did something on my QGIS, I can run the mask layer but suddenly after I followed a tutorial on youtube on how to do 3D Map, I cannot ...
0
votes
1answer
24 views

Convert Mapinfo files into KML files, to check if coordinates are inside a polygon

Sorry for my absolute ignorance, I have 1 day of experience in GIS systems (I'm just a Java developer). Our client did provide us a compressed file with huge .TAB, .MAP, .ID, and .MAP files, and wants ...
2
votes
2answers
56 views

Merging small polygons into larger adjacent polygons using QGIS

I wish to select just the small green polygons (see image) and merge these with the pink polygon. However, I wish to leave the large green polygons that are over 1km2. However, all the green is one ...
0
votes
0answers
18 views

Converting a classification raster to a polygon, in order to calculate the area of each land use

I have 6 land use categories. ultimately I would like to calculate the area of all of the classification categories in my layer e.g. the area of the deforestation, or the area of primary forest. I am ...
2
votes
0answers
34 views

Finding boundary between two different groups of points

I have a dataset with premises and their location in lat/lon points. Not all the premises are the same. Some premises are offices and other premises are houses. I am trying to find the best way to ...
0
votes
2answers
39 views

How to calculate the average polygon shape in R (adehabitatHR)?

I have a code that generates polygons from a MCMC model. For each iteration in the model, I get a polygon of the 95% credible interval for the area. The idea here is that if I generate 10 polygons, I'...
0
votes
0answers
27 views

Drawing a square manually using coordinates

I've load points coordinates from a .csv file on QGIS. These points are the intersection of a regular grid. I would like to select manually four point of this .csv file to draw a square polygon. Also,...
1
vote
0answers
24 views

How can I edit an existing thematic shapefile composed of contiguous polygons in QGIS

I cannot edit an existing thematic shapefile layer composed entirely of contiguous polygons. I created the layer many years ago using ArcGIS Desktop; the themes represent the depth of water in a ...
1
vote
0answers
41 views

Concave Hull with points that have to always intersect

I use Concave Hull(Alpha shapes) tool in my set of points in QGIS, it works fine, but I want add some extra points in the beginning, which line of Concave Hull always intersect them. In this image, ...
1
vote
1answer
35 views

How to merge polygons from two different features without creating a hole in QGIS?

How is it possible to merge the yellow polygon with the blue polygon without creating a hole and keeping the big yellow polygon intact. Each time I try to delete the small yellow polygon, the whole ...
0
votes
0answers
15 views

Adjusting polygons layers's boundaries in PostGIS [duplicate]

The case is quite typical. I’ve to compare two (multi-)polygons layers of administrative regions, with l2 being lower level (let’s say municipalities – 2811 records) than l1 (let’s say provinces – 785 ...
2
votes
1answer
38 views

Shapely strange splits when splitting LineString and Polygon

I noticed a strange behavior while splitting a LineString with e Polygon: in the below image I have a Polygon (in green) and two lines. If I split the blue Linestring with the polygon the result of ...
2
votes
1answer
27 views

How to read .csv polygon data with sf?

I am trying to read a .csv file where each row contains information about a polygon. The polygon geometry information is stored in a shape column such as 'longitude latitude altitude accuracy; ...'. ...
0
votes
0answers
50 views

Accuracy problems with 'Feature To Polygon' in ArcGIS 10.7?

I have a question regarding the accuracy of Feature to Polygon in ArcGIS 10.7. My data is available here. I have a glacier shapefile and a polyline. I want to split the glacier using the line feature ...
2
votes
1answer
16 views

How to change placement for label of a polygon in mapserver with SLD

I want to change the placement of the label of special polygon by sending SLD to WMS of Mapserver. But it seems as it has no effect. Is label placement in polygons support by mapserver? <...
1
vote
0answers
16 views

How to create your own CRS using sf package in R

I am trying to map basketball shots using the sf package in R to create interactive maps for players and coaches. I have managed to create a basketball court as a spatial object using Todd Schneider's ...
-1
votes
0answers
15 views

Finding areas for each polygon in multipolygon layer - CRS issues - QGIS [duplicate]

I have a layer of townlands - this is Ireland - so within that polygon layer are the various smaller townland polygons. I wished to calculate the area of each townland into an attribute I had created, ...
1
vote
2answers
33 views

Detecting if a point is inside a polygon with Python 3 and OGR

I am working in Python 3.7 using ogr to check if a point is inside a polygon. Here I put the code. The result in geom is not compatible with the tuple list data type used by the point_inside function. ...
0
votes
0answers
24 views

I can't edit a certain polygon

I'm relatively new to QGIS, only started using it a couple months ago and I'm not really experienced with much of anything. I'm currently editing the natural earth world map to be more accurate to ...
2
votes
1answer
137 views

How to create space buffer between touching boundary polygon

I have some polygons that share common boundary. I want to create some small space buffer between it, so no polygon has shared the same boundary. Is there any way to do it instead of manual adjust the ...
1
vote
1answer
97 views

Select several polygons with the same identifier in GeoJSON layer

I have a map application where: I load polygons as GeoJSON objects I draw all polygons in a single layer I highlight a polygon on mouse hover from a identifier list Some polygons have the same ...
0
votes
0answers
39 views

Numbering polygon vertices from north to south clockwise

How can I number vertices from north to south clockwise using geometry generator in Layer Styling symbology? I was able to number the polygons - as can you can see in the image bellow - but not to ...
1
vote
0answers
40 views

How to download buildings data from OSM with a polygon (shapefile) as the bounding box?

I am struggling to complete this task. I am trying OSMnx which can be used to download data from OSM above however I am getting an error when using its from_polygon feature when trying to download ...
0
votes
0answers
18 views

Why are the new vertex editing protocols not working properly in QGIS 3.16?

I am using QGIS 3.16 to create new shapefiles from existing raster maps (p 225 in the 3.16 User Guide). My new polygons work OK when incorporated into other projects, but I cannot edit them to correct ...
1
vote
1answer
33 views

Problems with cleaning the topology of a shapefile using GRASS tools and snapping tools

I have a shapefile with almost 1000 polygons (each polygon representing a farm). There are a lot of topological errors (gaps/slivers and overlaps between polygons). Below is a "zoomed in" ...
1
vote
1answer
49 views

Zonal statistic that fits area portion of polygons using ArcMap

As you can see below, I have a polygon feature with boundary of seven regions. I need to extract the raster value intersect to it that fit portion of every region area touches to the pixel. For ...
0
votes
0answers
16 views

Plotting polygon on map with length of sides known and lat lng known only for two vertices and no angles known

I have an image(a polygon), generated by survey department from a field survey. I know the lat lng of two vertices and the length of all sides.I do not know the size of the angles.(Using a protractor ...
2
votes
2answers
46 views

Showing only outer boundaries of polygons / features in QGIS

I started with the Natural earth admin 0 - Countries vector layer. Based on this, I created a new layer (using the 'Collect Geometries' tool) that only contains 26 features, representing major world ...
0
votes
0answers
17 views

Program to generate 3D polygon slope

What I am trying to do is create, or find an open source program that can generate a 3D shapefile based off of a line that has a predetermined slope and distance. For example. I draw a line at the ...
1
vote
1answer
20 views

Obtain percentage of overlap with another multipolygon in R

I have two MULTYPOLYGONS, one where a row is a election district*year pair, and the other is a collection of flood events. district.df year ward_ons cycle geometry ...
2
votes
1answer
34 views

Exporting a group of raster layer bounds from QGIS to a GeoJSON

I have a QGIS project with a lot of raster layers; and I want to build a Mapbox map based on this project; that would display those images on a website's map. I need a way to export a group of raster ...
0
votes
1answer
35 views

How to set image as background for a shapefile polygon using QGIS

I would like to change the background of a polygon to an image using QGIS. Under Symbology, there is an option for Raster Fill but the .jpg image is so zoomed in you cannot see it. Is there a way to ...
0
votes
1answer
27 views

Calculating distance between polygons using ArcMap

I am a new user to ArcMap. I have two layers of polygon features and I want to calculate the minimum and mean distance between polygons of one layer and polygons of the other layer. I am guessing that ...
0
votes
0answers
22 views

Creating polygon of difference using ArcMap

I have two polygon layers, each describing the Geomorphic units (GU) within a river channel across two surveys. Using ArcMap (10.7.1), I would like to create a new layer, illustrating the change in ...
1
vote
1answer
35 views

How to create polygon automatically with coordinates [duplicate]

I have some bunch of points in an area and I want to draw connecting lines with the help of points to create a closed polygon. But all these needs manual efforts. Can any one explain to me how to ...
1
vote
2answers
48 views

SQL select features in a polygon

I have the following code which works fine: select vissoort, count(1), ST_Buffer(ST_GeomFromText('POINT(5.341248 51.615590)',4326):: geography, 2500) from visvangsten where st_intersects(...

1
2 3 4 5
69