1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +01:00

Added version 7.8 info

+ map v1.4 xsd
This commit is contained in:
Martin Tůma 2019-05-30 01:11:01 +02:00
parent 2ba02df9e2
commit a0aa0b1cb0
4 changed files with 164 additions and 19 deletions

View File

@ -117,7 +117,7 @@
<h3 id="online">Online maps</h3>
<p>Online maps are represented by map source definition XML files. For the formal
map source file syntax see the <a href="map/1.3/map.xsd">map source
map source file syntax see the <a href="map/1.4/map.xsd">map source
XSD file</a>. The paragraphs below are a "human-readable" summary of the XSD
syntax/semantics divided by map type.</p>
@ -130,7 +130,7 @@
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;map xmlns="http://www.gpxsee.org/map/1.3" type="OSM"&gt;
&lt;map xmlns="http://www.gpxsee.org/map/1.4" type="OSM"&gt;
&lt;name&gt;USGS Imagery&lt;/name&gt;
&lt;url&gt;https://navigator.er.usgs.gov/tiles/aerial_Imagery.cgi/$z/$x/$y&lt;/url&gt;
&lt;zoom min="2" max="15"/&gt;
@ -149,7 +149,7 @@
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;map xmlns="http://www.gpxsee.org/map/1.3"&gt;
&lt;map xmlns="http://www.gpxsee.org/map/1.4"&gt;
&lt;name&gt;OSM - HiDPI&lt;/name&gt;
&lt;url&gt;https://a.osm.rrze.fau.de/osmhd/$z/$x/$y.png&lt;/url&gt;
&lt;tile pixelRatio="2"&gt;
@ -163,7 +163,7 @@
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;map xmlns="http://www.gpxsee.org/map/1.3"&gt;
&lt;map xmlns="http://www.gpxsee.org/map/1.4"&gt;
&lt;name>MapTiler&lt;/name&gt;
&lt;url>https://maps.tilehosting.com/data/v3/$z/$x/$y.pbf?key=apikey&lt;/url>
&lt;tile type="vector"/&gt;
@ -179,6 +179,11 @@
of OSM maps, the only difference is that TMS maps must have the <i>map</i>
<i>type</i> attribute set to <code>TMS</code>.</p>
<h4 id="QuadTiles">QuadTiles</h4>
<p>QuadTiles (BING) maps - another variation of the OSM/Google tiles maps - are also
supported by GPXSee. Use <code>QuadTiles</code> as the <i>map</i> <i>type</i>
attribute and <code>$quadkey</code> as the quadkey placeholder in the URL.</p>
<h4 id="WMTS">WMTS</h4>
<p>WMTS maps are distinguished by setting the <i>type</i> attribute of the
<i>map</i> element to <code>WMTS</code>. Both the KVP and REST access methods
@ -193,7 +198,7 @@
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;map xmlns="http://www.gpxsee.org/map/1.3" type="WMTS"&gt;
&lt;map xmlns="http://www.gpxsee.org/map/1.4" type="WMTS"&gt;
&lt;name&gt;CUZK&lt;/name&gt;
&lt;url&gt;http://geoportal.cuzk.cz/WMTS_ZM_900913/WMTService.aspx&lt;/url&gt;
&lt;layer&gt;zm&lt;/layer&gt;
@ -207,7 +212,7 @@
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;map xmlns="http://www.gpxsee.org/map/1.3" type="WMTS"&gt;
&lt;map xmlns="http://www.gpxsee.org/map/1.4" type="WMTS"&gt;
&lt;name&gt;Wien - Ortho&lt;/name&gt;
&lt;url type="REST"&gt;http://maps1.wien.gv.at/wmts/1.0.0/WMTSCapabilities.xml&lt;/url&gt;
&lt;layer&gt;lb&lt;/layer&gt;
@ -245,7 +250,7 @@
<pre>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;map xmlns="http://www.gpxsee.org/map/1.3" type="WMS"&gt;
&lt;map xmlns="http://www.gpxsee.org/map/1.4" type="WMS"&gt;
&lt;name&gt;Katastr nemovitostí&lt;/name&gt;
&lt;url&gt;http://services.cuzk.cz/wms/wms.asp&lt;/url&gt;
&lt;layer&gt;polygony_parcel,polygony_budov,polygony_k_u&lt;/layer&gt;

View File

@ -153,6 +153,17 @@
<div id="sidebar">
<div class="latest-news">
<h3>Releases</h3>
<div class="news-item">
<p class="date">May 30 2019</p>
<h4>Version 7.8</h4>
<ul>
<li>Added support for QuadTiles maps.</li>
<li>Added (optional) km/mi path markers. </li>
<li>Fixed broken IMG maps after print/PDF export.</li>
<li>Fixed broken zoom fit on IMG maps.</li>
<li>Fixed broken WMS scale denominators to zoom levels transition.</li>
</ul>
</div>
<div class="news-item">
<p class="date">May 16 2019</p>
<h4>Version 7.7</h4>
@ -189,18 +200,6 @@
<li>Fixed IGC date handling issues.</li>
</ul>
</div>
<div class="news-item">
<p class="date">Feb 18 2019</p>
<h4>Version 7.3</h4>
<ul>
<li>Added support for area (polygon) objects.</li>
<li>Added support for track segments.</li>
<li>Added support for oblique stereographic projections.</li>
<li>Added the "Show cursor coordinates" option.</li>
<li>Added Portuguese (Brazil) localization.</li>
<li>Minor bug fixes (GPX parser, GUI).</li>
</ul>
</div>
</div>
<div id="changelog-link">
<a href="https://build.opensuse.org/package/view_file/home:tumic:GPXSee/gpxsee/gpxsee.changes">Full changelog</a>

26
map/1.4/index.html Normal file
View File

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Map version 1.4 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.4 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.4/map.xsd">XSD
file</a>.</p>
<p>Changes since 1.3:</p>
<ul>
<li>Added the <code>QuadTile</code> map type.</li>
</ul>
</body>
</html>

115
map/1.4/map.xsd Normal file
View File

@ -0,0 +1,115 @@
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.gpxsee.org/map/1.4"
xmlns="http://www.gpxsee.org/map/1.4"
elementFormDefault="qualified">
<xs:simpleType name="mapType">
<xs:restriction base="xs:string">
<xs:enumeration value="OSM"/>
<xs:enumeration value="WMTS"/>
<xs:enumeration value="WMS"/>
<xs:enumeration value="TMS"/>
<xs:enumeration value="QuadTiles"/>
</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:simpleType name="tileType">
<xs:restriction base="xs:string">
<xs:enumeration value="raster"/>
<xs:enumeration value="vector"/>
</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="tile" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="size" type="xs:nonNegativeInteger"/>
<xs:attribute name="pixelRatio" type="xs:decimal"/>
<xs:attribute name="type" type="tileType"/>
</xs:complexType>
</xs:element>
<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="copyright" type="xs:string" minOccurs="0" maxOccurs="1"/>
<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>