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.

4
votes
1answer
92 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
15 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
16 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
96 views

Finding Square Polygons using ArcGIS Desktop? [on hold]

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 ...
-1
votes
0answers
22 views

Raster to Polygon and Dissolve (Aggregate) Not Working in R [on hold]

I've asked a couple questions about this before (i.e. Project Raster in R not Producing Same Output) and I'm still trying to find the most efficient and effective way to go about my code. I have ...
2
votes
0answers
14 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
44 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
15 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
24 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: ...
0
votes
0answers
14 views

How to read geometry data type from MySQL database using PHP

I have a table in MySQL that stores polygons. I can read this back on the command line using the following query: mysql> SELECT polygonid, AsText(thepolygon) FROM polygons; +-----------+----------...
2
votes
0answers
28 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
31 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
33 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
51 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
25 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 ...
4
votes
1answer
124 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
23 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
10 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
35 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
25 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
24 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
24 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
35 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
41 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 ...
0
votes
0answers
41 views

Is Automated GIS processes in a server possible?

Is it possible to use QGIS in a server running for 24/7? Here is a scenario: An API request message is received from our server, with a pick up and drop off locations in coordinates. After that I ...
1
vote
0answers
42 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
24 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
238 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
50 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.
0
votes
0answers
13 views

How to create multiple independent polygons in Google Maps through Python only?

I have to plot multiple independent polygons in google maps from a different set of lat & long? I have tried with gmaps gmap3 = gmplot.GoogleMapPlotter(lat,long,13,apikey='') gmap3.polygon(lat1, ...
1
vote
1answer
43 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
36 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
64 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
21 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
17 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
10 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
17 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
23 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
40 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
26 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
48 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
32 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.) ...
0
votes
0answers
21 views

Filling polygon holes using PostGIS? [duplicate]

I have a polygon that I need to fill in the "holes" that are less than X meters squared in area. I can find the area of a polygon, but is there a way to find the areas of the "holes" and if they are ...
0
votes
1answer
36 views

Digitizing polygons by cut or split feature tool in QGIS

For saving digitizing time i created one polygon feature cover all satellite imagery (study area) and styled it outline, tried many tools inside qgis 2.18 to split / cut polygon features (i don't mean ...
1
vote
1answer
25 views

Clipped raster not retained when saved

I have clipped a raster to exact polygon outline using image analysis (ArcMap 10). The resulting temporary clip layer is exactly how I want it to be. However, when I export/save the temporary clip ...
0
votes
0answers
36 views

QGIS “Sum Line Lengths” return 'nan.'

I have a polygon shapefile and a (merged) line shapefile (both are zipped). When I use Vector -> Analysis Tools -> Sum Line Lengths on these shapefiles, I get a layer with some of the LENGTHS filled ...
0
votes
0answers
23 views

Spatial imputation for missing values in multiple variables in shapefile in r

I currently have a shapefile with approximately 20 numeric variables. Several of these variables have missing values. As this is a shapefile I do not think using the median or mean as a form of ...
0
votes
1answer
37 views

Filling polygon with png pattern in OpenLayers?

I want to fill a set of polygons with png pattern. Here is an extract of my code : var canvas = document.createElement('canvas'); var context = canvas.getContext('2d'); var pattern; var imageObj ...
3
votes
1answer
42 views

Clipping polygon layer to another polygon layer based on matching attributes using QGIS?

Working in QGIS, I have two polygon layers: Building Footprint Polygon Layer Parcel Polygon Layer These two layers have a matching field in the attributes known as "Parcel Number". I would like to ...