As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [borders]

A part that forms the outer edge of something.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Detect in a program if a point is close to a country outline

I have some data for country borders. I am making a small program that need to load a border on demand when a position in the program gets close to a country (which consists of multiple loops of GPS ...
Invariant's user avatar
  • 101
0 votes
0 answers
31 views

Display each contact line for different polygons from same layer with different colours

Any idea on how to display polygons as borders, but keeping both contacting borders, without gaps, and keeping the colours of each polygon? The polygon should have no fill.
Vampi's user avatar
  • 1
2 votes
0 answers
44 views

Calculating length of common boundary with virtual layer in QGIS problem with output

I'm calculating the length of common borders of 10 sets of polygons with the solution posted in this question: https://gis.stackexchange.com/a/360776 In 8 of the 10 datasets everything works fine, but ...
Denise's user avatar
  • 71
0 votes
0 answers
48 views

Discontinuous Lines

For so long, I have been trying to create a map with lines of the width of a single pixel, like the one above. ...But what I end up getting every attempt is what looks like the above map, with cuts ...
Orange2022's user avatar
0 votes
0 answers
44 views

Data sources that can be used to retrieve country from latitude, longitude, and date

I have seen countless questions asking about converting latitude / longitude coordinates into country, state, town, etc., but I found no question which includes a time component. I have tried many ...
N. P.'s user avatar
  • 109
2 votes
1 answer
169 views

How can I merge the borders of two countries within the same shapefile?

I have a shapefile which visualise the countries of EU as polygons. The problem I have is that each country is formed by a fill colour and an outline color. The outline color is key because it ...
Nik Ge's user avatar
  • 23
0 votes
1 answer
93 views

How to force close polygon to overlap/share the border

I am using a shapefile of Brazilian municipalities, so there should be no gap between the polygons. Unfortunately, there are some: It seems to be fine, but a closer look reveal the problem (note the ...
Oalvinegro's user avatar
1 vote
1 answer
251 views

How to associate point to nearest state boundary outside of the state the point is in

I have a point within a state and I want to find 1) the distance to the nearest state border and 2) the bordering state's name. I am able to do 1). For 2). I am able to get the state name ...
bill999's user avatar
  • 125
0 votes
0 answers
284 views

Removing overlaps from buffered line features in ArcGIS Pro

I know this question has been asked already but it seems that there is still no answer to it: My buffered streets shapefiles (which consists of many different segments/objects) overlay where the ...
Radde1683's user avatar
  • 173
0 votes
0 answers
75 views

Clipping and borders don't match in GMT (Generic Mapping Tools)

I try to make a map where a single country is highlighted to stand out from the rest of the map. I use this code that does what I want: AREA=-15/26/0/37r COUNTRY_CODE=MA PROJ=M288p gmt begin test-...
z80crew's user avatar
  • 131
4 votes
1 answer
242 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 ...
s_o_c_account's user avatar
0 votes
1 answer
200 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,...
Fabio Castelli's user avatar
0 votes
1 answer
334 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 ...
samika's user avatar
  • 13
4 votes
1 answer
262 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 ...
Rosalie Bruel's user avatar
7 votes
2 answers
1k views

Higher resolution of country borders

I have been looking and looking for a long while, but I was unable to find any freely available datasets for country borders with resolution higher than 1:1000000. I found this strange as I thought ...
David Kan's user avatar
4 votes
1 answer
227 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,...
Jonny's user avatar
  • 105
0 votes
2 answers
101 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 ...
Wangcincay's user avatar
3 votes
1 answer
677 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 ...
588chm's user avatar
  • 541
1 vote
0 answers
361 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 ...
Jou Fei Huang's user avatar
3 votes
1 answer
86 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 ...
Quinoba's user avatar
  • 33
2 votes
1 answer
254 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 ...
Tony's user avatar
  • 41
2 votes
1 answer
129 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, ...
Yaswanth SP's user avatar
1 vote
1 answer
727 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 ...
TasosZ's user avatar
  • 19
3 votes
1 answer
1k 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 ...
Alan Collins's user avatar
0 votes
1 answer
499 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.
guillermo_dangelo's user avatar
3 votes
2 answers
3k 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 ...
Lena's user avatar
  • 157
1 vote
0 answers
17 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 ...
ahox's user avatar
  • 11
4 votes
2 answers
133 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?
Noel Alfonso's user avatar
8 votes
2 answers
565 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 ...
ignis-fatuus's user avatar
0 votes
1 answer
275 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....
Oskaras Blazevicius's user avatar
1 vote
1 answer
62 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-...
Alwin 's user avatar
  • 181
0 votes
1 answer
86 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?
Gunasekar's user avatar
0 votes
1 answer
48 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 ...
soumyadeep roy's user avatar
0 votes
1 answer
97 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 ...
ihb's user avatar
  • 483
7 votes
3 answers
1k 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 ...
user3289662's user avatar
7 votes
2 answers
1k 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 ...
Kishen Shastry's user avatar
4 votes
2 answers
666 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 -- ...
zinfandel's user avatar
  • 161
4 votes
1 answer
635 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',...
carlos's user avatar
  • 137
8 votes
4 answers
4k 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. ...
Chris's user avatar
  • 89
2 votes
0 answers
267 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 ...
rdmato33's user avatar
  • 159
2 votes
1 answer
319 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....
IceBelt's user avatar
  • 37
1 vote
1 answer
215 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'...
Wilze's user avatar
  • 11
0 votes
0 answers
395 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
Владимир Кузовкин's user avatar
2 votes
2 answers
1k 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 ...
Svhooren's user avatar
  • 447
0 votes
0 answers
50 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.
F. Almeida's user avatar
1 vote
1 answer
462 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 ...
Robert Kovacs's user avatar
16 votes
2 answers
2k 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 ...
Koen Ver's user avatar
  • 435
1 vote
1 answer
108 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 ...
ODstuck's user avatar
  • 631
0 votes
1 answer
2k 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?
Samual Chance's user avatar
4 votes
1 answer
796 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 ...
danbis's user avatar
  • 43