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.

0
votes
2answers
81 views

Remove all polygons except the main one from GeoJSON / Shapefile

I've got the coastline of Canada from OSM. For my work I only need the main landmass without any islands. Despite I was able to manually delete all the islands in JOSM / QGIS I need an automatic ...
0
votes
0answers
23 views

Seeking format to hold attributes for each point/vertex in Polygon?

I need to have a GEO file (GeoJSON, GML) with one or more polygons which represent(s) a parcel of urban property, which have a sequence of coordinates points (long,lat). The problem is that i need to ...
1
vote
1answer
110 views

Convert a linestring into a closed polygon when the points are not in order

How can I convert an open linestring into a closed polygon, but when the points are not in order? Here is the easy case, when the points are in order (from an sf vignette): library(sf) #> Linking ...
0
votes
1answer
48 views

Generating a table of distances between points and edges of nearest polygons?

I have two shapefiles, one of made up of country borders and one made up of points randomly dotted around an ocean. How do I generate a table of all the distances between the points and the closest ...
4
votes
1answer
107 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 ...
2
votes
2answers
81 views

Programmatically extract edge points from many polygons?

Objective: Extract the four Latitude, Longitude points which correspond to the corner edges of each polygon in the Military Grid Reference System (MGRS) shapefile. How can this be done in QGIS? In ...
0
votes
1answer
36 views

Identifying/exporting adjacent polygons in ArcGIS Desktop?

I have many polygons (US Counties) with agricultural land data in them. I would like to identify and export (ideally into excel) the data from the counties that are adjacent to the ones with ...
1
vote
1answer
43 views

Polygon shapefile doesn't render certain polygons at full extent

This is a snapshot of a polygon in arc catalog, in preview mode. Even when brought into ArcMap, it won't display the polygons that are in the white space until you zoom in to an extent of 50,000 or ...
0
votes
0answers
23 views

Tin Clip (EDIT TIN) not working. segmented. Tin Mostly vanishes from Polygon

This seems like an issue which should be easy to fix. Although I cant find out how to. I am creating a TIN of water surface height from polylines (which works) as you can see. Longer lines are to ...
0
votes
2answers
31 views

Counting kilometers/lines with ArcGIS

I am trying to get a measure of border intensity of different regions in Europe. Having a relevant shapefile of European countries at the regional level (NUTS2) as well several ones by century for a ...
0
votes
0answers
45 views

Attributing height data from points to Polylines for Tin creation?

I have to make a TIN of water surface height from about 170 points which have been collected from RTK along a river. The points however are few and far between and rarely on the opposite banks to ...
0
votes
1answer
260 views

Calculate sum of line lengths in R

I have object1 with polygons and object2 with lines. I am looking for a way in R (preferably with the package sf) to calculate the sum of line lengths from object2 for each polygon in object1. The ...
5
votes
2answers
355 views

Creating flat end buffer using geometry generator in QGIS?

I'm new to GIS software and I've been introduced to QGIS 2.18 as part of my internship. I was tasked with creating new styles for the company's maps, however I've encountered a problem with one of ...
1
vote
1answer
76 views

Generate tiles from leaflet polygons

I have a set of shapes drawn in Leaflet (using Leaflet.draw). I need to rasterize these into a tileset and export it because I need to use the images elsewhere. My initial idea was to go through ...
3
votes
1answer
141 views

Subset SpatialPolygon using Raster in R

I have a polygon and raster with the same extent: library(rgdal) library(raster) library(rgeos) library(sp) # make the polygons df <- structure(list(LAT = c(35.61226, 35.34986, 35.17794, 34....
1
vote
1answer
314 views

Calculating length of polygon in ArcGIS Desktop?

I am using ArcGIS 10.2.1 Desktop with an Advanced license. My company has electric lines that go through people's yards. The areas around these lines require trimming occasionally, which necessitates ...
0
votes
0answers
60 views

Modify polygons so that they don't overlap and area stays the same

I have a set of polygons and they can overlap with each other, like this: I want to modify them in such a way that they don't overlap and the resulting surface area stays the same. Something like ...
0
votes
1answer
58 views

Raster with wrong extents when using Polygon to Raster

