mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Added mapsource XSD.
This commit is contained in:
parent
3171073243
commit
edbfbd5e2d
3
doc.html
3
doc.html
@ -172,6 +172,9 @@
|
|||||||
(lon,lat) as default</b> and if the set uses the reverse order, the <i>axis</i>
|
(lon,lat) as default</b> and if the set uses the reverse order, the <i>axis</i>
|
||||||
attribute must be set to <code>yx</code> in the map definition.</p>
|
attribute must be set to <code>yx</code> in the map definition.</p>
|
||||||
|
|
||||||
|
<p>For the formal mapsource file syntax see the
|
||||||
|
<a href="xsd/map.xsd">mapsource XSD file</a>.</p>
|
||||||
|
|
||||||
<h3 id="offline">Offline maps</h3>
|
<h3 id="offline">Offline maps</h3>
|
||||||
<p>OziExplorer maps, TrekBuddy maps/atlases and GeoTIFF images are supported by
|
<p>OziExplorer maps, TrekBuddy maps/atlases and GeoTIFF images are supported by
|
||||||
GPXSee. Supported map projections are Web Mercator, Transverse Mercator, UTM,
|
GPXSee. Supported map projections are Web Mercator, Transverse Mercator, UTM,
|
||||||
|
53
xsd/map.xsd
Normal file
53
xsd/map.xsd
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||||
|
|
||||||
|
<xs:simpleType name="mapType">
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:enumeration value="TMS"/>
|
||||||
|
<xs:enumeration value="WMTS"/>
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
|
||||||
|
<xs:simpleType name="axisOrderType">
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:enumeration value="xy"/>
|
||||||
|
<xs:enumeration value="yx"/>
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
|
||||||
|
<xs:element name="map">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:all>
|
||||||
|
<xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xs:element name="url" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xs:element name="zoom" minOccurs="0" maxOccurs="1">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:attribute name="min" type="xs:nonNegativeInteger"/>
|
||||||
|
<xs:attribute name="max" type="xs:nonNegativeInteger"/>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="bounds" minOccurs="0" maxOccurs="1">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:attribute name="top" type="xs:decimal"/>
|
||||||
|
<xs:attribute name="bottom" type="xs:decimal"/>
|
||||||
|
<xs:attribute name="left" type="xs:decimal"/>
|
||||||
|
<xs:attribute name="right" type="xs:decimal"/>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="format" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
||||||
|
<xs:element name="layer" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
||||||
|
<xs:element name="style" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
||||||
|
<xs:element name="set" minOccurs="0" maxOccurs="1">
|
||||||
|
<xs:complexType mixed="true">
|
||||||
|
<xs:simpleContent>
|
||||||
|
<xs:extension base="xs:string">
|
||||||
|
<xs:attribute name="axis" type="axisOrderType"/>
|
||||||
|
</xs:extension>
|
||||||
|
</xs:simpleContent>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:all>
|
||||||
|
<xs:attribute name="type" type="mapType" use="optional"/>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:schema>
|
Loading…
Reference in New Issue
Block a user