Questions tagged [remove]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
1answer
52 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(): ...
0
votes
1answer
68 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 ...
0
votes
1answer
10 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 ...
4
votes
2answers
81 views

Remove vertices coincident with a point layer

Is there any way to delete vertices from a feature which are coincident with a point layer? I mean in an automatic way. I have many lines forming a "T shape", so I would like to remove the middle ...
1
vote
1answer
29 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 ...
0
votes
2answers
36 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 ...
1
vote
2answers
839 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 ...
0
votes
1answer
28 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. ...
1
vote
3answers
161 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 ...
3
votes
1answer
187 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 ...
0
votes
1answer
51 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....
0
votes
1answer
52 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 ...
0
votes
0answers
104 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 ...
3
votes
3answers
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?
0
votes
1answer
244 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)
1
vote
0answers
1k 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 ...
3
votes
4answers
7k 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 ...
1
vote
1answer
295 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.
1
vote
3answers
286 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 ...
1
vote
0answers
149 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> <...
0
votes
1answer
725 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 (...
8
votes
3answers
13k 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 ...
0
votes
0answers
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 =...
2
votes
2answers
402 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 ...
3
votes
1answer
1k 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. ...
1
vote
0answers
49 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.
1
vote
0answers
68 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 ...
2
votes
1answer
143 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....
3
votes
2answers
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 ...
2
votes
1answer
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)....
0
votes
1answer
68 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 ...
5
votes
2answers
2k 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 ...
0
votes
1answer
42 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" ...
0
votes
0answers
96 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 ...
0
votes
1answer
217 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 =...