Modify

Opened 16 years ago

Closed 14 years ago

Last modified 12 years ago

#1877 closed enhancement (fixed)

Update Presets file format

Reported by: stoecker Owned by: framm
Priority: minor Milestone:
Component: Internal preset Version:
Keywords: presets Cc:

Description

Reworking of presets file form as discussed in merkaartor mailinglist under the topic "Templatized tagging committed".

a)
Change

       <label text="Edit a Motorway" />
       <label text=" " />
       ...
       <label text="Optional Attributes:" />
       <label text=" " />
       ...

into

  <description text="Edit a Motorway" />
  ...
  <optional>
    ...
  </optional>

b) Allow conditions and change combo boxes:

   <item name="Muslim mosque" condition="[religion] is muslim">

   <item name="Place of worship">
      <choice key="religion">
        <element value="christian">
        <element value="muslim">
      </choice>
      <choice key="denomination">
        <element condition="[religion] is muslim" value="shia">
        <element condition="[religion] is christian" value="protestant">
      </choice>
   </item>

c) Allow include:

i.e. <define name="xxx" mode="set">...</define>
and later use <define name="xxx" mode="get"/>
(or something alike) to prevent repeating information.

d) add a <link> tag to supply link's to the MapFeatures page.

Attachments (0)

Change History (5)

comment:1 by anonymous, 16 years ago

Component: unspecifiedCore
Keywords: presets added
Owner: changed from framm to ce

d) is resolved with r1319

Last edited 12 years ago by Don-vip (previous) (diff)

comment:2 by anonymous, 16 years ago

a) <optional> of a is included as well.

comment:3 by anonymous, 16 years ago

See also #1552.

comment:4 by stoecker, 16 years ago

Owner: changed from ce to framm

comment:5 by stoecker, 14 years ago

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.