Modify

Ticket #36 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

Allow optional tags in annotation presets

Reported by: tom@… Owned by: imi
Priority: minor Component: unspecified
Version: latest Keywords:
Cc:

Description

At the moment all tags listed in an annotation preset are added, even if no value is supplied. I would like to be able to indicate that a tag is optional and should not be added if no value is supplied.

This would be useful for things like a "Road" preset which could have space for both a name and a number and only add those ones which I am able to supply (if any).

Attachments

Change History

comment:1 Changed 6 years ago by imi

would it be a good idea if I never add the tag if the value is empty?

comment:2 Changed 6 years ago by imi

  • Status changed from new to closed
  • Resolution set to fixed

use the new attribute delete_if_empty="1" for <text> or <combo>. This key entries, which are left empty.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.