Point Renaming
Overview
This dialog can be found in ‘Menu-Projects-Point Renaming’. Its main purpose is to systematically rename points to a user defined scheme. Placeholder can be used to dynamically insert indices, time values, etc.
General Placeholder
placeholder | replacement |
---|---|
%i |
overall enumeration index |
%g 1 |
group enumeration index (index within same route/track) |
%t 2 |
type enumeration index (index within same category of waypoints/routepoints/trackpoints) |
%G |
group item name (route name, track name) |
%n |
old name |
%c |
old comment |
%p |
type dependent prefix |
%e |
elevation (meter) |
%E |
elevation (feet) |
%x(format) |
longitude(x); format: See Longitude Latitude Format Placeholder |
%y(format) |
latitude(y); format: See Longitude Latitude Format Placeholder |
%d(format) |
current date/time; format: See Date and Time Format Placeholder |
%D(format) |
date/time from point data; format: See Date and Time Format Placeholder |
%% |
Percent sign |
The general placeholders can be preceded by a numerical length specifier:
%3i
Aligns the overall enumeration index to 3 digits (001, 002, …, 012, …)%i
No alignment (1, 2, …, 12, …)
Longitude Latitude Format Placeholder
placeholder | replacement |
---|---|
%H |
hemisphere - single character of N ,S ,E ,W |
%C |
integer co-ordinate, negative or positive |
%c |
decimal co-ordinate, the entire co-ordinate, negative or positive |
%p |
%c with automatic decimal precision |
%D |
integer degrees, always positive |
%M |
integer minutes, always positive |
%S |
integer seconds, always positive, rounded |
%d |
decimal degrees, always positive |
%m |
decimal minutes, always positive |
%s |
decimal seconds, always positive |
%G |
World Geographic Reference System (GEOREF) |
%U |
Universal Transverse Mercator (UTM) |
%Z |
empty |
%% |
Percent sign |
Examples:
x(%c) y(%c)
formats to “13.413056 52.521944” (lon,lat)x(%U)
formats to “33U 392331E 5820276N” (UTM)
Date and Time Format Placeholder
placeholder | replacement |
---|---|
%a |
Abbreviated weekday name in the locale |
%A |
Full weekday name in the locale |
%b |
Abbreviated month name in the locale |
%B |
Full month name in the locale |
%c |
Date and time representation appropriate for locale |
%C |
The year divided by 100 and truncated to an integer, as a decimal number (00−99) |
%d |
Day of month as a decimal number (01 - 31) |
%D |
Equivalent to %m/%d/%y |
%e |
Day of month as a decimal number (1 - 31), where single digits are preceded by a space |
%F |
Equivalent to %Y-%m-%d |
%g |
The last 2 digits of the ISO 8601 week-based year as a decimal number (00 - 99) |
%G |
The ISO 8601 week-based year as a decimal number |
%h |
Abbreviated month name (equivalent to %b) |
%H |
Hour in 24-hour format (00 - 23) |
%I |
Hour in 12-hour format (01 - 12) |
%j |
Day of the year as a decimal number (001 - 366) |
%m |
Month as a decimal number (01 - 12) |
%M |
Minute as a decimal number (00 - 59) |
%n |
A newline character (\n) |
%p |
The locale’s A.M./P.M. indicator for 12-hour clock |
%r |
The locale’s 12-hour clock time |
%R |
Equivalent to %H:%M |
%S |
Second as a decimal number (00 - 59) |
%t |
A horizontal tab character (\t) |
%T |
Equivalent to %H:%M:%S, the ISO 8601 time format |
%u |
ISO 8601 weekday as a decimal number (1 - 7; Monday is 1) |
%U |
Week number of the year as a decimal number (00 - 53), where the first Sunday is the first day of week 1 |
%V |
ISO 8601 week number as a decimal number (00 - 53) |
%w |
Weekday as a decimal number (0 - 6; Sunday is 0) |
%W |
Week number of the year as a decimal number (00 - 53), where the first Monday is the first day of week 1 |
%x |
Date representation for the locale |
%X |
Time representation for the locale |
%y |
Year without century, as decimal number (00 - 99) |
%Y |
Year with century, as decimal number |
%z |
The offset from UTC in ISO 8601 format; no characters if time zone is unknown |
%Z |
Either the locale’s time-zone name or time zone abbreviation, depending on registry settings; no characters if time zone is unknown |
%% |
Percent sign |
The #
flag may prefix any formatting code. In that case, the meaning of the format code is changed as follows.
placeholder | replacement |
---|---|
%#a , %#A , %#b , %#B , %#g , %#G , %#h , %#n , %#p , %#t , %#u , %#w , %#X , %#z , %#Z , %#% |
# flag is ignored. |
%#c |
Long date and time representation, appropriate for the locale. For example: “Tuesday, March 14, 1995, 12:41:29”. |
%#x |
Long date representation, appropriate to the locale. For example: “Tuesday, March 14, 1995”. |
%#d , %#D , %#e , %#F , %#H , %#I , %#j , %#m , %#M , %#r , %#R , %#S , %#T , %#U , %#V , %#W , %#y , %#Y |
Remove leading zeros or spaces (if any). |
Examples:
%d(%H:%M:%S)
formats to “13:24:11”%d(%#c)
formats to “Tuesday, March 14, 1995, 12:41:29”
-
The group enumeration index is not available when renaming points in the waypoints pane. ↩︎
-
The type enumeration index is not available when renaming points in the waypoints pane. ↩︎