Questions tagged [remove]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
50 views

How to remove values from raster band QGIS

I recently did a land use land cover analysis using the semi automatic classification plugin in QGIS. While I am satisfied with the produced raster there are a bunch of classes that are not relevant ...
Hartje's user avatar
  • 133
0 votes
0 answers
117 views

How to delete multiple features from multiple layers in QGIS at once?

I want to delete multiple layers containing points, lines, polygons together. According to my research, the tools in qgis can only delete features of the active layer together, is there a method or ...
hamid barati's user avatar
4 votes
0 answers
85 views

Filtered features in attribute table

Attribute table header of point layer says: "Features total 1200, Filtered: 1197, Selected: 0" There is no layer filter active and also no filter is set in the layer properties under tab &...
Hannes's user avatar
  • 107
2 votes
2 answers
257 views

Removing added layers using Leaflet

I add polygon data on the Leaflet map by selecting parameters: travel_mode and travel_time from the form control and clicking a button "btnGenerate". This button click function is working as ...
user3072602's user avatar
2 votes
2 answers
324 views

Delete multiple layer at once in geopackage QGIS

Is there a way to delete more than one layer at the same time in a geopackage file once I have opened the connection in QGIS? I am only able to delete them one by one...very time consuming.
AUS85's user avatar
  • 446
0 votes
0 answers
136 views

Select all layers in QGIS

In the previous versions of QGIS, to select all layers in the 'layer panel' and then remove them, I used 'CTRL + A'. In QGIS 3.22 this is not possible and to delete multiple layers I have to select ...
AUS85's user avatar
  • 446
0 votes
1 answer
59 views

maplibregl.Popup()