I am trying to use the "Polygon to Raster" tool on a building extents polygon file to create a raster with the exact extents and cell size as an existing flood depth raster. Even though I have added ...
0
votes
0answers
52 views

How to edit fusion table polygons in map display

I want to use the map display tools to adjust an imported polygon that I have uploaded to GEE as a fusion table (using shpescape). I want to adjust the vertices of this polygon just like I could use ...
0
votes
0answers
47 views

Store Huge Polygonized Raster Files

I have the following requirement, currently I have 100 Raster files with precipitation data for each week represented in 52 layers. I have to load these Raster files in a system that can only work ...
0
votes
1answer
42 views

Grouping points into polygons ArcGIS

I am using ArcGIS 10.2.1. I have a set of clustering points. I am trying to create a zone for these points. Is there a tool or script to group the points in an area and convert them to a polygon? I ...
0
votes
0answers
9 views

Polygon to raster, prioritize “value field” whit overlapping polygons

I have a feature (polygon) layer with multiple overlapping polygons that i want to convert to a raster layer. Where polygons are overlapping with different values in the chosen "value field" i want to ...
8
votes
1answer
256 views

Labeling polygons along their boundaries using QGIS?

When labeling polygons (not polylines!) in QGIS, is it possible to label them along their borders rather than their area? I know I could convert polygons to polylines and then label them, but I am ...
0
votes
0answers
36 views

Efficient way for Buffering polygons with a large dataset

I use artificial grid cells (Polygons) for Sub-Saharan Africa to do a sub-national study. I have many variables assigned to each grid cell. Now, I need to include information (development aid programs)...
1
vote
1answer
29 views

Only output points near borders, excluding points near coast

I would have liked to ask for help, being confronted to a problem with ArcGis. I have in fact a shapefile of countries and a bunch of points. I would have liked to keep only the points that are ...
0
votes
1answer
143 views

Adding all polygons in GML from MapServer to openlayers using WFS

I want to show the contents from MapServer (returned as GML given below) as WFS layer in OpenLayers map (OpenLayers v5.0.0). The problem is that only one polygon is added to the map. Here is the code ...
1
vote
1answer
71 views

Area difference between polygon layers

I would like to calculate the difference of area between two polygons. I tried using the Difference tool, but all it does is create lines that are different between my two polygons. I also tried the ...
4
votes
2answers
243 views

Is the erratum about polygon point order in GeoJSON correct?

The GeoJSON specification (RFC 7946) states that for polygons: A linear ring MUST follow the right-hand rule with respect to the area it bounds, i.e., exterior rings are counterclockwise, and holes ...
1
vote
2answers
365 views

extract data of polygon shape which intersect with point shape R and create data frame

I want to extract data of a SpatialPolygonsDataFrame li which intersect with the SpatialPointsDataFrame p R and then create a data frame with the coordinates and values of both objects. I tried ...
0
votes
0answers
40 views

Some strange location in H2 DB for GIS Detail?

I see this result from GIS Program using H2 DB: {"l":"2329645\/6611=)4201794+716600","d":1529} How we can interpret this to Long, Lat? this is general or specific parser is need to meaning this?
2
votes
1answer
125 views

Why are These KML Polygons Not Filled With Assigned Colour in Google Earth?

In ArcGIS Desktop 10.2.2 I converted a Feature Class into a KML using "Layer to KML (Conversion)". The polygons in that KML look like this in Google Earth. Why are (most of) the polygons rendering ...
1
vote
1answer
433 views

How to calculate the polygon area and create a column of results in R

I'm working with shapefile in R and I need to calculate the polygons' area that I created by Gdiference function, So ,now I need to create a column with the size of freshly polygons created, because ...
1
vote
1answer
117 views

Converting coordinates in metres to Longitude & Latitude (CRS conversion) in OGC WKT format?

I have two tools that produce output in OGC WKT format. But they look different. Could you please explain this(I am very new to GIS). For my project I want the coordinates in the second format. Is ...
2
votes
1answer
54 views

Find overlay between polygons excluding boundary

I want to find which polygons in a spatialpolygonsdataframe overlay each polygon in another spatialpolygonsdataframe. I have tried to use the function over from the package sp and it works fine... ...
0
votes
3answers
115 views

