source: josm/trunk/data_nodist/wms-cache.xsd@ 5303

Last change on this file since 5303 was 4183, checked in by stoecker, 13 years ago

fix #6432 - projection handling for TMS and WMS

  • Property svn:mime-type set to text/plain
File size: 1.9 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://josm.openstreetmap.de/wms-cache"
3 xmlns:tns="http://josm.openstreetmap.de/wms-cache" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5 xsi:schemaLocation="http://java.sun.com/xml/ns/jaxb http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd"
6 elementFormDefault="qualified" jaxb:version="2.0">
7
8 <annotation>
9 <appinfo>
10 <jaxb:schemaBindings>
11 <jaxb:package name="org.openstreetmap.josm.data.imagery.types">
12 </jaxb:package>
13 <jaxb:nameXmlTransform>
14 <jaxb:typeName suffix="Type" />
15 <jaxb:elementName suffix="Type" />
16 </jaxb:nameXmlTransform>
17 </jaxb:schemaBindings>
18 <jaxb:globalBindings>
19 <jaxb:javaType name="java.util.Calendar" xmlType="date"
20 parseMethod="javax.xml.bind.DatatypeConverter.parseDate"
21 printMethod="org.openstreetmap.josm.data.imagery.WmsCache.printDate" />
22 </jaxb:globalBindings>
23 </appinfo>
24 </annotation>
25
26 <element name="wms-cache">
27 <complexType>
28 <sequence>
29 <element name="projection" type="tns:projection" minOccurs="0"
30 maxOccurs="unbounded" />
31 </sequence>
32 <attribute name="tileSize" type="int" use="required" />
33 <attribute name="totalFileSize" type="int" use="required"/>
34 </complexType>
35 </element>
36
37 <complexType name="projection">
38 <sequence>
39 <element name="entry" type="tns:entry" minOccurs="0" maxOccurs="unbounded"/>
40 </sequence>
41 <attribute name="name" type="string"/>
42 <attribute name="cache-directory" type="string"/>
43 </complexType>
44
45 <complexType name="entry">
46 <sequence>
47 <element name="pixelPerDegree" type="double" />
48 <element name="east" type="double" />
49 <element name="north" type="double" />
50 <element name="lastUsed" type="date" />
51 <element name="lastModified" type="date" />
52 <element name="filename" type="string" />
53 </sequence>
54 </complexType>
55</schema>
Note: See TracBrowser for help on using the repository browser.