To show a popup when clicking the map, I entered: const popup = function(e){new maplibregl.Popup().setLngLat(e.lngLat).setHTML('MODIFICATIONS').addTo(map)}; map.on('click', popup); map.on('...
Angile's user avatar
  • 1
0 votes
1 answer
184 views

ArcPy command to remove empty layers that are grouped

I have a script that works for MXD with ungrouped layers. How can I change this so it works if there are groups of layers? I have an MXD template with many layers & groups. The underlaying file ...
Eifa's user avatar
  • 1
1 vote
0 answers
51 views

Remove the longest segments of a polygon using QGIS

Is there an expression or tool that allows the user to remove the longest segments of a polygon? The end result would be two end segments (lines)
Anthony's user avatar
  • 127
0 votes
0 answers
296 views

QGIS crash when programatically removing layer

I have to remove a layer named "Punti_da_csv_utente" and I use the following code: def processAlgorithm(self, parameters, context, feedback): #(other code) for lyr in QgsProject....
Fabio Zimbo's user avatar
2 votes
1 answer
126 views

Issue with saved scratch layers in QGIS, index higher than new scratch layer with the same name?

I'm using a plugin that creates scratch layers with the same name each time I start it. It's not an issue on a session basis, proj.mapLayersByName('scratch_layer_name')[-1] works fine to get the ...
S.E.'s user avatar
  • 336
5 votes
4 answers
299 views

Removing file type from attribute table in QGIS

I imported a shapefile that contains track plots of SGY files into QGIS, and I would like to remove '.sgy' from the file names in the attribute table. In the image, I've highlighted the section of ...
Amro's user avatar
  • 61
3 votes
2 answers
405 views

Removing decimal part from float field in QGIS

I have a field called "_mean" and I would like to remove the decimal part of all the values of that field. I attach two pictures. One an example of my variable ("_mean") in the ...
OgeiD's user avatar
  • 534
4 votes
0 answers
595 views

Deleting layer with its source in QGIS 3

When I remove a layer, I usually don't need the source anymore either. If now using the QGIS remove layer... command, the layer, of course, is gone, but the source file remains in the data and has to ...
jaysigg's user avatar
  • 497
0 votes
1 answer
541 views

Removing repeated commas with ArcGIS Survey123

I have created a form in ArcGIS Survey123. I have several field where you can enter multiple numbers from a select_multiple question. I then want to put all of those numbers into a single string. So I ...
OwlExpression's user avatar
0 votes
1 answer
70 views

Why does list.remove() not remove all items that meet the condition?

I have a bunch of feature classes in a geodatabase, and some of them are empty. I want to generate a list of all feature class names, and then remove the names of any feature classes that are empty. ...
Sarah T's user avatar
6 votes
4 answers
1k views

Removing duplicate features based on a condition on another attribute column in QGIS

I want to remove duplicate features (from a polygons shapefile) based on a condition on another attribute column in QGIS. For example, if I have the following attribute table of a polygon shapefile: ...
Denis Antoine's user avatar
0 votes
1 answer
115 views

Remove gpkg delated QGIS

I accidentally deleted a gpkg file from QGIS browser… I thought it was to delete the connection and the file was deleted… does anyone know any way to recover it? Does QGIS save deleted files somewhere?...
Anna Seuba i Barcons's user avatar
3 votes
1 answer
186 views

Removing table join using PyQGIS

I joined a table to a layer in QGIS using code from this thread: Joining layers with PyQGIS 3. Now I would like to remove the join. How can I do it?
Motti's user avatar
  • 424
1 vote
0 answers
764 views

Removing previous markers when new markers are added

Actually, I am using leaflet map to display city markers when country is clicked. Everything works fine. But, when I click on new country, the previous country markers remain on its position. Now, ...
Asif Vahora's user avatar
6 votes
2 answers
665 views

Removing duplicates from string in QGIS

In QGIS 3.18 in a shapefile attribute table, I have some fields with concatenated values (with commas , as the delimiter). Some of the values are duplicate, and I would like to remove them. For ...
pete's user avatar
  • 1,081
4 votes
1 answer
305 views

Deleting more than one node at once in QGIS

I would like to delete some nodes in my layer. I've got them about 50 or even more. I found some solutions here: https://www.youtube.com/watch?v=lbgmNXXJCzA&ab_channel=JustinAdler How can i ...
Geographos's user avatar
  • 4,077
4 votes
1 answer
535 views

Removing vector layer for overwriting using PyQGIS

In QGIS, I've tried to remove a layer, execute a processing and overwrite the input layer. This in my Python code: from qgis.core import * for lyr in QgsProject.instance().mapLayers().values(): ...
ste's user avatar
  • 79
0 votes
1 answer
138 views

Remove place names from the layout in the print composer using a WMS

I am new to working with maps and I am going to make a map presenting the study sites in my theisis. As a map I am using a WMS-map provided by geonorge.no. I am wondering if there is a function in the ...
Kristine's user avatar
1 vote
1 answer
212 views

Removing lines that do not provide connectivity using FME

I have two datasets one for lines and another for polygons, the lines data that contains lots of small line segments that are not needed. I would like to delete the lines only if they are not ...
Maro's user avatar
  • 15
0 votes
2 answers
151 views

Keep only certain points on a layer

I'm using QGIS 3.10.4. I have a vector layer that contains more than 200 cities as multiple points on the layer. The attribute table has one column: city name. My goal is to keep only 10 certain ...
orange's user avatar
  • 47
0 votes
1 answer
129 views

Creating a new layer based on criteria of multiple layers

I'm really new to ArcGIS and have been trying to search for whether this is possible but don't know the correct terminology to look it up. I have two layers on my map, one of lines and one of points. ...
Eal20's user avatar
  • 11
2 votes
3 answers
2k views

Remove Layers only if layers already exist using PyQGIS

I have written a code that imports the different Layers from a folder to QGIS. The problem is that when I run the code again, the layers are duplicated and so on. If I try to remove the layer at the ...
Lino.Lohan's user avatar
0 votes
1 answer
320 views

Removing empty dataset from gdb

I want to delete about 25 datasets that are empty from my gdb file which consists 30 datasets. I am invoking pPthon window and trying to execute this script: import arcpy from arcpy import env env....
gtr's user avatar
  • 17
5 votes
2 answers
472 views

Removing vertices coincident with point layer in QGIS

Is there any way in QGIS to delete vertices in an automatic way from a feature which are coincident with a point layer? I have many lines forming a "T shape", so I would like to remove the ...
Noe's user avatar
  • 117
0 votes
1 answer
193 views

Removing elements that cut other elements using QGIS

I have line elements and polgone-elements on two different layers (lets say layer A (line) and layer B (polygons). Now I want to remove all elements of layer A that crosses/touches/laying in polygones ...
Julz_Mos's user avatar
0 votes
0 answers
1k views

Remove buffer from polygon

I need to remove the outside area of a polygon based on a numerical value in a python script. It would be to determine a core habitat for a species that don't live at the edge of their habitat. I'm ...
Jessica's user avatar
  • 17
4 votes
1 answer
350 views

PyQGIS Remove VertexMarker

I have several plugins I am using that involve rubberbands and their equivalent points (QgisVertexMarkers). My problem looks to come from removing them from the display. This process worked fine in ...
D Greenewalt's user avatar
0 votes
1 answer
119 views

pyqgis: dbf blocked after removeLayer

I developed a plugin in QGIS. One of the processes consists in remove some layers from the QGisProject, use them with other third party code in C# (maybe layers are modified by C# code) and finally ...
neslerel's user avatar
1 vote
1 answer
1k views

Removing a group from layers panel using PyQGIS? [duplicate]

How can I remove a group that I created previously using : groupName="machin" root = QgsProject.instance().layerTreeRoot() group = root.addGroup(groupName)
Namoat's user avatar
  • 307
1 vote
0 answers
3k views

How to properly uninstall OSGeo4W+GRASS+QGIS on Windows7 64bit

Over the years I have tried QGIS and other mapping systems. Lately I wanted to make a go at using the newer versions of QGIS but wanted the ability to run the new one, 3.4 or 3.6 and to keep the old ...
Jim Garner's user avatar
1 vote
1 answer
619 views

Deleting overlap between two polyline layers in ArcMap? [closed]

I have two stream layers and they overlap, I want to delete this overlap on one layer so I do not repeat any information. How do I do this? I can only seem to find information regarding polygons.
Rosey's user avatar
  • 11
0 votes
1 answer
1k views

Delete Pseudo Nodes (or unncessary nodes) using PostGIS or QGIS

I have so big big data (like about 60 Gb.) and it seems to have much unnecessary pseudo nodes. I would like to remove them using PostGIS or QGIS without simplifying or changing its original shape (...
Pil Kwon's user avatar
  • 1,030
2 votes
2 answers
962 views

Remove countries from JSON file

I have this file nuts0.json that I would like to change by removing some countries like Iceland. To do this, I used the method I found in this post. Then I coverted the GeoJSON file to TopoJSON using ...
marielle's user avatar
  • 135
5 votes
1 answer
3k views

Removing and deleting duplicates in FME?

I'm analysing a large folder containing huge amounts of data, using FME. I'm filtering it down as much as possible, and I'm a little stuck at this part. Right now it is just about creating lists. ...
Kim's user avatar
  • 163
1 vote
2 answers
2k views

Remove some islands from Europe json file

It's the first time I use a JSON file to create a map of Europe. I downloaded these two files: nuts0.json nuts2.json The first represents the states, while the second represents the regions of each ...
marielle's user avatar
  • 135
1 vote
0 answers
68 views

How do you remove the 1m by 1m gap polygons such as the one at the lower right corner? [closed]

How do I remove the 1m by 1m polygon in the lower right corner? I am using ArcMap 10.4 and its Raster calculator.
Buck_2008's user avatar
3 votes
4 answers
14k views

hasLayer and removeLayer methods not working on leaflet map as expected

I am trying check if Layer already exist on map... IF(no) THEN Addlayer on Map. IF(yes) THEN removeLayer and AddLayer on map "because I dont want same Layer to be added again and again on map". I ...
Sami Khan's user avatar
1 vote
0 answers
270 views

Remove/hide selected layer and display new layer after click on button

I´m trying to create two drop-down lists: <select id= "select1"> <option value="layer1">layer 1</option> <...
Martin Zápotocký's user avatar
1 vote
0 answers
104 views

What to do with unused layers in my personal geodatabase

I have a question about my personal geodatabase. You can see it at the picture below. I started with the database in Arcmap with my normal data (Black sea, Danube, East Aegean and West Aegean). In ...
Watermanagement's user avatar
0 votes
0 answers
47 views

Remove layers with arcpy- Error [duplicate]

I use this code in order to remove layers that are out of the data frame of the map: import arcpy,os,sys,string import arcpy.mapping from arcpy import env env.overwriteOutput = True env.workspace =...
newGIS's user avatar
  • 4,042
2 votes
1 answer
282 views

Removing annotation layer according to data source using ArcPy gives NameError?

I work with this FGB annotation (ArcView 10.3): and i try to remove it with this code: import arcpy,os from arcpy import env env.workspace = r"G:\PROJECTS\road611\gis\aa" for mxdname in arcpy....
newGIS's user avatar
  • 4,042
2 votes
3 answers
429 views

Unprojected GeoTIFFs

I have a software package that requires "Unprojected GeoTIFFs" and no matter what I try I cannot get them accepted. Ive been trying GDAL but to no avail. I have an example of a working file and one I ...
r10crw's user avatar
  • 21
3 votes
2 answers
3k views

How to remove border line from one shapefile in interaction with another one

I'm new in QGIS, I have two shapefiles Northern Ireland (NI) and Ireland and there is overlapping with theirs borders. Is there same way that could use border of NI for example and give me output ...
Una Aksentijevic's user avatar
2 votes
1 answer
4k views

Removing boundary pixels from numpy array with python

I need to get rid of the border points in an array which came from a raster. I first converted my GeoTiff to numpy array using: input = gdal.Open("file.tif") array = np.array(input.GetRasterBand(1)....
spartmar's user avatar
  • 553