Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
2answers
53 views

Converting trajectory to outer edges polygon

Using PostGIS, I'm trying to solve the following problem: I have trajectory data (coordinates from API query), like on this image: and want to convert it into polygon, having only outer edges:
0
votes
1answer
38 views

Rearrange plotorder of SpatialPolygonsDataframe

I have a SpatialPolygonDataframe (loaded with readOGR) I want to plot in either tmap or leaflet. A lot of the polygons are overlapping, and the smaller polygons are completely covered by larger ...
0
votes
1answer
56 views

Plot areas by class in a polygon with Google Earth Engine

I would like to plot the number of pixels or the area for each class contained in a polygon (shape of a country). I have found the ui.Chart.image.byClass function but I don't understand how to use it ...
-1
votes
1answer
27 views

Exclude specific GeoJSON data by polygon [closed]

Given geospatial data as GeoJSON, how can I filter this data to exclude geometries within a specified polygon? I need this to work in JavaScript. Example: function filter(featureCollection, ...
-1
votes
0answers
14 views

Intersect in poly - only NAs in intersect. Why?

I am trying to intersect a SpatialPolygonsDataframe with a SpatialPointsDataframe. The dataset I want to intersect is quite large which is why I cannot easily make a reproducible code. If anyone could ...
1
vote
3answers
85 views

QGIS: list of coordinates to polygon [duplicate]

In the course of a monitoring exercise for small scale farmers, we captured the coordinates of fields using a GPS tracking in the SurveyCTO app. We used automatic capturing of the coordinates every 5 ...
1
vote
1answer
84 views

How to create a polygon using coordinates?

I am using QGIS V 3.2 and I need to create an area to form a polygon shapefile using a latitude and a longitude, not using python as I am just a beginner. Does anyone know how to do this?
0
votes
1answer
27 views

Polygon not matching world street map in ArcMap

I have a polygon layer that is not matching the World Street map by a few hundred meters in ArcMap. How can I correct this? I have tried projecting the polygon shapefile to WGS 1984 and ...
2
votes
1answer
104 views

How can I enable topological editing in QGIS 3

How can I enable topological editing (create shared nodes on adjacent polygons or intersecting lines) and also activate the option to prevent polygon overlap (that when a new polygon is drawn, its ...
2
votes
1answer
69 views

Un cut features QGIS

I was working on a polygon that I split using the Split features tool. I'd like to put it back into one piece, is there a way to do so?
2
votes
1answer
29 views

Combining information of two layers in one

I'm working on population data by catchment area in Albania. I'd like to know how many people are living inside one precise catchment area and in every catchment area. For example in the first ...
4
votes
1answer
114 views

Symbolizing Isochrones in QGIS

I have generated isochrones for London based on my parameters. However, the isochrones by definition are overlapping polygons. I would like to show the different polygons of the isochrones using ...
0
votes
1answer
18 views

Scaling down lat/lon polygon?

I have a set of (lat,lon) coordinates that compose a polygon. Is there a straightforward method to get an analogous set of coordinates defining a smaller version of the polygon? For example, given ...
1
vote
0answers
21 views

Filtering Polygon Data

Working with QGIs 3.4.1 - Madeira I am trying to perform a simple Filter, but when I include more than 31 values of a given field I get Zero returns. Is there a limit. I am using the following ...
2
votes
1answer
105 views

Finding Square Polygons using ArcGIS Desktop? [closed]

Anyone know of an ArcGIS tool (or trick!) to determine square polygons? This is sort of a - find the geometric shape of a polygon, if all lines of a polygon are equidistant then YES (select) Seems ...
2
votes
0answers
39 views

Extracting polygons from mbtiles

Currently, one can extract features within a bounding box from an mbtiles file using tilelive-copy. However there is no way to extract features within a polygon from an mbtiles file. The mbtiles-...
2
votes
1answer
56 views

mbtiles-extracts does not work with my geojson

I am working with the mbtiles-extracts library: https://github.com/mapbox/mbtiles-extracts. Given an mbtiles file and a geojson, the library extracts mbtiles cutouts of the polygons in the geojson. ...
1
vote
0answers
16 views

Points and polygon with same coordinate system do not line up in ArcMap 10 [duplicate]

1st, I added a shapefile with projected coordinate system SL_grid_99 to Table of contents. 2nd, I added my points (excel file) to the table of contents. I displayed XY data and exported point data as ...
0
votes
1answer
27 views

How do I obtain the distances of each point lying inside or outside buffers from the center of buffers?

My aim is to obtain the shortest distance between all the points overlain on a polygon and the center of buffers also overlain on the same polygon. I have done the following to illustrate this: ...
3
votes
0answers
33 views

Replacing Multiple Polygon Geometry

I am carrying out a piece of work in ArcGIS 10.4.1 that involves realigning polygons to an updated vector map. The polygons in question are planning permission boundaries that are created showing the ...
1
vote
0answers
37 views

How to remove narrow 'notches' in polygons?

I am currently working on a project where i am doing a union on several feature classes. The union normally creates several polygons which share edges/borders. however after running dissolve on the ...
0
votes
1answer
34 views

Identifying polygons in two separate layers with a large (>85%) overlap

I have two separate layers and I want to identify polygons that overlap more than 85%. When I try "Extract by location" tool it gives me the polygons that overlap even in small areas. I am using QGIS ...
3
votes
2answers
62 views

Assigning numbers to grid of polygons using ArcPy?

I would like to number the shown grid of polygons. The numbers should go left to right top to bottom, starting at 1. I'm using ArcGIS Desktop with a Basic license, and would prefer to do this with ...
1
vote
1answer
38 views

Can OGC Simple Feature polygon's interior boundaries share an edge?

Is the polygon pictured below compliant with the OGC Simple Feature standard? There are two interior boundaries that share a segment so intuitively I would say it is not but I have not been able to ...
5
votes
1answer
173 views

Only union/dissolve intersecting features to save time?

I have one table of about 300k polygons, some intersecting but most do not. I need to dissolve the intersecting ones and also keep the non-intersecting ones. I only need the geometries, no attributes. ...
0
votes
0answers
44 views

OGR - List of polygons contained in a polygon

I have two groups of polygons A and B. I wish from the group polygon B to single out all the polygons that are contained in the polygon A. For example: Based on the example I want to isolate all ...
0
votes
0answers
47 views

Failed to create signature file in Training Sample Manager - ArcGIS

I get this error when trying to convert training polygons into a signature file. Is there another way to get a signature file from polygons shapefile or training polygons?
0
votes
1answer
85 views

Geopandas - Import CSV: make polygons from X,Y Coordinates based on ID

I'm working on a script, where I want to import a CSV file with coordinates and an ID which should be used to make a polygon shapefile from those. CSV file looks like this (example): ID, X, Y 10,15....
0
votes
1answer
27 views

Polygonal shapefile: dissolving adjacent ones

I would like to solve a issue related to a land use shapefile. I would like to "merge/dissolve" just the adjacent polygons that have the same attribute. How can I do this using QGIS?
2
votes
1answer
33 views

Calculating nearest distance between polygons according to attribute field in ArcGIS Desktop?

I have a two polygon shapefiles, one shapefile is a zoning and the second one is a census tract. Now I want to calculate distance from boundary of tract to closest boundary of each zone type (R, C, ...
1
vote
1answer
67 views

Calculating area of overlap between two polygons in separate layers using QGIS?

I have 2 layers with 1-1 polygon. The polygons are overlapping. How do I calculate the area of the overlap using QGIS?
2
votes
2answers
43 views

How can I buffer a mulipolygon only on the coastline?

How can I achieve something similar to the below image? (Apologies for the crudely drawn diagram) Either in QGIS or PostGIS. I have a series of station grounds and I want to retain the inner ...
2
votes
2answers
47 views

Get single part polygon by their intersection in PostGIS

I have a table in PostGIS that has polygons overlapping each other. (see below an example of 4 overlapping polygons ) Someone could give me an idea, what PostGIS function I can use that give me ...
1
vote
0answers
45 views

Filling polygon with point in PyQGIS? [closed]

I found what seems to answer my question by @xunilk in this closed post: Filling polygons with points or polygons using PyQGIS? I follow the example of @xunilk with some modifications to adapt to ...
1
vote
1answer
39 views

24412: Not valid because the interior of a polygon with rings (2) and (1) is not connected

I've got geography in sqlserver that is invalid. Running IsValidDetailed() I get the reason as 24412: Not valid because the interior of a polygon with rings (2) and (1) is not connected. But I don'...
0
votes
1answer
248 views

How to exclude one specific polygon from a layer which have like 20 diffirent polygons? [closed]

I have a layer with like 20 polygons which I imported from Google Earth Pro. And what I am trying to do is to exclude (isolate) that one big polygon which is in a way of all other smaller ones so ...
1
vote
1answer
56 views

Dissolve polygons based on number of polygons

How can I dissolve group of polygons into many polygons based on specific number? For example I have 100 points which are beside each other I need to dissolve each nearest 5 polygons into 1.
1
vote
1answer
52 views

Automatic cleaning of polygon overlap based on attribute in QGIS

I have a shapefile with overlapping polygons. I need to clean these overlaps based on an attribute: in case of polygon overlap, the polygon with the lowest value of a given attribute needs to be ...
1
vote
2answers
38 views

Polygons from different layers

How to create a map with polygons from all the different layers? I'm using ArcGIS Pro and it does not have Overlay analysis tool.
1
vote
2answers
81 views

Getting a masked raster with no NAs and sum pixels within overlaying polygon?

I have done an IDW interpolation in R for precipitation data following the routine of Manny Gimond (https://mgimond.github.io/Spatial/interpolation-in-r.html) to get precipitation inside a catchment. ...
0
votes
0answers
23 views

Dividing soil map into polygons based on grouping of 'values' from number of different layers using ArcGIS Desktop? [duplicate]

The main aim here is to develop soil profiles with a unique set of values for different parameters such as Field Capacity, Wilting Point, etc. For eg. if a particular location has a cluster of same/...
1
vote
0answers
31 views

SumLineLengths in QGIS 3.2 not working?

I'm trying to use the Vector > Analysis Tools > Sum Line Lengths in QGIS version 3.2.3-Bonn. I'm inputting a ploygon (Multi Polygon) and a Lines (MultiLineString) shape files. I'm hoping to get the ...
0
votes
0answers
18 views

KML: Making all points on a polygon relative to ground by same amount?

I need to generate large polygons that are all on the same plane but are all some relative distance from the ground. I need to do this without knowing what the absolute altitude is. So imagine I am ...
2
votes
0answers
21 views

Creating a continuous raster road network using Polygon to Raster in ArcGIS Pro?

I have a polygon forest road network that I would like to turn into a raster. I have attempted to use the ArcGIS Polygon to Raster tool, but whenever the majority of a cell falls outside of the ...
0
votes
0answers
38 views

New Shapefile (Polygon) Disappearing in Edit Session ArcGIS 10.6.1

I created a shapefile in ArcCatalog and assigned it its coordinate system as I always do. I selected "polygon" as the type. I added a generic topographic basemap to ArcMap. Upon editing the new ...
0
votes
0answers
40 views

Data Source (s) for names and polygon shapes for the world [duplicate]

I am looking to find out where I can ideally get every country, district, city, town, postcode in the form of polygons. Is there a central place for this? What are the licences for using the data?
1
vote
1answer
59 views

Count points in polygon (weighted) for multiple attributes in QGIS 3 in one go

Is there a way to count weighted points inside polygons for multiple attributes at one time? I can count weight points (below) for an individual attribute, which creates a new polygon layer with an ...
0
votes
0answers
29 views

How do I import a polygon in this format to QGIS: POLYGON((x y, x y, x y…)) [duplicate]

I have a sheet with polygons written in a column as the title shows: POLYGON((x y, x y, x y, x y)) or MULITPOLYGON(((x y, x y, x y)),((x y, x y, x y, x y))) I'm not sure how to visualize these in ...
2
votes
1answer
74 views

Calculate polygon main dircetion and create line from it - POSTGIS

I would like to find out the orientation of a polygon and create a line of that direction. See image below.
0
votes
1answer
38 views

Unable to resize polygons/lines imported from Google Earth PRO Using KML Tools

I imported all my files from Google Earth Pro into QGIS and I need to resize some of the polygons (after agricultural job is done, some of fields get bigger or smaller; from corn we go to soy etc.) ...