Questions tagged [borders]

A part that forms the outer edge of something.

Filter by
Sorted by
Tagged with
3 votes
1 answer
57 views

Removing black lines in between shapes in QGIS

In QGIS 3.22.7 I have a large dataset consisting of small square geometries (for reproducibility, a sample of this data can be downloaded from here; the total file size is 9 KB for all of them). When ...
user avatar
0 votes
1 answer
53 views

How to add coastline over a plot of a RasterLayer in R?

I'm working with raster images. I need to add the european coastline over this plot(fdiff_north) in order to get a more usable image`: I got this plot by using these codes: ext <- c(4e+06, 5200000,...
user avatar
0 votes
1 answer
106 views

Calculating distance to a specific boundary of a multipolygon [closed]

I have a dataset of electric charging station coordinates in LA and multipolygons of school district boundaries. I want to calculate the shortest distance between each station within each district and ...
user avatar
  • 13
4 votes
1 answer
115 views

"Duplicate column name" error when calculating length of shared boundaries between multiple polygons using Virtual Layer in QGIS

Similarly to the poster from this question, I am trying to calculate the length of the boundaries between several polygons. I have two types of polygons (1:blue and 2:pink), but I don't think that ...
user avatar
4 votes
1 answer
157 views

Making stroke for neighboring objects with common attribute value in QGIS

All countries have their colors according to different values. And I need to additionally mark with a stroke those countries that are in the YES category. If there are few countries next to each other,...
user avatar
  • 85
0 votes
2 answers
71 views

What tool do I need to visualize world map with straight border while keeping its area and neighboring countries

I am fairly new to data visualization. My goal is: Turning country area into right angled polygon with same area Keeping the neighboring country tangent to its new border Finding the new arrangement ...
user avatar
2 votes
1 answer
142 views

How to automatically align the edges of features to other features from an other fetaure class?

I have two feature classes containing polygons. One (lets call it A) covers the whole area of interest without any gap or overlap. The other (B) has polygons scattered over the area. The features of B ...
user avatar
  • 195
1 vote
0 answers
94 views

Calculating minimum distance between point and border using R

I want to generate the shortest distance between this province's capital to the China border. I want to calculate a minimum distance between a point and a border using R. My code is as follows, but ...
user avatar
3 votes
1 answer
52 views

Length of shared borders between polygons using Virtual Layers

I have a map with many counties, and I estimated the length of the common borders using one of the answers from this question posted a year ago. The properties of my layer look like this: I did the ...
user avatar
  • 33
2 votes
1 answer
147 views

PostGIS align borders of countries

New to PostGIS. I have USA & Canada vector data. The borders have small gaps or overlaps. I want to use PostGIS to align one border to another border. We are free to add or remove vertices. I have ...
user avatar
  • 41
2 votes
1 answer
65 views

Extracting all possible polygons from set of different types of geometrical elements

I have an input, a set of different types of 2D geometrical elements with all its attributes (arcs, circles, lines, polylines, rectangles, polygons..). These elements can be connected end to end, ...
user avatar
1 vote
1 answer
333 views

Seeking detailed Cyprus borders shapefile

I need to to show the Republic of Cyprus, the TRNC, the Buffer Zone and the British Bases. I've looked everywhere and every time it only shows the Republic, which makes sense as it is the UN ...
user avatar
  • 19
3 votes
1 answer
404 views

How to create border around multiple polygons

Spent hours on a search. No luck. I need to create a border around selected adjacent polygons. Concave Hull and Convex Hull don't give the desired results. It seems to be a simple request. The problem ...
user avatar
-1 votes
1 answer
174 views

Shared border between polygons with Geopandas

How could I measure the shared border of a polygon with other polygons in Geopandas? The result could be an n x n matrix of polygons with the longitude of the segment of border they share.
user avatar
3 votes
2 answers
1k 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 ...
user avatar
  • 47
1 vote
0 answers
9 views

Removing Border from Layer List Symbology

When I launched my webapp on our server I noticed these little black boundary boxes appeared around the symbology in my layer list. This is my first webapp deployed using WebAppDev so I'm fairly new ...
user avatar
  • 11
4 votes
2 answers
77 views

