Stack Exchange Network

Stack Exchange network consists of 175 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
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [holes]

The tag has no usage guidance.

0
votes
2answers
40 views

How to inverse the orientation of the holes coordinates of a polygon in geopandas

I have a polygon shapefile which I am reading with geopandas. The polygon contains holes. My purpose is to add a random point inside each hole. In order to create the points inside the holes (...
4
votes
2answers
229 views

Creating polygon from hole in QGIS?

I work with this polygon and try to find a way to create a new polygon from the empty gap (not distinguish it) in the middle of the polygon. I succeed to do it with a "difference" tool- but used with ...
0
votes
1answer
185 views

OGR multipolygon with holes model

I'm trying to unpack shapefiles in C# using GDAL-OGR library, but I'm confused about the structure of multipolygon with holes in OGR. As far as I know, the models of shapefiles and OGR geometry (the ...
2
votes
2answers
495 views

How are the coordinates for multipolygons arranged?

How are the coordinates for a multipolygon (i.e. polygon with a hole in it) arranged? Do shapefiles and geoJSON files always save the coordinates for the outer ring first? I'm asking because I ...
-1
votes
1answer
39 views

Drawing polygons with holes on map using vertices exported from QGIS?

I have exported from QGIS, for a feature in a layer, all the vertices (lat and lon) of a polygon, into a file. I'm trying now to draw that polygon using that list of vertices (that I re-read from the ...
4
votes
1answer
153 views

Fix slivers (Holes) between polygons ( generated after removing spikes)

I am trying to fix topological errors in this Shapefile of small areas of a state (Bahia) in Brazil. After applying prepair and PPrepair, the resulting shapefile has some spikes: It looks like a like ...
1
vote
1answer
173 views

Polygon holes/rings are showing up as polygons in QGIS

I am having an issue in both QGIS 2.18.17 and QGIS 3.0.1. It is to do with holes/rings. Where there are meant to be holes/rings, actual polygons are showing, these are effectively coming in as ...
2
votes
1answer
393 views

Filling NA gaps in raster with R?

I have soil data rasters from SoilGrids.org that have some small holes with NA cells (White spaces in the image) that I want to fill using some interpolation method to get a more spatially continuous ...
1
vote
1answer
704 views

sf lines to polygons with holes

With sp package I generate automatically boundaries for different sets of spatial points. I'm trying to perform the same workflow with sf package but i had problems for detecting holes in the way sp ...
4
votes
1answer
690 views

St_delaunaytriangles polygon with holes

I'm using PostGIS to decompose a polygon with a few holes into triangles via st_delaunaytriangles. Unfortunately, it does not return the right result with holes, because the triangles being outputted ...
2
votes
0answers
44 views

Holes between polygons after dissolve [duplicate]

I’ve got a shapefile of Switzerland. Shown Polygons are 6-digit ZipCodes. Whenever I dissolve the file for example by 4-digit ZipCodes, it results in incorrect polygons. Unfortunately some polygons ...
5
votes
2answers
426 views

Fixed Distance Buffer distance not working on polygons with holes [duplicate]

I am trying to implement this solution (How to merge single polygons to multi part polygons by maximum distances?), but when I create a buffer around my polygons, those with holes are ignored. I tried ...
1
vote
1answer
748 views

OpenLayers 3: Digitizing holes (donut polygons)

I am working on an OpenLayers 3 digitizing tool, which works very fine at this point. I would like to add a functionality that lets me add holes to existing polygons. I know this is doable in ...
0
votes
1answer
1k views

Unique SpatialPolygons object with multiple polygons slots in R

I'm trying to create an interactive Shiny application based off of this example provided by user G. Cocca. In this example, you click on a polygon and a second window zooms you into that polygon with ...