Questions tagged [rename]

The tag has no usage guidance.

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

QGIS - separate parcel attributes in attribute table with python

I'd like to be able to split the parcel information in an attribute table from one column parcel_value = 247/34 into two separated columns by using a PyScript parcel_num = 247 and parcel_den = 34 I ...
  • 85
4 votes
1 answer
97 views

Safely rename a QGIS project

How do you rename a project without breaking it? I used the Rename option from the Manage option of the context-sensitive menu in the Browser to rename my project1. This seems to work. However, I ...
1 vote
0 answers
41 views

Defining Vector Layer Name with PyQGIS

The goal of my python script is to get geographic data from an XML file and transform it into a vector layer. This task is successful but each of my layers have the same name... and I can't find a way ...
0 votes
0 answers
41 views

Batch rename geotagged photos with QGIS python errors

Batch rename of geotagged photos taken inside a shapefile I have successfully created new name for the fid, but I have difficulties to pass forward. Everything went smooth, until the Python. I get ...
0 votes
0 answers
43 views

Add word/string to multiple feature classes using ArcGIS Pro

I am using ArcGIS Pro 3. I have 31 feature classes in a gdb and I would like to add a word/string at the end of each feature class's name. For example, for feature class A I would like to add _TREES ...
0 votes
0 answers
43 views

Rename layer in model builder with almost original name

I have a model inside a model and I would like to rename the output of the model to their original name with "_clean" in front. So if the layer input its 'lake' in the project i would like ...
1 vote
1 answer
122 views

Batch rename of geotagged photos taken inside a shapefile

I have hundreds of geotagged JPEG photos, with camera default naming, that are taken somewhere out there but always inside the borders of a shapefile. I need to rename them all with the shapefile id ...
2 votes
1 answer
91 views

Renaming categorical attribute values in QGIS attribute table: merge two different strings to the same name

Issue I have a column called ' Species' in a shapefile layer showing the distribution of different species of dolphins. The operator that originally inputted the species names into our excel data ...
7 votes
1 answer
379 views

Renaming GeoPackage layer to be the same as GeoPackage file

I have a GeoPackage file that has been renamed, but the layer inside the GeoPackage keeps the original name, is it possible to automatically put the same name on the layer as the file? Example: ...
  • 774
5 votes
2 answers
286 views

Batch renaming of columns in attribute table for shapefiles using QGIS

I have 11 shapefiles that shows administrative areas for 11 different countries. For each country, I have 448 columns in the attribute table that records average rainfall data. They look like this: I ...
6 votes
3 answers
218 views

Renaming shapefile from Terminal

Shapefile comes with a bunch of friends (often referred to as sidecar files) that all need to have the same basename. While software like QGIS deals with that very well I sometimes have the need to ...
1 vote
1 answer
480 views

Batch proceeding with using expressions : naming the output derived by the input layername with changing one specific substring (QGIS 3.16 / Win10)

I'd like to run different batch processes and want to name the output derived by the input layername with only changing one specific substring when doing batch processes. I will conduct different ...
  • 457
2 votes
1 answer
307 views

QGIS 3.16 with AutoSaver plugin: Renamed bak-files were not opened correctly or just as a blank project, respectively. (Win 10)

Though my current QGIS-project was not saved in that very moment, yesterday evening my Win 10 decided to run an OS-update and shutted down. 'No problem', I thought because of having installed the ...
  • 457
1 vote
1 answer
368 views

Rename layers within group automatically by adding a prefix derived from group name using QGIS

I have some Sentinel derived rasters (time series) divided in tiles. In my QGIS (3.16) each tile is represented by a group. Each group contains rasters from different dates and according layernames. ...
  • 457
4 votes
2 answers
210 views

Auto-naming temporary layers in QGIS

I get a lot of temporary layers called 'Union' or 'Singlepart'. And then I lose myself in which layer is which in when for example I want to check geometry. Can I do so that QGIS is naming them '...
0 votes
1 answer
20 views

Why I can't run/install g.rename.many?

https://grass.osgeo.org/grass78/manuals/addons/g.rename.many.html "command not found". I want to rename a huge amount of raster maps in GRASS as I need them to mask the region where I will ...
1 vote
1 answer
164 views

Removing suffix automatically from field names using PyQGIS

I have a big layer with thousands of points. It has also dozens of fields in the attribute table. The field names in the attribute tables have all the a suffix _2. I know I can use the "Refractor ...
  • 437
2 votes
1 answer
212 views

Rename the resulting layer of a QGIS model within the same script with PyQGIS

At the end of my processing model, it runs an "Add geometry attributes" operation. I want the resulting layer to be named "Overlap" instead of the default "Added geom info.&...
  • 1,169
4 votes
1 answer
57 views

Appending characters before the filename of all layers in a GeoPackage in QGIS?

I have a geopackage which contains around 30 files. I want to put a "mmbl_" before the actual file name for all the layers in the said geopackage. Is there a an SQL expression to automate ...
  • 1,169
1 vote
1 answer
378 views

Rename Landsat bands across sensors in Google Earth Engine

I'm trying to rename bands with standardized names across different Landsat sensors. When I add layers using visualization parameters for the new standardized band names, I get errors like this: "...
  • 13
4 votes
2 answers
505 views

Renaming multiple layers in the legend from an attribute in each layer in QGIS

I have 72 layers that have been generated via affine transform of a single layer that has 72 categories. But the 72 layers have been given names that are sequential numeric. The original categories ...
0 votes
1 answer
969 views

Unable to rename attribute table columns using QGIS

I'm using QGIS and trying to remove the "ACS block group" prefix from each field in this attribute table. When I try to rename my attribute columns it says "Failed to rename field to .....
  • 597
6 votes
1 answer
443 views

Renaming table column with expression in the Field calculator in QGIS

I want to be able to rename a few column names with an expression in the Field calculator in order to be able reproduce this action with the QGIS Graphical Modeler. I tried to do this with the "...
  • 71
6 votes
2 answers
494 views

Renaming the result of QGIS Processing Algorithm

When calling a QgsAlgorithm from within another, the result will be named after this algorithm output regardless of what is setup as the output of the main one. For instance, taking the code from the ...
  • 559
11 votes
2 answers
4k views

Renaming attribute/field names for GeoPackage layer in QGIS

I need to rename several attributes/fields in a GeoPackage layer. How to do this? There are numerous pages on how to rename the attributes/fields of a shapefile. However, there do not seem to be any ...
5 votes
1 answer
1k views

Renaming 1,200 rasters in File Geodatabase using ArcPy

I've been tasked with renaming a large amount of raster files within a file geodatabase (using ArcGIS 10.2.2). I'm taking weather data which has a name format as such: "G"mmddhhhh I'm trying ...
93 votes
5 answers
118k views

Renaming attributes/fields in shapefile attribute table using QGIS

I would like to rename some fields in my attribute table: Like rename "XRF_N3"in something else. It seems quite a easy issue but I don't find any information about how can I do that.
  • 1,998