Changes between Initial Version and Version 1 of Presets/Community_Centre


Ignore:
Timestamp:
2017-09-07T21:39:38+02:00 (9 years ago)
Author:
Polarbear-j
Comment:

create Community Centre Preset with subtypes

Legend:

Unmodified
Added
Removed
Modified
  • Presets/Community_Centre

    v1 v1  
     1{{{
     2#!preset
     3<?xml version="1.0" encoding="UTF-8"?>
     4<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0"
     5author="Polarbear-j"
     6version="1.[[revision]]_[[date]]"
     7description="Community Centre Preset"
     8shortdescription="Community Centre Preset"
     9
     10de.description="Gemeinschaftszentren Vorlage"
     11de.shortdescription="Gemeinschaftszentren Vorlage"
     12
     13fr.description="Modèle des établissements public"
     14fr.shortdescription="Modèle des établissements public">
     15
     16<!-- chunks copied from defaultpresets.xml -->
     17    <chunk id="oh">
     18        <combo key="opening_hours" text="Opening Hours" delimiter="|" values="24/7|08:30-12:30,15:30-20:00|Sa-Su 00:00-24:00|Mo-Fr 08:30-20:00; Sa,Su 08:00-15:00; PH off|Mo-Fr 08:30-20:00, Tu-Su 08:00-15:00; Sa 08:00-12:00|Mo-Su 08:00-18:00; Apr 10-15 off; Jun 08:00-14:00; Aug off; Dec 25 off|sunrise-sunset|Su 10:00+|week 01-53/2 Fr 09:00-12:00; week 02-52/2 We 09:00-12:00" values_no_i18n="true" />
     19    </chunk>
     20    <chunk id="wheelchair">
     21        <combo key="wheelchair" text="Wheelchairs" values="yes,limited,no" />
     22    </chunk>
     23    <chunk id="name_operator">
     24        <text key="name" text="Name" />
     25        <text key="operator" text="Operator" />
     26    </chunk>
     27    <chunk id="oh_wheelchair">
     28        <reference ref="oh" />
     29        <reference ref="wheelchair" />
     30    </chunk>
     31    <chunk id="name_operator_oh_wheelchair">
     32        <reference ref="name_operator" />
     33        <reference ref="oh_wheelchair" />
     34    </chunk>
     35  <chunk id="link_contact_address">
     36    <preset_link preset_name="Contact (Common Schema)" />
     37    <preset_link preset_name="Address" />
     38  </chunk>
     39<!-- end of chunks copied from defaultpresets.xml -->
     40
     41<!-- chunks modified from defaultpresets.xml -->
     42    <chunk id="religious_without_name">
     43        <!--text key="name" text="Name" /-->
     44        <combo key="religion" text="Religion" values="bahai,buddhist,christian,hindu,jain,jewish,muslim,shinto,sikh,spiritualist,taoist,unitarian,zoroastrian" />
     45        <combo key="denomination" text="Denomination" values="anglican,baptist,catholic,evangelical,greek_catholic,jehovahs_witness,lutheran,methodist,mormon,old_catholic,orthodox,pentecostal,presbyterian,protestant,quaker,roman_catholic,shia,sunni" />
     46    </chunk>
     47<!-- end of chunks modified from defaultpresets.xml -->
     48
     49        <item name="Community Centre" icon="presets/service/community_centre.svg" type="node,closedway,multipolygon" preset_name_label="true">
     50            <link href="http://wiki.openstreetmap.org/wiki/Tag:amenity=community_centre"
     51                  cs.href="http://wiki.openstreetmap.org/wiki/Cs:Tag:amenity=community_centre"
     52                  da.href="http://wiki.openstreetmap.org/wiki/Da:Tag:amenity=community_centre"
     53                  de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:amenity=community_centre"
     54                  es.href="http://wiki.openstreetmap.org/wiki/ES:Tag:amenity=community_centre"
     55                  fr.href="http://wiki.openstreetmap.org/wiki/FR:Tag:amenity=community_centre"
     56                  ja.href="http://wiki.openstreetmap.org/wiki/JA:Tag:amenity=community_centre"
     57                  pt.href="http://wiki.openstreetmap.org/wiki/Pt:Tag:amenity=community_centre"
     58                  ru.href="http://wiki.openstreetmap.org/wiki/RU:Tag:amenity=community_centre" />
     59            <space />
     60            <key key="amenity" value="community_centre" />
     61
     62            <combo key="community_centre" text="Centre type" values="village_hall,community_hall,parish_hall,youth_centre,family_centre,family_centre,language_centre,meeting_room,events_venue,club_home" values_searchable="true" />
     63            <combo key="community_centre:for" text="Target group" values="senior,child,juvenile,child;juvenile,family,athlete,religious,homosexual,multigeneration,disabled,immigrant" values_searchable="true" />
     64
     65            <reference ref="name_operator_oh_wheelchair" />
     66            <space />
     67            <label text="For religious communities:" />
     68            <reference ref="religious_without_name" />
     69            <space />
     70            <reference ref="link_contact_address" />
     71            <preset_link preset_name="Building" />
     72        </item> <!-- Community Centre -->
     73
     74</presets>
     75
     76}}}