Questions tagged [remove]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
36 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 ...
user avatar
  • 319
4 votes
4 answers
118 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 ...
user avatar
  • 51
3 votes
2 answers
101 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 ...
user avatar
  • 445
2 votes
0 answers
44 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 ...
user avatar
  • 427
0 votes
1 answer
50 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 ...
user avatar
0 votes
1 answer
51 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. ...
user avatar
6 votes
4 answers
367 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: ...
user avatar
0 votes
1 answer
50 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?...
user avatar
3 votes
1 answer
48 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?
user avatar
  • 188
1 vote
0 answers
103 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, ...
user avatar
6 votes
2 answers
334 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 ...
user avatar
  • 1,001
0 votes
0 answers
57 views

(GEE Error: Can't transform image) In Earth Engine Remove values greater than a "Threshold" from an Image band

I have an Earth Engine image with two bands with band Datatype size Unsigned Int 16. But while computing the Image some values are more the Unsigned Int16 max; so I am getting can't Transform Error. I ...
user avatar
4 votes
1 answer
104 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 ...
user avatar
  • 3,584
4 votes
1 answer
164 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(): ...
user avatar
  • 79
0 votes
1 answer
17 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 ...
user avatar
1 vote
1 answer
79 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 ...
user avatar
  • 15
0 votes
2 answers
42 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 ...
user avatar
0 votes
1 answer
44 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. ...
user avatar
  • 11
2 votes
3 answers
742 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 ...
user avatar
0 votes
1 answer
112 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....
user avatar
  • 17
5 votes
2 answers
206 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 ...
user avatar
  • 107
0 votes
1 answer
90 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 ...
user avatar
0 votes
0 answers
377 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 ...
user avatar
  • 17
4 votes
1 answer
275 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 ...
user avatar
0 votes
1 answer
83 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 ...
user avatar
0 votes
1 answer
494 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)
user avatar
  • 179
1 vote
0 answers
2k 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 ...
user avatar
1 vote
1 answer
416 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.
user avatar
  • 11
0 votes
1 answer
965 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 (...
user avatar
  • 942
3 votes
2 answers
551 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 ...
user avatar
  • 155
4 votes
1 answer
2k 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. ...
user avatar
  • 153
2 votes
2 answers
1k 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 ...
user avatar
  • 155
1 vote
0 answers
51 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.
user avatar
3 votes
4 answers
9k 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 ...
user avatar
1 vote
0 answers
166 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> <...
user avatar
1 vote
0 answers
87 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 ...
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 =...
user avatar
  • 3,962
2 votes
1 answer
187 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....
user avatar
  • 3,962
2 votes
3 answers
332 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 ...
user avatar
  • 21
3 votes
2 answers
2k 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 ...
user avatar
2 votes
1 answer
3k 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)....
user avatar
  • 533
0 votes
1 answer
143 views

Removing Polygons With a Specific Size

How can I remove small polygons from a raster data set? I know that they aren't technically polygons, but I convert the rasters to polygons. The problem is that I want to focus on a specific polygon ...
user avatar
0 votes
0 answers
163 views

Remove layers in sub folders using python- path orientation

Expanding on my previous question Remove layers using python- path orientation, i try to remove layers from mxd's (in ArcMap 10.3, Python 2.7.8), that don't appear in the layout view. The layers ...
user avatar
  • 3,962
0 votes
1 answer
45 views

Removing existing backup layers and renaming current live layer in ArcSDE

Looking at the attached screenshot of Catalog, there are the file "CRT_CANAL" and many backups. The aim of this code is deleting old backups in the ArcSDE database, renaming the existing "CRT_CANAL" ...
user avatar
  • 59
7 votes
2 answers
3k views

How to remove spikes in Polygons with PostGIS

I'm trying to validate the topology of a shapefile. I managed to repair cases of overlap and gaps, but i can't resolve cases of spikes. The image shows one example of this situation. I used the ...
user avatar
  • 101
0 votes
1 answer
248 views

Code error - remove layer using python

Continuously to How to remove layers that are not in visible df extent i try to remove layers that don't appear in the data frame with this code: import arcpy,os from arcpy import env env.workspace =...
user avatar
  • 3,962
5 votes
1 answer
6k views

Removing node in QGIS

I want to remove some nodes from a shapefile using QGIS 2.10.1 I enable editing I click on the Node Tool I click on a node I want to select (it turns blue) However, once I select this node I am ...
user avatar
3 votes
3 answers
1k views

How to delete duplicate LiDAR points?

How can I delete duplicate LiDAR points? I incorrectly read the same las twice and saved as a one file resulting in duplicate XY points. How should I delete these duplicate points?
user avatar
  • 31
9 votes
3 answers
15k views

Removing columns in a SpatialPolygonsDataFrame in R?

My spatial polygon data frame (SPDF) contains too many columns (variables) and I want to remove most of the columns entirely. I know how to do this with a regular data frame in R, but I am unsure ...
user avatar
15 votes
4 answers
5k views

Removing band from raster in QGIS

When I process a raster in QGIS it creates a second band. It appears that the band has no useful data. I like to use the Raster Colours Tool and it will not accept a raster with anything more than one ...
user avatar
  • 1,752