ArcGIS merge polygons (catchments)

I have a shape with 113 polygons. (partial catchment in hydrometric station sections). Is there any method, in ArcGIS, to overlap and merge polygons from upstream to downstream, in order to results a ...
0
votes
1answer
118 views

Count Polygons in Buffer using ArcMap?

I'm using ArcMap and work with a dataset that contains all the buildings of north rhine-westphalia. This dataset contains different attributes for every object. My task is to count all neighboring ...
4
votes
2answers
54 views

Calculating number of polygons or points that a set of polygons intersect with in ArcGIS

I have a set of ~100 polygons in ArcMap 10.2.2 that were generated using the minimum bounding geometry tool. I have a second set of ~800 polygons generated the same way. What I need to know is for ...
0
votes
0answers
65 views

Draw Polygon according to an external GeoJSON file (on a server)

I'm programming a map with OpenLayers (4.6.5) and I have a GeoJSON file stored on a server and I want to use it. This GeoJSON file represents Polygons. Before I was working with Points and all was ...
0
votes
1answer
93 views

Script to get coordinates of selected polygons (country borders) - in QGIS [closed]

I'm new to qgis, I just need to retrieve from the selected polygons their coordinates list. I want to use python's console with a script. I'm using QGIS v3 This is a sample of my bare attempt to do ...
0
votes
1answer
44 views

Merge points within each polygon

I have multiple polygons that have zero to 4 points (sampling sites with a list of species) in them. I need all the information from these sampling sites ONCE per catchment. So instead of up to 4 ...
1
vote
0answers
183 views

How to create multipoygon in Openlayers 4? [closed]

I want to create a separate layer in Openlayers 4 with multipolygon geometry. I thought, it's enough to know a few coordinates, put it in an array and create the geometry. After reading documentations,...
4
votes
1answer
125 views

Cannot find polygons that are inside a big polygon using GeoPandas

First of all, some info about my system characteristics: Python 2.7 GeoPandas 0.3.0 I am working on a program, where I filter out the data of two shapefiles -link with data- (each shapefile is a ...
0
votes
0answers
39 views

Inserting hyperlink to PDFs for each Polygon using QGIS? [duplicate]

I am currently using QGIS 2.18.16 and would like to know if you can you add a hyperlink to each line in the attribute table, I am wanting to hyperlink to PDF reports for each polygon.
1
vote
2answers
77 views

Connect multipart polygon with lines to one label

I have several one-part and multipart polygons that I want to label. I Set X and Y values to move the label to a certain position and want to connect the label to the polygon using the following ...
0
votes
1answer
36 views

Determining distance between polygons in two shapefiles using ArcGIS Desktop?

I have a parcel shp and a lake shp. How to calculate the distance between the parcel polygon and the lake? I do not want to use the measure ruler tool in ArcGIS Desktop 10.2.
1
vote
1answer
48 views

Polygon layer symbology not displaying correctly in QGIS 3

I have a polygon layer with multiple attributes. I want to display a color ramp for one of those fields (which is a "real" number field calculated using 2 of the other fields). The problem is, when ...
3
votes
1answer
261 views

How do I split polygon in equal parts based on polygon area?

So, I came across this relevant question, but I think my problem is a bit different. I have two tables i.e. polygon poly and points pts in my Postgres db. I am on Windows 10 (x64) based machine and ...
1
vote
0answers
101 views

How to divide irregular polygon into equal areas [duplicate]

I am seeking to divide this 200 acre polygon into 5 polygons of 40 acres. I have yet to find a concrete solution to this task by searching this forum. Is there a pragmatic tool in existence that can ...
0
votes
0answers
137 views

Using UTM (northings and eastings data in feet) in Google Maps?

We have cadastral map coordinates in northings (ft) and eastings (ft) for land in Ghana and would like to convert this to lat/long so we can plot it on Google Earth. We are not familiar at all with ...
1
vote
0answers
44 views

Fill in empty space with polygons

I got a habitat map. The empty area is developed area and I want to fill it with grey color. How can I do that efficiently? I tried to use clip but don't work. I am using ArcMap 10.5.1 standard