Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [delete]

The tag has no usage guidance.

1
vote
1answer
49 views

Layer not visible after deleting from attribute table QGIS

I'm a newbie for QGIS and trying to learn. I was editing the attribute table in which process I deleted some rows. Then the layer became invisible in the project. After trying a lot I decided to redo ...
1
vote
1answer
23 views

Replacing Feature Class OR Deleting Feature Class within GDB using FME?

I'm looking to use FME to either replace/overwrite a Feature Class, or just a to delete a feature class so I can 'write' the new one into that gdb. Essentially I have constant new data being updated ...
0
votes
0answers
34 views

Cannot delete geodatabase while tool is running?

I have created a script tool that performs raster analysis. It publishes intermediate raster layers to a newly created, temporary workspace (in_memory does not work well with rasters so I don't want ...
0
votes
1answer
23 views

ArcPy - Select Layer by Attribute / Delete Selected Layer - SQL

I feel like I've tried so many iterations of this, can anyone assist with how to use ArcPy to selected layer by attribute then delete selected layer? I think my SQL query is incorrect? import arcpy ...
1
vote
2answers
40 views

Sort by multiple fields and delete record with highest value

I have some GPS points that I am trying to find the highest precision point for. How would I go about sorting the table by time collected and horizontal precision and then deleting the highest ...
5
votes
1answer
89 views

How to prevent gpkg size increase when I delete attributes?

I have a file, polygons.gpkg that I am using in QGIS. Its original file size is 48MB. When I do nothing except delete a handful of the attribute table's fields, I expect the file size to decrease. ...
0
votes
1answer
18 views

Delete a suffix from a feature class name using ArcPy

I have to edit the Name of the feature classes in my databank by deleting the Suffix part called "_AAA_VV". I am not pro in ArcPy but prepared something which does not work.could assist my to find my ...
1
vote
1answer
36 views

How do you delete an object or polygon that has been selected in a layer using the graphical modeler?

I wish to create a model in QGIS 3, that can delete a specific polygon that has been selected in a layer. Is it possible to do this? I go through a few different locations in a day and I don't wish to ...
0
votes
1answer
29 views

Using `arcpy.Exists()` and `arcpy.Delete_management` on a temporary layer

Suppose I make a temporary layer from a feature class in a gdb: select = arcpy.MakeFeatureLayer_management("roads", "select_lyr", "FIPS_CODE = '06023'") Later I want to see if that layer exists and ...
0
votes
1answer
153 views

Deleting contents from geodatabase in ArcPy?

I have a geodatabase and I would like to be able to delete layers in there easily using ArcPy. Also select which type of files. Example: delete all file tables from the gdb or all layers. Code: ...
0
votes
0answers
22 views

Preventing folder deletion in ArcCatalog? [duplicate]

Is there any way to prevent folder deletion in ArcCatalog?
1
vote
2answers
71 views

Select columns to keep from attribute table [closed]

I have lots of feature classes that I'm working with, but the attribute tables are really messy because I got the information from different sources. So I decided to clean them up. I made a table ...
0
votes
1answer
45 views

Removing lines on coast side using ArcGIS Desktop?

I have a shapefile of European countries (with regional subdivisions) as well as a shapefile of lines. How do I delete all the lines on the coast-side, using ArcGIS Desktop?
2
votes
1answer
74 views

Delete points on one side of a line in QGIS

I have a bunch of points and line that represents a boarderline as shown below: I want to delete all the points one the right side of the line, and letting the points in the left side stay. I dont ...
1
vote
1answer
59 views

New field added whenever I export shapefile to the geodatabase

I don't know why this is keep happening, but I created shapefile in QGIS and opened the shapefile from ArcGIS. I needed to create geodatabase to put in all of my shapefile, but whenever I do that, ...
1
vote
1answer
332 views

cannot delete fields in ArcGIS Pro

In ArcGIS Pro 2.1, when I attempt to delete a field (via the attribute table, field view) or a feature class, my process fails and I get the following error message: Table is being edited, failed ...
3
votes
3answers
201 views

Deleting selected rows in ArcPy?

I am new to ArcPy and I am trying to write a code to select specific rows from a shapefile. I wrote this code, which gives back: Parsing error SyntaxError: invalid syntax (line 3) Any suggestions ...
0
votes
2answers
245 views

arcpy.Delete_management not working?

I've updated the code with the suggestions in the code but still not working. arcpy.env.workspace = r'F:\EGM722 - Customising GIS apps\Assignment\folklore.gdb' arcpy.env.overwriteOutput = True arcpy....
1
vote
2answers
103 views

Batch remove attributes

I'm having a little trouble using the merge command in QGIS. All the files have a range of different attributes, with some attribute headers in common. Some of these have different data format types ...
-1
votes
2answers
274 views

Delete Rows in Qgis using Field Calculator [closed]

I tried to delete all rows where Field "Width" has value 2?
1
vote
2answers
97 views

Delete all points outside the contour of a WMS raster map

I have two layers in QGIS. One WMS raster layer with a country map and one layer with points. It looks like this: I want to remove all the points that lie outside the contours of the country map, so ...
10
votes
8answers
3k views

Editing LiDAR point cloud to remove noise/outliers present below and above ground?

I have "dirty" LiDAR data containing first and last returns and also inevitably errors under and over the surface level. (screenshot) I have SAGA, QGIS, ESRI and FME at hand, but no real method. What ...
3
votes
1answer
375 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. ...
0
votes
1answer
190 views

Python add-in button tool giving saying missing toolbar when I add it onto my map?

I am looking to create a button that when clicked, clears feature classes and tables created from another tool. I set up the button and installed it but every time I add it to the map with a toolbar ...
4
votes
2answers
344 views

Memory leak in ArcGIS Pro: in_memory workspace is not deleted

I have a python script for ArcGIS Pro 2.0.1 that executes the same code with the same data size in a loop. So intuitively the run times of the iterations of the loop shall be about the same. However, ...
1
vote
2answers
491 views

delete segments from road layer - QGIS

I have a road layer, with two locations points. I have created a shortest path analysis between these points. Now, I would like to delete some segment from the road network. I would like to delete (...
0
votes
1answer
33 views

Want to delete multiple duplicate fields [closed]

I have a feature class which contains duplicate fields like a,b,c,a1,b1,c1. I want to delete these duplicate fields. The number of fields is more than 100. So instead of manual deletion I am looking ...
1
vote
1answer
392 views

How to delete a single Feature Class from a geodatabase using FME

I am trying to produce an FME script that is a replication of an existing python script in order to compare "apples to apples". The point of this project is to prove that FME can process "big data" ...
1
vote
0answers
44 views

Retrieving ArcGIS Collector points when service definition was deleted?

I made a service to collect data points in the field, but then right before leaving updated the fields and deleted the old service, and published my new service. I assumed the Collector for ArcGIS app ...
1
vote
1answer
158 views

Deleting feature dataset containing network dataset from ArcSDE database?

I have trouble with deleting unwanted feature datasets from ArcSDE. Datasets contain network datasets which cannot be deleted either and I think they cause the problem. Options to delete or remove ...
4
votes
1answer
201 views

Deleting attribute records in one project also deletes it in another project?

Because I am learning QGIS and I had to delete records in a attribute table, I made a copy (project > save as > saving as 'project_copy' before deleting attributes. To be safe... So I deleted the ...
-1
votes
1answer
137 views

Deleting previous features in OpenLayers [closed]

I need a hand, I'm stuck on this example. I want to understand how it's possible to delete a previous feature.
0
votes
1answer
178 views

Deleting multiple fields with same shapefile name using ArcGIS Desktop?

I have many shapefiles. Each shapefile has a specific name which is the same as one of the column of data within the attribute table. For each shapefile, I would like to delete all the fields that don'...
1
vote
1answer
110 views

Deleting Feature Classes Faster

I have a script that runs through a database and deletes all the empty feature classes. Often I deal with databases that have hundreds of empty feature classes and it can take quite a while to run ...
1
vote
1answer
97 views

How effective is os.unlink at deleting shapefiles?

I have a process where I use arcpy.FeatureClasstoShapefile() to re-create shapefiles. Unfortunately, arcpy.env.overwriteOutput = True does NOT overwrite the previous ones. I have tried using arcpy....
2
votes
1answer
385 views

Split tool is deleting segment at split point

I turned editing on and selected this line feature from a feature class. After I selected this line feature, I clicked the Split Tool to separate the line at the vertex (the corner). When I click at ...
4
votes
1answer
2k views

Cannot delete in_memory workspace

I wanted to use in_memory workspace, however I can't clear it. No matter if I use in Python window, in ArcMap this: arcpy.Buffer_analysis("something", "in_memory/buffer", 399) arcpy.Delete_management(...
0
votes
1answer
164 views

select special rows from feature using condition in ArcGIS ModelBuilder?

I am using ModelBuilder and would like to delete specific rows of a feature where the value of two columns are equal. For instance: if there are columns a,b,c,d and rows 1,2,3,4. I would like to ...
1
vote
2answers
9k views

Cutting a polygon using the shape of another polygon layer?

I have a layer with polygons I have to cut smaller. I also have another layer with the shapes of the polygons I have to use for cutting out some pieces of the polygons on the first layer. I tried to ...
3
votes
1answer
4k views

Deleting values from raster file using ArcGIS Raster Calculator?

I have a raster that denotes certain landcover types. How do I delete all of the pixels except for the ones I want? I tried going through the symbology tab and while that deletes it for display it ...
2
votes
0answers
63 views

QGIS 2.14.6 Delete Freehand Item [closed]

I've created a freehand shape, but can't delete it. Screen shot attached. I can select it but the trash bin is grayed out, and the delete button prompts the error code "provider does not support ...
4
votes
1answer
165 views

Deleting symbols in QGIS symbol selector?

How do I delete symbols in the symbol selector QGIS? I am trying to clear out a few old symbols from the library and was wondering how id do it.
1
vote
0answers
484 views

Deleting shapefile with QGIS?

This is a follow-up question to an answer to Deleting Shapefiles using QGIS? I tried to run the script, however it always returns False and the shapefile is not deleted - any ideas what needs to be ...
6
votes
2answers
2k views

Deleting all Features of a Vector Layer in pyQGIS

I am developing a python plugin for QGIS. In QGIS map window, certain features of a vector layer are selected and those features are highlighted. Now I need to delete all the existing features from ...
1
vote
0answers
223 views

RuntimeError: cannot open, when using arcpy outside ArcGIS [closed]

When I ran the below code, I got a runtimeerror: can't open the shapefile. The file was not occupied by ArcGIS. I even restarted the computer, but it still gave me the error. However, I can run the ...
1
vote
1answer
241 views

Deleting many duplicate points using ArcGIS Desktop?

I have a shapefile with more than 6 million points, most of which are identical. I used the built-in tool Delete Identical by using Shape property to do it, which takes almost 10 hours and only ...
1
vote
4answers
141 views

Running python script from editor and through toolbox work differently

## Import required tools... import arcpy arcpy.env.overwriteOutput = True ## Set workspace environment mxd = arcpy.mapping.MapDocument("CURRENT") df = arcpy.mapping.ListDataFrames(mxd)[0] arcpy.env....
4
votes
1answer
237 views

Recursive loop to modify vector layer and refresh mapcanvas

I'm trying to plot one point "jumping" each second in the canvas (like a gps tracking). I need to take points from a .csv file. This functionality is made in a QWidget of my application, so the code ...
0
votes
1answer
720 views

Deleting or replacing existing table in ArcPy gives ERROR 000601?

I'm doing an interface with ArcGIS 10.2 ando Python 2.7 scripts. I can create new tables with arcpy, but when I run a second time, to replace created tables I need to delete the existing tables to ...
0
votes
1answer
340 views

Deleting duplicated features with ArcPy?

I try to use this python code in order to delete duplicated feature which as the same xy coordinate of centroid (i created those fields with Calculated Geometry in the attribute table): import arcpy '...