mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
XSD fix
+ description HTML updates/markup fixes.
This commit is contained in:
parent
b6a68a7a54
commit
bf58ae296b
21
map/1.0/index.html
Normal file
21
map/1.0/index.html
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<title>Map version 1.0 XML file format</title>
|
||||||
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
max-width: 50em;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<h1>Map version 1.0 XML file format</h1>
|
||||||
|
<p>For human-readable Map format description, see the
|
||||||
|
<a href="http://www.gpxsee.org/doc#online">GPXSee documentation page</a>, for
|
||||||
|
XML validation use the <a href="http://www.gpxsee.org/map/1.0/map.xsd">XSD
|
||||||
|
file</a>.</p>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
99
map/1.0/map.xsd
Normal file
99
map/1.0/map.xsd
Normal file
@ -0,0 +1,99 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||||
|
targetNamespace="http://www.gpxsee.org/map/1.0"
|
||||||
|
xmlns="http://www.gpxsee.org/map/1.0"
|
||||||
|
elementFormDefault="qualified">
|
||||||
|
|
||||||
|
<xs:simpleType name="mapType">
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:enumeration value="OSM"/>
|
||||||
|
<xs:enumeration value="WMTS"/>
|
||||||
|
<xs:enumeration value="WMS"/>
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
|
||||||
|
<xs:simpleType name="urlType">
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:enumeration value="REST"/>
|
||||||
|
<xs:enumeration value="KVP"/>
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
|
||||||
|
<xs:simpleType name="axisOrder">
|
||||||
|
<xs:restriction base="xs:string">
|
||||||
|
<xs:enumeration value="xy"/>
|
||||||
|
<xs:enumeration value="yx"/>
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
|
||||||
|
<xs:element name="map">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
||||||
|
<xs:element name="url" minOccurs="1" maxOccurs="1">
|
||||||
|
<xs:complexType mixed="true">
|
||||||
|
<xs:simpleContent>
|
||||||
|
<xs:extension base="xs:string">
|
||||||
|
<xs:attribute name="type" type="urlType"/>
|
||||||
|
</xs:extension>
|
||||||
|
</xs:simpleContent>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="copyright" type="xs:string" minOccurs="0" 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="crs" minOccurs="0" maxOccurs="1">
|
||||||
|
<xs:complexType mixed="true">
|
||||||
|
<xs:simpleContent>
|
||||||
|
<xs:extension base="xs:string">
|
||||||
|
<xs:attribute name="axis" type="axisOrder"/>
|
||||||
|
</xs:extension>
|
||||||
|
</xs:simpleContent>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="set" minOccurs="0" maxOccurs="1">
|
||||||
|
<xs:complexType mixed="true">
|
||||||
|
<xs:simpleContent>
|
||||||
|
<xs:extension base="xs:string">
|
||||||
|
<xs:attribute name="axis" type="axisOrder"/>
|
||||||
|
</xs:extension>
|
||||||
|
</xs:simpleContent>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="dimension" minOccurs="0" maxOccurs="unbounded">
|
||||||
|
<xs:complexType mixed="true">
|
||||||
|
<xs:simpleContent>
|
||||||
|
<xs:extension base="xs:string">
|
||||||
|
<xs:attribute name="id" type="xs:string" use="required"/>
|
||||||
|
</xs:extension>
|
||||||
|
</xs:simpleContent>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
<xs:element name="authorization" minOccurs="0" maxOccurs="1">
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:attribute name="username" type="xs:string" use="required"/>
|
||||||
|
<xs:attribute name="password" type="xs:string" use="required"/>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
</xs:sequence>
|
||||||
|
|
||||||
|
<xs:attribute name="type" type="mapType" use="optional"/>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
|
||||||
|
</xs:schema>
|
@ -3,6 +3,11 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>Map version 1.1 XML file format</title>
|
<title>Map version 1.1 XML file format</title>
|
||||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
max-width: 50em;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
@ -10,7 +15,7 @@
|
|||||||
<p>For human-readable Map format description, see the
|
<p>For human-readable Map format description, see the
|
||||||
<a href="http://www.gpxsee.org/doc#online">GPXSee documentation page</a>, for
|
<a href="http://www.gpxsee.org/doc#online">GPXSee documentation page</a>, for
|
||||||
XML validation use the <a href="http://www.gpxsee.org/map/1.1/map.xsd">XSD
|
XML validation use the <a href="http://www.gpxsee.org/map/1.1/map.xsd">XSD
|
||||||
file</a>.
|
file</a>.</p>
|
||||||
|
|
||||||
<p>Changes since 1.0:</p>
|
<p>Changes since 1.0:</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -3,6 +3,11 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>Map version 1.2 XML file format</title>
|
<title>Map version 1.2 XML file format</title>
|
||||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
max-width: 50em;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
@ -10,7 +15,7 @@
|
|||||||
<p>For human-readable Map format description, see the
|
<p>For human-readable Map format description, see the
|
||||||
<a href="http://www.gpxsee.org/doc#online">GPXSee documentation page</a>, for
|
<a href="http://www.gpxsee.org/doc#online">GPXSee documentation page</a>, for
|
||||||
XML validation use the <a href="http://www.gpxsee.org/map/1.2/map.xsd">XSD
|
XML validation use the <a href="http://www.gpxsee.org/map/1.2/map.xsd">XSD
|
||||||
file</a>.
|
file</a>.</p>
|
||||||
|
|
||||||
<p>Changes since 1.1:</p>
|
<p>Changes since 1.1:</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -3,6 +3,11 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>Map version 1.0 XML file format</title>
|
<title>Map version 1.0 XML file format</title>
|
||||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
max-width: 50em;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
@ -10,7 +15,13 @@
|
|||||||
<p>For human-readable Map format description, see the
|
<p>For human-readable Map format description, see the
|
||||||
<a href="http://www.gpxsee.org/doc#online">GPXSee documentation page</a>, for
|
<a href="http://www.gpxsee.org/doc#online">GPXSee documentation page</a>, for
|
||||||
XML validation use the <a href="http://www.gpxsee.org/map/1/map.xsd">XSD
|
XML validation use the <a href="http://www.gpxsee.org/map/1/map.xsd">XSD
|
||||||
file</a>.
|
file</a><sup>1</sup>.</p>
|
||||||
|
|
||||||
|
<p><i>1. Two XSDs exist for the 1.0 file format. They are content-identical and
|
||||||
|
differ only in the xmlns URI. This file refers the obsolete
|
||||||
|
<code>http://www.gpxsee.org/map/1</code> xmlns. Use the replacing
|
||||||
|
<code>http://www.gpxsee.org/map/1.0</code> xmlns with the corresponding
|
||||||
|
<a href="http://www.gpxsee.org/map/1.0/map.xsd">XSD</a> wherever possible.<i></p>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||||
targetNamespace="http://www.gpxsee.org/map/1.0"
|
targetNamespace="http://www.gpxsee.org/map/1"
|
||||||
xmlns="http://www.gpxsee.org/map/1.0"
|
xmlns="http://www.gpxsee.org/map/1"
|
||||||
elementFormDefault="qualified">
|
elementFormDefault="qualified">
|
||||||
|
|
||||||
<xs:simpleType name="mapType">
|
<xs:simpleType name="mapType">
|
||||||
|
Loading…
Reference in New Issue
Block a user