Eliminating border in project

My QGIS project consists of two adjacent Canadian NTS map sheets. Each sheet consists of multiple shape files. Each set of shape files has a border. How do I eliminate the border?
user avatar
7 votes
2 answers
344 views

Multicolor inside borders for polygons in QGIS 3

I was reading a report and I came across a figure that I quite liked the look of. I found that the author uses a black border for all of their polygons coupled with inside colored lines which just hug ...
user avatar
0 votes
1 answer
163 views

No margins displayed in Layout view of ArcMap

I have an issue with Layout View in ArcMap. I need the layout view to look like this (note the white margins around the map): At the moment, it looks like this: My version of ArcGIS Desktop is 10.7....
user avatar
1 vote
1 answer
47 views

ArcGIS: Selecting features from a grid layer which are on the edge of another feature by location

I have two layers which come from the same data source. The first one is a vector grid layer which contains 1km x 1km features and looks like this: The second one is the grid layer dissolved into Sub-...
user avatar
  • 161
0 votes
1 answer
35 views

Create outer polygon using raster

How to create the outlet border only while using raster data in ArcMap? I am already using raster to vector converting format but it did not help. Can you tell me or explain about other way?
user avatar
0 votes
1 answer
35 views

Number of Points on the edges (number of districts at country border)

I'm extremely new on QGIS and I have a district map of India which looks like this. I want the data of districts situated on the border. Basically, with each district there will be another column ...
user avatar
0 votes
1 answer
58 views

Generating a graphic for publication: How to change color and border weight of shapefiles in ArcGIS Pro 2.4.0?

I am trying to generating a graphic for publication. I am using ArcGIS Pro 2.4.0, and I am trying to draw a border around experiment plots using a rectangular shape file. As can be seen in the below ...
user avatar
  • 463
7 votes
3 answers
907 views

Calculating length of common boundary lines of two polygon in QGIS

I have a map consisting various district. How can I estimate the length of the common boundary shared by any two corresponding districts/polygons in QGIS? For example if a polygon "A" shares ...
user avatar
6 votes
2 answers
745 views

Polygons from two different shapefiles that share common border in QGIS?

I have two shapefiles, which are village administrative units in this case. Given that these two shapefiles share a common boundary/border is it possible to get the border units (villages) on both ...
user avatar
4 votes
2 answers
449 views

Keeping only internal borders in QGIS

I'm looking for the QGIS equivalent of TopoJSON's mesh function which goes through a vector layer and only keeps borders that are shared between multiple features. Here's an example of the output -- ...
user avatar
  • 151
4 votes
1 answer
436 views

Remove points that are close to a border when building a grid

