๐ Advanced Layer Renamer - User Guide
๐ Quick Start
- Select layers you want to rename (or use "Select All")
- Configure your renaming options in the right panel
- Click "Preview Changes" to see what will happen
- Click "Rename Layers" to apply the changes
๐ก Pro Tip: Always preview your changes before renaming to avoid mistakes!
๐ง Main Features
๐ข Numbering Options
- No numbering: Keep original names unchanged
- Sequential: Add simple numbers (1_layername, 2_layername)
- Leading zeros: Add padded numbers (01_layername, 02_layername)
๐ Basic Options
- Prefix/Suffix: Add text before/after layer names
- Find/Replace: Replace specific text in names
- Regex: Use regular expressions for advanced pattern matching
- Case Options:
UPPERCASE: "layer_name" โ "LAYER_NAME"
lowercase: "Layer_Name" โ "layer_name"
Title Case: "layer_name" โ "Layer_Name"
Capitalized: "layer_name" โ "Layer_name"
โ๏ธ Advanced Options
- Date Stamp: Add current date to layer names
- Remove Special Chars: Clean invalid characters
- Clean Whitespace: Remove extra spaces
๐พ Templates Tab
Save your favorite renaming configurations:
- Save Template: Save current settings for future use
- Load Template: Apply saved settings
- Delete Template: Remove unwanted templates
- Quick Templates: Apply common naming conventions
โก Quick Template Examples
- Date Prefix: Adds current date (e.g., "20231201_roads")
- Clean Names: Removes special characters and cleans whitespace
- Project Standard: Uses leading zeros and clean whitespace
โ
Validation Tab
Check for potential naming issues:
- Invalid characters (< > : " / \ | ? *)
- Name length limits
- Empty or whitespace-only names
- Leading/trailing spaces
๐ก Pro Tips
- Always preview before renaming
- Use templates for consistent project naming
- Validate names before sharing projects
- Combine multiple options for complex renaming
- Use regex for advanced pattern matching
๐ Example Workflows
Workflow 1: Standard Project Naming
- Select "Leading zeros" numbering
- Add prefix "ProjectA_"
- Enable "Clean extra whitespace"
- Click "Preview Changes"
- Click "Rename Layers"
Result: "01_ProjectA_roads", "02_ProjectA_rivers"
Workflow 2: Date-Stamped Layers
- Click "๐
Date Prefix" quick template
- Select date format
- Click "Preview Changes"
- Click "Rename Layers"
Result: "20231201_roads", "20231201_rivers"
Workflow 3: Clean Existing Names
- Click "๐งน Clean Names" quick template
- Review preview
- Click "Rename Layers"
Result: Removes special chars and cleans whitespace
โ Troubleshooting
- Nothing happens when clicking buttons: Make sure layers are selected
- Invalid regex error: Check your regular expression syntax
- Names not changing: Verify that your settings actually modify the names
- Templates not saving: Check write permissions in plugin directory
๐ง Support
If you encounter issues or have suggestions, please contact the plugin developer.