Skip to main content

Questions tagged [borders]

A part that forms the outer edge of something.

Filter by
Sorted by
Tagged with
2 votes
2 answers
117 views

Converting polygons to lines that are split depending on borders being shared in QGIS

I have a file containing polygons that delineate the boundaries of municipalities within a specific region. I want to convert the polygon boundaries to lines. The resulting lines should be split ...
Dimitar's user avatar
  • 51
8 votes
1 answer
271 views

Applying pattern only into strip inside polygon border in QGIS

I need to reproduce the style of a raster layer on a polygon layer like this: where you see in red the hatching inside the red contour of the polygon. I tried hatched line in the symbology, but I ...
dmjf08's user avatar
  • 1,283
2 votes
1 answer
61 views

Border background of label wrapping individual letters

Using Qgis 3.28.14 I am trying to visualize labels with a background and setting the border of the background. The result I am having is wrapping each letter instead of the entire label How do I get ...
geotyr's user avatar
  • 426
1 vote
1 answer
408 views

How to extract country borders as vector data from OpenStreetMap?

I want to download country borders as vector data from OpenStreetMap. The best would be in a common vector geodata format like GeoJSON that can be used e.g. in QGIS. I there a simple way to do this?
winnewoerp's user avatar
  • 1,504
3 votes
1 answer
255 views

Drawing borders only for common border of polygons in QGIS

I would like to style a polygon layer in a way that only those borders that do touch other polygons are drawn. In this very basic example, it would look (roughly) like this. Just that in this case I ...
Lenn's user avatar
  • 1,297
1 vote
1 answer
94 views

Voronoi polygons along given border in QGIS

I have a shapefile that contains districts (polygons) of a country. I added centroids to each district in order to create Voronoi poylgons around them. On this new layer, the outlines of the Voronoi ...
Ann's user avatar
  • 13
0 votes
1 answer
77 views

Converting polygon to points

I am using QGIS. I have a dataset of shapefile for admin0, admin1, admin2 and admin3 for the country of Syria. I want to convert the polygon (the border of the subdistricts) to points (with lang and ...
M.M's user avatar
  • 1
0 votes
0 answers
53 views

Deleting borders from merged layers in QGIS

I merged more layers together but I need to delete these borders. It is possible?
Jozef Hiľovský's user avatar
0 votes
0 answers
35 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
34 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
73 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
  • 91
0 votes
0 answers
70 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
73 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
351 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
262 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
522 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
521 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
  • 193
4 votes
1 answer
491 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
402 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
553 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
411 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
2k 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
285 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
129 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
1k 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
  • 625
1 vote
0 answers
593 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
108 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
395 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
166 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
1k 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
3k 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
785 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
4k 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
20 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
253 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
896 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
425 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
77 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
147 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
65 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
121 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
  • 493
7 votes
3 answers
2k 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
2k 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
1k 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
774 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
  • 247
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
331 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
542 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
259 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
467 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