Changeset 13536 in josm for trunk/data/maps.xsd


Ignore:
Timestamp:
2018-03-17T17:01:12+01:00 (6 years ago)
Author:
stoecker
Message:

add possibility to change map ids (see #14655), add overlay flag for imagery

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/maps.xsd

    r13284 r13536  
    2020        <!-- exclude white space characters and characters that are not valid for file names in Windows -->
    2121        <xs:restriction base="xs:string">
    22             <xs:pattern value='[^\s/\\:*?"&lt;>|]+' />
     22            <xs:pattern value='[^\s/\\:*?"&lt;>|,;]+' />
    2323        </xs:restriction>
    2424    </xs:simpleType>
     25
     26    <xs:complexType name="oldid">
     27        <xs:simpleContent>
     28            <xs:extension base="tns:id">
     29                <!-- date of the retirement of this ID -->
     30                <xs:attribute name="date" type="xs:date" use="required" />
     31            </xs:extension>
     32        </xs:simpleContent>
     33    </xs:complexType>
    2534
    2635    <xs:simpleType name="type">
     
    623632                            <!-- A unique id for the imagery source -->
    624633                            <xs:element name="id" minOccurs="0" maxOccurs="1" type="tns:id" />
     634                            <!-- Historic id for the imagery source -->
     635                            <xs:element name="oldid" minOccurs="0" maxOccurs="unbounded" type="tns:oldid" />
    625636                            <!-- The type. Can be tms, wms and html. In addition, there are the special types bing and scanex
    626637                                with hardcoded behaviour. -->
     
    666677                                    <xs:all>
    667678                                        <xs:element name="type" minOccurs="1" maxOccurs="1" type="tns:type" />
     679                                        <xs:element name="id" minOccurs="0" maxOccurs="1" type="tns:id" />
    668680                                        <xs:element name="url" minOccurs="1" maxOccurs="1" type="xs:string" />
    669681                                        <xs:element name="projections" minOccurs="0" maxOccurs="1" type="tns:projections" />
     
    707719                    <xs:attribute name="last-check" type="xs:date" use="optional" />
    708720                    <xs:attribute name="eli-best" type="xs:boolean" use="optional" />
     721                    <xs:attribute name="overlay" type="xs:boolean" use="optional" />
    709722                </xs:complexType>
    710723            </xs:element>
Note: See TracChangeset for help on using the changeset viewer.