Questions tagged [layer-name]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
1answer
60 views

How do I trim the first 5 characters of several layernames at once?

Due to a clip-batchprocess and the tool "package layers" I end up with a geopackage with several layernames that start with "clip_". I would like to trim all the layernames by the ...
1
vote
1answer
14 views

Band Names in Google Earth Engine - Modis LST data

I am working with some modis LST data, and am running into the following problem: I am running two functions on the data, which I will need to combine later. For that reason, the band names need to be ...
1
vote
2answers
65 views

QGIS function layer_name in fieldcalculator batch-mode

Working with QGIS 3.10, I want to use the @layer_name function in batch mode for all layers in a project. In individual cases, I do this via the field calculator. I also found the script for the field ...
0
votes
1answer
30 views

Display layer with its date in GEE

I want to display the image with its date as the layer name, but the following code does not work. var s2 = ee.ImageCollection('COPERNICUS/S2_SR').filterBounds(roi).filterDate(startdate,enddate).first(...
0
votes
0answers
25 views

Naming and Extracting shapefiles using value from attribute table using ArcGIS Pro ModelBuilder

I am working with ModelBuilder in ArcGIS Pro to create a process that will select a distinct shapefile from a feature class and create a new layer. This new layer will then be used to clip and extract ...
0
votes
3answers
54 views

Changing name layer from geoprocessing output

How can I change the name for geoprocessing output map layers, for example: out_diss = 'ogr:dbname=\'C:/GIS/data/testdata/output.gpkg\' table=\"ak_riks_dissolved\" (geom)' dissolved = ...
0
votes
0answers
23 views

How can I keep the original name of the .kml file in the layer panel?

I have a folder with many .kml files. Example: John.kml Jessica.kml Donald.kml When I add them to QGIS, the names shown in the layer panel changes Example: John.123.kml Jessica jess.kml Donald_ert....
2
votes
0answers
115 views

Printing layer name using label element in Print Composer in QGIS 3.12?

I'm trying to print the layer name using a label in print composer in QGIS 3.12. It's not responding to layer_property(@layer_id, 'name'), or [%layer_property( @layer_id, 'name')%] or [%@layer_name%]....
1
vote
0answers
28 views

Loop on table to create Dynamic Layers

I am receiving a table with customer names, group of customers and some data. I need to create dynamically Layers of these groups, then add these customer to these respective groups, then display a ...
3
votes
1answer
235 views

Using Rule-based/Geometry generator style in QGIS

I have layer for comments in qgis, symbology style is rule based with Geometry generator. Problem is with displaying name in layers tab because the line before text is too long How do I solve the ...
4
votes
1answer
75 views

Create Paired images by “Near” date

I have code the retrieve images from sentinel 1 and sentinel 2, calcultes NDVI for sentinel 2 and then pair manually two images that I choose according to their dates. My qiestion is if there is any ...
3
votes
1answer
105 views

Give names to images based on the date

I have a code that calculates NDVI , add the layer and export it. I have another piece of code that I thought that will change the name of each image I have to the date, but for some reason it doesn ...
4
votes
2answers
283 views

Obtaining date data from layer name in QGIS

I have a column with name of the satellites image background (Landsat, Sentinel), in this name I have a date information into the text. How do I extract the date data from this text?
2
votes
1answer
1k views

Layer names changed after reclassification of rasterstack, R

Following one of my previous questions about looping through a rasterstack (here), I now face a different issue. My initial rasterstack had dates as names (e.g. X2000_05_08.1) and I reclassified it in ...
4
votes
1answer
90 views

Store human readable layer name in QGIS style files?

QGIS 2 and 3 as well seem not to store the Layer name (set via Layer Properties | Source | Settings | Layer name or via 'Rename' in the layers context menu) in styles files. I.e. if i have a PostGIS ...