mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Added WMTS maps info
This commit is contained in:
parent
6ee230e38d
commit
14f1fc6e7d
47
doc.html
47
doc.html
@ -98,6 +98,7 @@
|
|||||||
may contain an arbitrary directory structure.</p>
|
may contain an arbitrary directory structure.</p>
|
||||||
|
|
||||||
<h3 id="online">Online maps</h3>
|
<h3 id="online">Online maps</h3>
|
||||||
|
<h4 id="TS">OSM/Google tiles</h4>
|
||||||
<p>GPXSee supports most tile server based online maps out there, but the
|
<p>GPXSee supports most tile server based online maps out there, but the
|
||||||
<a href="https://github.com/tumic0/GPXSee/tree/master/pkg/maps">list
|
<a href="https://github.com/tumic0/GPXSee/tree/master/pkg/maps">list
|
||||||
of maps</a> distributed with the official packages is limited to those
|
of maps</a> distributed with the official packages is limited to those
|
||||||
@ -125,6 +126,52 @@
|
|||||||
default zoom range is <0, 19> and the default bounds are
|
default zoom range is <0, 19> and the default bounds are
|
||||||
<-85.0511, 85.0511> and <-180, 180>.</p>
|
<-85.0511, 85.0511> and <-180, 180>.</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
|
||||||
|
are supported.</p>
|
||||||
|
|
||||||
|
<p>For KVP, the <i>url</i> element represents the WMTS base URL and three
|
||||||
|
additional elements are required - <i>layer</i>, <i>style</i> and <i>set</i>
|
||||||
|
(TileMatrixSet in WMTS). An optional <i>format</i> element may be specified
|
||||||
|
defining the desired image format. If not set, <code>image/png</code> is
|
||||||
|
used.</p>
|
||||||
|
|
||||||
|
<pre>
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<map type="WMTS">
|
||||||
|
<name>CUZK</name>
|
||||||
|
<url>http://geoportal.cuzk.cz/WMTS_ZM_900913/WMTService.aspx</url>
|
||||||
|
<format>image/png</format>
|
||||||
|
<layer>zm</layer>
|
||||||
|
<style>default</style>
|
||||||
|
<set axis="yx">ogc:1.0:globalcrs84pixel</set>
|
||||||
|
</map>
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
<p>For REST access, the <i>url</i> element's <i>type</i> attribute must be set
|
||||||
|
to <code>REST</code>. The URL then represents the URL of the capabilities XML
|
||||||
|
document. The three mandatory elements - <i>layer</i>, <i>style</i> and
|
||||||
|
<i>set</i> - must be present like in the KVP case. Defining the format has no
|
||||||
|
relevance for the REST access method.</p>
|
||||||
|
|
||||||
|
<pre>
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<map type="WMTS">
|
||||||
|
<name>Wien - Ortho</name>
|
||||||
|
<url type="REST">http://maps1.wien.gv.at/wmts/1.0.0/WMTSCapabilities.xml</url>
|
||||||
|
<layer>lb</layer>
|
||||||
|
<style>farbe</style>
|
||||||
|
<set>google3857</set>
|
||||||
|
</map>
|
||||||
|
</pre>
|
||||||
|
<p>There is one more important attribute - the <i>axis</i> attribute of the
|
||||||
|
<i>set</i> element. It specifies the axis order for the CRS used for the
|
||||||
|
tile matrix set. Technically the order should be obtainable from the CRS definition,
|
||||||
|
but in praxis many servers use the wrong order. This is why GPXSee uses <b>x,y
|
||||||
|
(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>
|
||||||
|
|
||||||
<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,
|
||||||
|
@ -86,7 +86,7 @@
|
|||||||
|
|
||||||
<h3>Key features</h3>
|
<h3>Key features</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li>User-definable online maps.</li>
|
<li>User-definable online maps (OSM/Google tiles, WMTS).</li>
|
||||||
<li>Offline maps (OziExplorer maps, TrekBuddy maps/atlases, GeoTIFF images).</li>
|
<li>Offline maps (OziExplorer maps, TrekBuddy maps/atlases, GeoTIFF images).</li>
|
||||||
<li>Elevation, speed, heart rate, cadence, power and temperature graphs.</li>
|
<li>Elevation, speed, heart rate, cadence, power and temperature graphs.</li>
|
||||||
<li>Support for multiple tracks in one view.</li>
|
<li>Support for multiple tracks in one view.</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user