I want to remove the points that are close to a boarder when building a grid, i am using the sf library from R. library(sf) library(raster) library(ggplot2) shp <- getData('GADM', country = 'aut',...
user avatar
  • 137
8 votes
4 answers
3k views

Designing Borders with QGIS

My task is to reproduce a map of a specific place. The problem are the borders which I can´t reproduce in QGIS. The attached picture shows the line. It looks like a polygon filled with slashes. ...
user avatar
  • 89
2 votes
0 answers
168 views

Wrong values after resizing (resampling) rasters using cv2.resize (Python)

I have two images (aerial photographs): ImageA is 4740x4240 and cell size is 0.1 m ImageB is 1849x1653 and cell size is 0.25 m. I want ImageB with the same size than ImageA. I used the following ...
user avatar
  • 149
2 votes
1 answer
90 views

Removing border that appears in map exported with arcpy.mapping.ExportToPDF?

I am exporting the current mxd map with all the layers that appear but it saves it with a framework around it. How can I get rid of it? It appears as well when I export to other formats. mxd = arcpy....
user avatar
  • 37
1 vote
1 answer
170 views

Calculating total shared boundary between polygons based on their attributes?

I tried to do this over the weekend but had no luck - even after searching this forum. I'm trying to calculate the frontage (length of the property bordering the street) of a number of properties. I'...
user avatar
  • 11
0 votes
0 answers
336 views

Changing the color and near ocean with QGIS

The border of region near ocean looks looks very fat. How can I change color of border lines near ocean to make it thicker? I want to change color and thikness of line only near oceans
user avatar
2 votes
2 answers
880 views

Editing border shape using QGIS?

I add a shapefile of the district in Paris on another shapefile. I would like to match them. See images below: The black border is the original, the blue one is what I want to get. I tried with the ...
user avatar
  • 437
0 votes
0 answers
35 views

Border Legend Same As Map Backgorund

How create legend border same as map background like in the image? I'm just can get the border white like the rest of legend frame. I'm trying in Arcmap and ArcGIS Pro.
user avatar
1 vote
1 answer
308 views

Maintaining Borders when Merging shapefiles?

I am trying to merge two layers of a map which includes the state and county levels. I was able to edit the borders to look how I want, but when I merge them I am struggling to keep the style ...
user avatar
13 votes
2 answers
1k views

Setting dashed stroke style when layers have features with sharing borders in QGIS

Layers like municipalities, countries,... have features sharing the border of their neighbours: they share the same vertices (except for the features at the edges off course). I have a municipality ...
user avatar
  • 395
1 vote
1 answer
82 views

Connect outline gaps at vector shape

Could someone shed some light into a method to link breaking outline borders without much distortion from the original like e.g. convex hull does? Convex hull alternative ideas are of course welcome ...
user avatar
  • 581
0 votes
1 answer
1k views

Preventing Google Earth Engine exporting image with black border?

When I import my image into ArcGIS Desktop I get a black border around the region that didn't exist before in Google Earth Engine (GEE). How can I prevent GEE from doing this when I export an image?
user avatar
4 votes
1 answer
552 views

Drawing border using R in shapefile based on dummy variable?

For an analysis in R I want to create a "new" border from a shapefile. The Shapefile comes with a dummy variable (zone_dummy) indicating the regions laying east and west from the border (see example ...
user avatar
  • 43
0 votes
2 answers
58 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 ...
user avatar
  • 41
2 votes
1 answer
630 views

Finding geometry of cluster from points collection using PostGIS?

I have a regular grid, each point in the grid belongs to some cluster, and I need to find geometry of this clusters. My tables look like so (only necessary fields): grid_nodes( *id uuid, ...
user avatar
8 votes
1 answer
642 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 ...
user avatar
6 votes
3 answers
2k 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 ...
user avatar
0 votes
1 answer
2k views

Seeking border of Canada as GeoJSON from "official" source?

I'm new to GIS. I need to get the border of Canada as a GeoJSON file. I googled and landed at this repo https://github.com/johan/world.geo.json which as a representation that would suit my ...
user avatar
  • 113
2 votes
1 answer
387 views

How can I color code national vs subnational boundaries in QGIS?

I'm trying to make a regional map of West Africa at the subnational level. I can't seem to figure out how to distinguish the subnational and national boundaries - right now, they're all black, and I'd ...
user avatar
  • 21
1 vote
1 answer
665 views

Combine multipolygons in feature collection while keeping boundaries in QGIS

This problem has been driving me absolutely crazy for a week now: I have a map of a lot (1911) of districts. I need to add them all to a map, which is pretty heavy because each one requires a ...
user avatar
  • 133
0 votes
1 answer
355 views

Administrative country boundaries over the years

I am using natural earth's Admin 0 Countries dataset and it works great, but need to plot some data going back to 1962. Any idea how I could handle the national border changes? (In fact, I only need ...
user avatar
  • 109
1 vote
0 answers
174 views

Directions based on polygon centroid and average/median point of adjacent polygon's touching border

I have a layer containing multiple polygons, and I am trying to find a way to identify the directions of the adjacent polygons of a certain polygon. The directions would be based on the main polygon ...
user avatar
  • 892
2 votes
1 answer
69 views

How can one compute the proportion of a country's area that lies within a given distance from the country's border?

A lawyer friend of mine is preparing a legal argument that concerns the border region of Germany: the part of Germany that is within a given distance (e.g., 30 km) of the country's border. He needs ...
user avatar
1 vote
2 answers
2k views

Create line layer around selected polygons

I want to select numerous polygons out of a polygon layer and create an outer line surrounding only selected features. All polygons are part of the same layer. For example, I want to have an outer ...
user avatar
  • 133